ClMtxExpr.Abs Method

Overload List

#SignatureDescription
1function Abs(X: TOpenCLMatrix): clMatrix;Result = the Abs function from the source and return the result
2function Abs(X: TOpenCLValue): clValue;Result = the Abs function from the source and return the result
3function Abs(X: TOpenCLVector): clVector;Result = the Abs function from the source and return the result

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

Compute the Abs function from the source and return the result.

#NameTypeDescription
1XTOpenCLMatrixsource TOpenCLMatrix

Returns: clMatrix

Remarks:

Internally calls clMatrix.Abs

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

Compute the Abs function from the source and return the result.

#NameTypeDescription
1XTOpenCLValuesource TOpenCLValue

Returns: clValue

Remarks:

Internally calls clValue.Abs

Examples
var a,b: clValue;
begin
    b.Copy(-0.5);
    a.Abs(b);
end;

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

Compute the Abs function from the source and return the result.

#NameTypeDescription
1XTOpenCLVectorsource TOpenCLVector

Returns: clVector

Remarks:

Internally calls clVector.Abs