Embedded Template Library 1.0
|
Variance. More...
#include <variance.h>
Public Member Functions | |
variance () | |
Constructor. | |
template<typename TIterator > | |
variance (TIterator first, TIterator last) | |
Constructor. | |
void | add (TInput value) |
Add a pair of values. | |
template<typename TIterator > | |
void | add (TIterator first, TIterator last) |
Add a range. | |
void | operator() (TInput value) |
template<typename TIterator > | |
void | operator() (TIterator first, TIterator last) |
double | get_variance () const |
Get the variance. | |
operator double () const | |
Get the variance. | |
size_t | count () const |
Get the total number added entries. | |
void | clear () |
Clear the variance. | |
Additional Inherited Members | |
![]() | |
typedef TCalc | calc_t |
![]() | |
typedef TInput | first_argument_type |
typedef TInput | second_argument_type |
typedef void | result_type |
Variance.
|
inline |
operator () Add a pair of values.
|
inline |
operator () Add a range.