Embedded Template Library 1.0
|
Standard Deviation. More...
#include <standard_deviation.h>
Public Member Functions | |
standard_deviation () | |
Constructor. | |
template<typename TIterator > | |
standard_deviation (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. | |
double | get_standard_deviation () const |
Get the standard_deviation. | |
operator double () const | |
Get the standard_deviation. | |
size_t | count () const |
Get the total number added entries. | |
void | clear () |
Clear the histogram. | |
Additional Inherited Members | |
![]() | |
typedef TCalc | calc_t |
![]() | |
typedef TInput | first_argument_type |
typedef TInput | second_argument_type |
typedef void | result_type |
Standard Deviation.
|
inline |
operator () Add a pair of values.
|
inline |
operator () Add a range.