22 #ifndef EDSP_STATISTICAL_KURTOSIS_HPP    23 #define EDSP_STATISTICAL_KURTOSIS_HPP    26 #include <edsp/meta/iterator.hpp>    29 namespace edsp { 
namespace statistics {
    46     template <
typename ForwardIt>
    47     constexpr meta::value_type_t<ForwardIt> 
kurtosis(ForwardIt first, ForwardIt last) {
    48         const auto m  = 
mean(first, last);
    49         const auto m4 = moment<4>(first, last, m);
    50         const auto m2 = moment<2>(first, last, m);
    51         return m4 / (m2 * m2);
    56 #endif //EDSP_STATISTICAL_KURTOSIS_HPP 
constexpr meta::value_type_t< ForwardIt > kurtosis(ForwardIt first, ForwardIt last)
Computes the Kurtosis of the range [first, last) 
Definition: kurtosis.hpp:47
 
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