Defined in header <scicpp/signal.hpp>
Return a Bartlett window.
The Bartlett window is very similar to a triangular window, except that the end points are at zero. It is often used in signal processing for tapering a signal, without generating too much ripple in the frequency domain.
Return a std::array of size M. Requires M > 1.
Return a std::vector of size M. Requires M > 1.