Convolution (Discrete Case)

Given two sequences a = [a₀, a₁, ..., aₘ] and b = [b₀, b₁, ..., bₙ], their convolution is the sequence c = a * b defined by:

ck=∑i+j=kai⋅bj

This involves flipping one sequence, shifting, taking pairwise products, and summing.

Key Examples

▸ Probability

Related: discrete Fourier transform.