clVector::SumAndSqrSum Method

Overload List

#SignatureDescription
1void SumAndSqrSum(double &Sum, double &SqrSum) const;Computes the sum and the sum of squared elements from the elements in the calling object.
2void SumAndSqrSum(double &Sum, double &SqrSum, int Index, int Len) const;Returns the sum and the sum of squared elements.

Overload 1: void SumAndSqrSum(double &Sum, double &SqrSum) const;

Computes the sum and the sum of squared elements from the elements in the calling object.

#NameTypeDescription
1Sumdouble &
2SqrSumdouble &
Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 2: void SumAndSqrSum(double &Sum, double &SqrSum, int Index, int Len) const;

Returns the sum and the sum of squared elements.

#NameTypeDescription
1Sumdouble &
2SqrSumdouble &
3Indexint
4Lenint
Remarks:

Returns the sum and the sum of squared items from calling vector elements [Index]..[Index+Len-1].

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