clMatrix::Mean Method

Overload List

#SignatureDescription
1double Mean() const;Mean value.
2double Mean(int Index, int Len) const;Returns real mean value from calling object elements [Index]..[Index+Len-1].
3void Mean(double &AMean, int Index, int Len) const;Calculate the mean value from calling object elements [Index]..[Index+Len-1].
4void Mean(TCplx &AMean) const;Same as clMatrix::Meanc.
5void Mean(TCplx &AMean, int Index, int Len) const;Same as clMatrix::Meanc.

Overload 1: double Mean() const;

Mean value.

Remarks:

Calculate the mean value of all calling object elements. The result is a real value. An exception is raised if calling object clMatrix::Complex property is true.

See Also: clMatrix::Sum, clMatrix::Meanc
Declared in Dew::Math::clMatrix · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 2: double Mean(int Index, int Len) const;

Returns real mean value from calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1Indexint
2Lenint
Remarks:

An exception is raised if calling object clMatrix::Complex property is true or array borders are overrun.

Declared in Dew::Math::clMatrix · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 3: void Mean(double &AMean, int Index, int Len) const;

Calculate the mean value from calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1AMeandouble &
2Indexint
3Lenint
Remarks:

The result AMean is a real value. An exception is raised if calling object clMatrix::Complex property is true or array borders are overrun/underrun.

Declared in Dew::Math::clMatrix · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 4: void Mean(TCplx &AMean) const;

#NameTypeDescription
1AMeanTCplx &
Declared in Dew::Math::clMatrix · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 5: void Mean(TCplx &AMean, int Index, int Len) const;

#NameTypeDescription
1AMeanTCplx &
2Indexint
3Lenint
Declared in Dew::Math::clMatrix · Dew.Math/clMtxExpr.h · Cross-compiler