scicpp::signal::windows::general_hamming
Defined in header <scicpp/signal.hpp>
Return a generalized Hamming window defined as:
\(w(n) = \alpha - (1 - \alpha) \cos \left( \frac{2 \pi n}{M - 1} \right) \;\;\;\; 0 \leq n \leq M - 1.\)
-
template<typename
T
, std::size_t M
>
std::array<T, M> general_hamming
(T alpha)
-
template<typename
T
>
std::vector<T> general_hamming
(std::size_t M, T alpha)
- See also
- Scipy documentation