ACT-CV - Machine Vision for Cognitive Modeling
Public Member Functions | Protected Attributes | List of all members
Corr< _t > Class Template Reference

correlation between two variables More...

#include <statistiken.h>

Inheritance diagram for Corr< _t >:
Inheritance graph
Collaboration diagram for Corr< _t >:
Collaboration graph

Public Member Functions

 Corr ()
 
void init ()
 
void add (_t a, _t b)
 
int get_num_cases () const
 
_t get_squared_corr () const
 

Protected Attributes

Var< _t > x
 
Var< _t > y
 
_t summeXY
 
int n
 

Detailed Description

template<class _t>
class Corr< _t >

correlation between two variables

Definition at line 195 of file statistiken.h.

Constructor & Destructor Documentation

template<class _t>
Corr< _t >::Corr ( )

Definition at line 201 of file statistiken.h.

References Corr< _t >::init().

Member Function Documentation

template<class _t>
void Corr< _t >::add ( _t  a,
_t  b 
)

Definition at line 210 of file statistiken.h.

References Corr< _t >::n, Corr< _t >::summeXY, Corr< _t >::x, and Corr< _t >::y.

template<class _t>
int Corr< _t >::get_num_cases ( ) const

Definition at line 216 of file statistiken.h.

References Corr< _t >::n.

template<class _t>
_t Corr< _t >::get_squared_corr ( ) const

Definition at line 219 of file statistiken.h.

References Corr< _t >::summeXY, Corr< _t >::x, and Corr< _t >::y.

template<class _t>
void Corr< _t >::init ( )

Definition at line 204 of file statistiken.h.

References InitZero(), Corr< _t >::n, Corr< _t >::summeXY, Corr< _t >::x, and Corr< _t >::y.

Referenced by Corr< _t >::Corr().

Member Data Documentation

template<class _t>
int Corr< _t >::n
protected
template<class _t>
_t Corr< _t >::summeXY
protected

Definition at line 198 of file statistiken.h.

Referenced by Corr< _t >::add(), Corr< _t >::get_squared_corr(), and Corr< _t >::init().

template<class _t>
Var<_t> Corr< _t >::x
protected

Definition at line 197 of file statistiken.h.

Referenced by Corr< _t >::add(), Corr< _t >::get_squared_corr(), and Corr< _t >::init().

template<class _t>
Var<_t> Corr< _t >::y
protected

Definition at line 197 of file statistiken.h.

Referenced by Corr< _t >::add(), Corr< _t >::get_squared_corr(), and Corr< _t >::init().


The documentation for this class was generated from the following file:


ACT-CV - Machine Vision for Cognitive Modeling
© 2015 Marc Halbruegge (actcvlibrary@googlemail.com)