![]() |
LibCarna Version 3.4.0
|
Holds mean and variance of an characteristic. More...
#include <math.hpp>
Public Member Functions | |
| Statistics (T mean, T variance) | |
| Initializes with mean and variance. | |
| Statistics (std::size_t size, const std::function< T(std::size_t) > values) | |
| Computes statistics from size samples queried from values. | |
| Statistics< T > & | operator= (const Statistics< T > &other) |
| Copies from other. | |
| T | standardDeviation () const |
| Computes the standard deviation. | |
Public Attributes | |
| T | mean |
| Holds the mean. | |
| T | variance |
| Holds the variance. | |
Holds mean and variance of an characteristic.
|
inline |
|
inline |
|
inline |
|
inline |
| T LibCarna::base::math::Statistics< T >::mean |
| T LibCarna::base::math::Statistics< T >::variance |
Written by Leonid Kostrykin © 2021–2025. Based on Carna (© 2010-2016).
Documentation generated by Doxygen