22 #ifndef EDSP_STATISTICAL_FLATNESS_H 23 #define EDSP_STATISTICAL_FLATNESS_H 28 namespace edsp {
namespace statistics {
43 template <
typename ForwardIt>
44 constexpr meta::value_type_t<ForwardIt>
flatness(ForwardIt first, ForwardIt last) {
47 return computed_gmean / computed_mean;
52 #endif // EDSP_STATISTICAL_FLATNESS_H constexpr meta::value_type_t< ForwardIt > geometric_mean(ForwardIt first, ForwardIt last)
Computes the geometric mean of the range [first, last)
Definition: geometric_mean.hpp:44
constexpr meta::value_type_t< ForwardIt > flatness(ForwardIt first, ForwardIt last)
Computes the flatness value of the range [first, last)
Definition: flatness.hpp:44
Definition: amplifier.hpp:29
constexpr meta::value_type_t< ForwardIt > mean(ForwardIt first, ForwardIt last)
Computes the average or mean value of the range [first, last)
Definition: mean.hpp:44