Learn Before
Definition

Convolution

In mathematics, a convolution measures the overlap between two functions when one is flipped and shifted. For continuous functions, such as f,g:RdoRf, g: \mathbb{R}^d o \mathbb{R}, it is defined by the integral: (fg)(x)=f(z)g(xz)dz(f * g)(\mathbf{x}) = \int f(\mathbf{z}) g(\mathbf{x}-\mathbf{z}) d\mathbf{z} For discrete sequences over Z\mathbb{Z}, the integral becomes a sum. The one-dimensional discrete convolution of functions ff and gg is: (fg)(i)=af(a)g(ia)(f * g)(i) = \sum_a f(a) g(i-a) In signal processing, this operation connects an input signal x[n]x[n] and an impulse response h[n]h[n] to produce an output (xh)[n]=k=+x[k]h[nk](x * h)[n] = \sum_{k=-\infty}^{+\infty} x[k] h[n-k], with bounded summation for finite-length signals.

0

1

Updated 2026-05-09

Tags

Python Programming Language

Data Science

D2L

Dive into Deep Learning @ D2L