In software, a delay line is often implemented using a circular
buffer. Let D denote an array of length . Then we can
implement the -sample delay line in the C programming
language as shown in Fig.2.2.