Fourier partial sum (source code)

= Fourier partial sum
{title2=$s_n(f)$}
{wiki}

A Fourier partial sum retains the modes with $|k|\leq n$.