ClMtxExpr.Mag Method

Overload List

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

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

Compute magnitude from the source.

#NameTypeDescription
1XTOpenCLMatrixsource TOpenCLMatrix

Returns: clMatrix

Remarks:

Internally calls clMatrix.Mag

Overload 2: function Mag(X: TOpenCLValue): clValue;

Compute magnitude from the source.

#NameTypeDescription
1XTOpenCLValuesource TOpenCLValue

Returns: clValue

Remarks:

Internally calls clValue.Mag

Examples
var a,b: clValue;
begin
    b.Copy(Cplx(2,3));
    a.Mag(b);
end;

Overload 3: function Mag(X: TOpenCLVector): clVector;

Compute magnitude from the source.

#NameTypeDescription
1XTOpenCLVectorsource TOpenCLVector

Returns: clVector

Remarks:

Internally calls clVector.Mag