ALFI
Advanced Library for Function Interpolation
|
Go to the source code of this file.
Namespaces | |
namespace | alfi |
namespace | alfi::util |
namespace | alfi::util::stat |
Functions | |
template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer> | |
Number | alfi::util::stat::mean (const Container< Number > &container) |
Calculates the arithmetic mean of the elements in a container. | |
template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer> | |
Number | alfi::util::stat::mean_abs (const Container< Number > &container) |
Calculates the arithmetic mean of the absolute values of the elements in a container. | |
template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer> | |
Number | alfi::util::stat::mean_square (const Container< Number > &container) |
Calculates the arithmetic mean the squares of the elements in a container. | |
template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer> | |
Number | alfi::util::stat::rms (const Container< Number > &container) |
Calculates the root mean square (RMS) of the elements in a container. | |
template<typename Number = DefaultNumber, template< typename, typename... > class Container = DefaultContainer> | |
Number | alfi::util::stat::var (const Container< Number > &container, bool biased=false) |
Calculates the variance of the elements in a container. | |