convolve
Convolve is a mathematical operation that blends two functions to produce a third. For continuous signals, the convolution of f and g is defined as (f*g)(t) = ∫_{-∞}^{∞} f(τ) g(t−τ) dτ. For discrete signals, (f*g)[n] = ∑_{k=-∞}^{∞} f[k] g[n−k]. In both cases, the integral or sum is interpreted as sliding one function across the other and integrating or summing the product at each position. The term convolve comes from Latin convolvere, meaning to roll together.
Convolution arises naturally in linear time-invariant systems, where the output is the input convolved with the
The convolution theorem states that convolution in the time domain corresponds to pointwise multiplication in the
Two-dimensional convolution extends to functions on R^2, used in image processing. (f*g)(x,y) = ∬ f(u,v) g(x−u, y−v) du
Convolution is related to, but distinct from, cross-correlation, which does not flip the kernel: (f⋆g)(t) = ∫ f(τ)