ClMtxExpr.Mag Method

Overload List

#SignatureDescription
1function Mag(const X: TOpenCLMatrix): clMatrix; overload;Result = magnitude from the source
2function Mag(const X: TOpenCLVector): clVector; overload;Result = magnitude from the source

Overload 1: function Mag(const X: TOpenCLMatrix): clMatrix; overload;

Compute magnitude from the source.

#NameTypeDescription
1XTOpenCLMatrixsource TOpenCLMatrix

Returns: clMatrix

Remarks:

Internally calls clMatrix.Mag

Overload 2: function Mag(const X: TOpenCLVector): clVector; overload;

Compute magnitude from the source.

#NameTypeDescription
1XTOpenCLVectorsource TOpenCLVector

Returns: clVector

Remarks:

Internally calls clVector.Mag