Search

Found: 20

Analytic geometry

The Dot Product from Scratch

Projection onto a chosen direction Imagine taking a step a = (3, 1). We move three units to the right and one unit up. If we want to know how far we moved to the right, the answer is 3. If we want to know how far we moved up, the answer is 1. The coordinates o

DSP

Full Discrete-Time Convolution of Finite Sequences

In the previous article we derived the discrete-time convolution formula from linearity and time invariance. Here we will use it to convolve finite sequences. We will find the output length, see how samples overlap, derive the summation bounds, and work throug

DSP

Discrete-Time Convolution: Derivation and Worked Examples

In the previous article we examined linearity, time invariance, and the addition of impulse responses. We will now derive a formula that relates the input signal, the impulse response, and the complete output of an LTI system. This operation is called convolut

Docker

How to Diagnose and Safely Reclaim Disk Space Used by Docker

Contents Docker stores images, containers, volumes, and build cache. BuildKit's intermediate layers speed up repeat builds but accumulate over time. This article covers diagnosis and selective cleanup. All numbers and command output are an illustrative snapsho

C++

Non-Type Template Parameters in C++

Contents What Is a Non-Type Template Parameter? A non-type template parameter (NTTP) lets you pass a value known at compile time to a template: for example, an array size, a numeric constant, or a pointer to an object or function. Such a parameter is declared

Ubuntu

Setting Up SSH on Ubuntu

In this guide, we will install OpenSSH Server on Ubuntu, determine the server address, configure password and SSH key authentication, and then safely disable password-based login. ssh Contents 1. Installing the SSH server On Ubuntu, the SSH server is provided

C++Programming

CTAD and deduction guides in C++

Contents From Explicit Template Arguments to CTAD Before C++17, class template arguments usually had to be specified explicitly: Stack<int> stack; Since C++17, the compiler can often deduce these arguments from an initializer: Stack stack{42}; // Stack<int> Th

C++Programming

Default Class Template Arguments and Type Aliases

Contents In brief: default template arguments let you omit parameters that are used repeatedly, while type aliases shorten long type names. Default arguments are subject to declaration-order and redeclaration rules, dependent types generally require typename,