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

the average of all values More...

#include <DynamicsHelpers.h>

Collaboration diagram for Mittelwert< _t >:
Collaboration graph

Public Member Functions

 Mittelwert (const _t &start)
 
 Mittelwert ()
 
 operator _t () const
 
_t getMittel () const
 
void add (const _t &x)
 
_t getSumme () const
 
int getNumberOfCases () const
 

Private Attributes

_t summe
 
int N
 

Detailed Description

template<class _t>
class Mittelwert< _t >

the average of all values

uses a counter of type int

Definition at line 71 of file DynamicsHelpers.h.

Constructor & Destructor Documentation

template<class _t >
Mittelwert< _t >::Mittelwert ( const _t &  start)

Definition at line 75 of file DynamicsHelpers.h.

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

Definition at line 76 of file DynamicsHelpers.h.

Member Function Documentation

template<class _t >
void Mittelwert< _t >::add ( const _t &  x)

Definition at line 83 of file DynamicsHelpers.h.

References Mittelwert< _t >::N, and Mittelwert< _t >::summe.

template<class _t >
_t Mittelwert< _t >::getMittel ( ) const

Definition at line 80 of file DynamicsHelpers.h.

References Mittelwert< _t >::N, and Mittelwert< _t >::summe.

Referenced by Mittelwert< _t >::operator _t().

template<class _t >
int Mittelwert< _t >::getNumberOfCases ( ) const

Definition at line 90 of file DynamicsHelpers.h.

References Mittelwert< _t >::N.

template<class _t >
_t Mittelwert< _t >::getSumme ( ) const

Definition at line 87 of file DynamicsHelpers.h.

References Mittelwert< _t >::summe.

template<class _t >
Mittelwert< _t >::operator _t ( ) const

Definition at line 77 of file DynamicsHelpers.h.

References Mittelwert< _t >::getMittel().

Member Data Documentation

template<class _t >
int Mittelwert< _t >::N
private
template<class _t >
_t Mittelwert< _t >::summe
private

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


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