Go to the previous, next section.
#include <CNCL/MomentsTime.h>
CN_MOMENTSTIME
CNStatistics
None
CNMoments
CNMomentsTime
class yields the moments of an time-weighted input
sequence:
When specifying an input value, you also have to specify the current time. The time span from the last input to this input is used as the input value's weight.
CNMomentsTime( CNParam *param )
CNMomentsTime( char *new_name = "no name" )
CNMomentsTime
evaluation with new_name
as name
of evaluation.
CNStatistics
,
CNMomentsTime
provides:
virtual void put( double x_i, CNSimTime put_time);
x_i
for statistical evaluation. You
also have to specify the current time. The time span from the last input
to this input is used as the input value's weight.
virtual double mean() const;
double variance() const;
double M_2() const;
double M_3() const;
double Z_3() const;
double skewness() const;
double relative_variance() const;
double relative_deviation() const;
Go to the previous, next section.