eDSP  0.0.1
A cross-platform DSP library written in C++.
spectral_skewness.hpp
Go to the documentation of this file.
1 
27 #ifndef EDSP_SPECTRAL_SKWNESS_HPP
28 #define EDSP_SPECTRAL_SKWNESS_HPP
29 
31 
32 namespace edsp { namespace feature { inline namespace spectral {
33 
41  template <typename ForwardIt>
42  constexpr auto spectral_skewness(ForwardIt first, ForwardIt last) {
43  return statistics::skewness(first, last);
44  }
45 
46 }}}
47 
48 #endif //EDSP_SPECTRAL_SKWNESS_HPP
constexpr meta::value_type_t< ForwardIt > skewness(ForwardIt first, ForwardIt last)
Computes the skewness of the range [first, last)
Definition: skewness.hpp:47
constexpr auto spectral_skewness(ForwardIt first, ForwardIt last)
Computes the spectral skewness of the of the magnitude spectrum represented by the elements in the ra...
Definition: spectral_skewness.hpp:42
Definition: amplifier.hpp:29