Description: Fourier series convergence for periodic, piecewise smooth functions.
The series converges to the average value of the left and the right
limit of the function. Thus, if the function is continuous at a given
point, the series converges exactly to the function value, see
fouriercnp . Notice that for a piecewise smooth function, the left
and right limits always exist, see fourier2 for an alternative form of
the theorem that makes this fact explicit. When the first derivative is
continuous, a simpler version of the theorem can be stated, see
fouriercn . (Contributed by Glauco Siliprandi, 11-Dec-2019)