TVec::MeanAndStdDev Method

Overload List

#SignatureDescription
1void MeanAndStdDev(double &aMean, double &AStdDev);Returns the standard deviation of all calling object elements.
2void MeanAndStdDev(double &aMean, double &AStdDev, int Index, int Len);Returns the standard deviation of calling object elements [Index]..[Index+Len-1].

Overload 1: void MeanAndStdDev(double &aMean, double &AStdDev);

Returns the standard deviation of all calling object elements.

#NameTypeDescription
1aMeandouble &
2AStdDevdouble &
Remarks:

The average of all calling object elements must be passed as a AMean parameter. An exception is raised if calling object TVec::Complex property is true.

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 2: void MeanAndStdDev(double &aMean, double &AStdDev, int Index, int Len);

Returns the standard deviation of calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1aMeandouble &
2AStdDevdouble &
3Indexint
4Lenint
Remarks:

The average of the coresponding elements must be passed as a parameter. An exception is raised if calling object TVec::Complex property is true or if array borders are overrun/underrun.

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler