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