eDSP  0.0.1
A cross-platform DSP library written in C++.
spectral_flux.hpp
Go to the documentation of this file.
1 
27 #ifndef EDSP_SPECTRAL_FLUX_HPP
28 #define EDSP_SPECTRAL_FLUX_HPP
29 
30 #include <edsp/statistics/flux.hpp>
31 
32 namespace edsp { namespace feature { inline namespace spectral {
33 
42  template <typename ForwardIt>
43  constexpr auto spectral_flux(ForwardIt first1, ForwardIt last1, ForwardIt first2) {
44  return statistics::flux(first1, last1, first2);
45  }
46 
47 }}}
48 
49 #endif //EDSP_SPECTRAL_FLUX_HPP
constexpr auto spectral_flux(ForwardIt first1, ForwardIt last1, ForwardIt first2)
Computes the spectral flux of the of the magnitude spectrum represented by the elements in the range ...
Definition: spectral_flux.hpp:43
constexpr meta::value_type_t< InputIt > flux(InputIt first1, InputIt last1, InputIt first2)
Computes the flux between the elements in the range [first1, last1) and the elements starting at firs...
Definition: flux.hpp:47
Definition: amplifier.hpp:29