ClMtxExpr.Sign Method

Overload List

#SignatureDescription
1function Sign(X: TOpenCLMatrix): clMatrix;Change the sign of the source data.
2function Sign(X: TOpenCLValue): clValue;Change the sign of the source data.
3function Sign(X: TOpenCLVector): clVector;Change the sign of the source data.

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

Change the sign of the source data.

#NameTypeDescription
1XTOpenCLMatrixsource TOpenCLMatrix

Returns: clMatrix

Remarks:

Internally calls clMatrix.Sign

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

Change the sign of the source data.

#NameTypeDescription
1XTOpenCLValuesource TOpenCLValue

Returns: clValue

Remarks:

Internally calls clValue.Mul

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

Change the sign of the source data.

#NameTypeDescription
1XTOpenCLVectorsource TOpenCLVector

Returns: clVector

Remarks:

Internally calls clVector.Sign