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

mean and variance More...

#include <statistiken.h>

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

Public Member Functions

 Var ()
void init ()
void add (_t d)
SquareOperation< _t >::sq_t get_var () const
- Public Member Functions inherited from Mean< _t >
 Mean ()
void init ()
void add (_t d)
int get_num_cases () const
_t get_mean () const

Public Attributes

SquareOperation< _t >::sq_t summeQ
- Public Attributes inherited from Mean< _t >
_t summe
int n

Additional Inherited Members

- Public Types inherited from SquareOperation< _t >
typedef _t sq_t
- Static Public Member Functions inherited from SquareOperation< _t >
static sq_t square (const _t &x)

Detailed Description

template<class _t>
class Var< _t >

mean and variance

does not compute the standard deviation because there's not always a square root function (depending on _t)

See Also

Definition at line 162 of file statistiken.h.

Constructor & Destructor Documentation

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

Definition at line 167 of file statistiken.h.

Member Function Documentation

template<class _t>
void Var< _t >::add ( _t  d)

Definition at line 176 of file statistiken.h.

Referenced by TrimmedMean::Compute().

template<class _t>
SquareOperation<_t>::sq_t Var< _t >::get_var ( ) const

Definition at line 181 of file statistiken.h.

Referenced by TrimmedMean::GetVar().

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

Definition at line 171 of file statistiken.h.

Referenced by TrimmedMean::Compute(), and Var< double >::Var().

Member Data Documentation

template<class _t>
SquareOperation<_t>::sq_t Var< _t >::summeQ

Definition at line 165 of file statistiken.h.

Referenced by Var< double >::add(), Var< double >::get_var(), and Var< double >::init().

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

ACT-CV - Machine Vision for Cognitive Modeling
© 2015 Marc Halbruegge (