|
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 | |
Public Types inherited from etl::private_standard_deviation::standard_deviation_traits< TInput, TCalc > | |
| typedef TCalc | calc_t |
Public Types inherited from etl::binary_function< TInput, TInput, void > | |
| 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.