ClMtxExpr.Tan Method

Overload List

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

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

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

#NameTypeDescription
1XTOpenCLMatrixsource TOpenCLMatrix

Returns: clMatrix

Remarks:

Internally calls clMatrix.Tan

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

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

#NameTypeDescription
1XTOpenCLValuesource TOpenCLValue

Returns: clValue

Remarks:

Internally calls clValue.Tan

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

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

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

#NameTypeDescription
1XTOpenCLVectorsource TOpenCLVector

Returns: clVector

Remarks:

Internally calls clVector.Tan