npstat::CrossCovarianceAccumulator Class Reference
Detailed DescriptionSimple single-pass (which means imprecise) accumulator of covariances between two arrays. Correlations are between all possible pairs in which one element is taken from the first array and the other from the second array. Constructor & Destructor Documentation◆ CrossCovarianceAccumulator()
n1 and n2 are the expected array sizes Member Function Documentation◆ accumulate() [1/3]
template<typename ArrayPair >
Accumulate summaries from a pair of vectors or arrays ◆ accumulate() [2/3]
Add the statistical summaries from another accumulator ◆ accumulate() [3/3]
template<typename T1 , typename T2 >
Accumulate the statistical summaries. The length of array data1 should be n1 (as in the constructor). The length of array data2 should be n2 (as in the constructor). ◆ classId()
Method related to "geners" I/O ◆ corr()
Correlation coefficient between the given variables ◆ cov()
Covariance between the given variables ◆ crossCorrMat()
Correlation matrix (of dimensions n1 x n2, where n1 and n2 are given in the constructor) ◆ crossCovMat()
Covariance matrix (of dimensions n1 x n2, where n1 and n2 are given in the constructor) ◆ dim1()
Basic inspector of accumulated quantities ◆ mean1()
Inspect mean, standard deviation, etc ◆ operator!=()
Logical negation of operator== ◆ operator+=() [1/2]
template<typename ArrayPair >
Accumulate summaries from a pair of vectors or arrays ◆ operator+=() [2/2]
Add the statistical summaries from another accumulator ◆ operator==()
Comparison for equality ◆ reset()
Reset all accumulators and counters The documentation for this class was generated from the following file: Generated by 1.9.1 |