Embedded Template Library 1.0
|
Correlation. More...
#include <correlation.h>
Public Member Functions | |
correlation () | |
Constructor. | |
template<typename TIterator > | |
correlation (TIterator first1, TIterator last1, TIterator first2) | |
Constructor. | |
void | add (TInput value1, TInput value2) |
Add a pair of values. | |
template<typename TIterator > | |
void | add (TIterator first1, TIterator last1, TIterator first2) |
Add a range. | |
void | operator() (TInput value1, TInput value2) |
template<typename TIterator > | |
void | operator() (TIterator first1, TIterator last1, TIterator first2) |
double | get_covariance () const |
Get the correlation. | |
double | get_correlation () const |
Get the correlation. | |
operator double () const | |
Get the correlation. | |
size_t | count () const |
Get the total number added entries. | |
void | clear () |
Clear the correlation. | |
Additional Inherited Members | |
![]() | |
typedef TCalc | calc_t |
![]() | |
typedef TInput | first_argument_type |
typedef TInput | second_argument_type |
typedef void | result_type |
Correlation.
|
inline |
operator () Add a pair of values.
|
inline |
operator () Add a range.