Overview
Convolution measures how one sequence, kernel, or impulse response overlaps another at each shift. It is central to filtering, image processing, and systems analysis.
Combines two signals or arrays by sliding one over the other and summing pointwise products.
Compact metadata for implementation and discovery.
Convolution measures how one sequence, kernel, or impulse response overlaps another at each shift. It is central to filtering, image processing, and systems analysis.
Quick facts
Runtime and memory behavior at a glance.
Best
O(nk)
Average
O(nk)
Worst
O(nk)
Space
O(n)
y[i] = sum(x[i - k] * h[k])Combines a signal or image with a kernel around each position.
Show a kernel window sliding across samples or pixels.
In many machine-learning libraries, operations called convolution are technically cross-correlation unless the kernel is reversed.
What each reference supports for this entry.
Signal-processing reference covering convolution, systems, and frequency-domain interpretation.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Machine Learning · Core
CNN layers apply learned convolutions to grid-like inputs.
Compare with thisImage Processing · Core
Template matching is commonly implemented as correlation or convolution over image windows.
Compare with thisCNN layers apply learned convolutions to grid-like inputs.
FIR filters compute finite convolutions with filter coefficients.