TOpenCLMatrix::SumAndSqrSum Method

Overload List

#SignatureDescription
1void SumAndSqrSum(double &Sum, double &SqrSum);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);Returns the sum and the sum of squared elements.

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

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

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

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

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::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler