ClMtxExpr.Sum Method

Overload List

#SignatureDescription
1function Sum(X: TOpenCLMatrix): Double;Returns the sum of elements in the source data.
2function Sum(X: TOpenCLVector): Double;Returns the sum of elements in the source data.

Overload 1: function Sum(X: TOpenCLMatrix): Double;

Returns the sum of elements in the source data.

#NameTypeDescription
1XTOpenCLMatrixsource TOpenCLMatrix

Returns: Double

Remarks:

Internally calls clMatrix.Sum

Overload 2: function Sum(X: TOpenCLVector): Double;

Returns the sum of elements in the source data.

#NameTypeDescription
1XTOpenCLVectorsource TOpenCLVector

Returns: Double

Remarks:

Internally calls clVector.Sum