Sequence::ProductMoment Struct Reference
[Statistics]

Pearson's product-moment correlation. More...

#include <Correlations.hpp>

List of all members.

Public Member Functions

template<typename iter1 , typename iter2 >
ensureFloating< typename
std::iterator_traits< iter1 >
::value_type, typename
std::iterator_traits< iter2 >
::value_type >::type 
operator() (iter1 beg_x, iter1 end_x, iter2 beg_y) const

Detailed Description

Pearson's product-moment correlation.

Function object to calculate Pearson's product-moment correlation coefficient

Examples:

correlations.cc.

Definition at line 39 of file Correlations.hpp.


The documentation for this struct was generated from the following files:

Generated on Mon Jul 12 15:22:03 2010 for libsequence by  doxygen 1.6.1