Digital signal processing primitives