ClMtxExpr.Sum Method

Overload List

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

Overload 1: Double Sum(TOpenCLMatrix X)

Returns the sum of elements in the source data.

#NameTypeDescription
1XTOpenCLMatrixsource TOpenCLMatrix

Returns: Double

Remarks:

Internally calls Dew.Math.clMatrix.Sum

Overload 2: Double Sum(TOpenCLVector X)

Returns the sum of elements in the source data.

#NameTypeDescription
1XTOpenCLVectorsource TOpenCLVector

Returns: Double

Remarks:

Internally calls Dew.Math.clVector.Sum