|
Carna
Version 3.0.1
|
Holds mean and variance of an characteristic. More...
#include <math.h>
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.
Documentation generated by Doxygen