ClMtxExpr.Sin Method

Overload List

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

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

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

#NameTypeDescription
1XTOpenCLMatrixsource TOpenCLMatrix

Returns: clMatrix

Remarks:

Internally calls clMatrix.Sin

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

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

#NameTypeDescription
1XTOpenCLValuesource TOpenCLValue

Returns: clValue

Remarks:

Internally calls clValue.Sin

Examples
var a,b: clValue;
begin
    b.Copy(4);
    a.Sin(b);
end;

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

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

#NameTypeDescription
1XTOpenCLVectorsource TOpenCLVector

Returns: clVector

Remarks:

Internally calls clVector.Sin