ClMtxExpr.Tanh Method

Overload List

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

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

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

#NameTypeDescription
1XTOpenCLMatrixsource TOpenCLMatrix

Returns: clMatrix

Remarks:

Internally calls clMatrix.Tanh

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

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

#NameTypeDescription
1XTOpenCLValuesource TOpenCLValue

Returns: clValue

Remarks:

Internally calls clValue.Tanh

Examples
var a,b: TOpenCLValue;
begin
    CreateIt(a,b);
    try
        b.Copy(0.5);
        a.Tanh(b);
    finally
        FreeIt(a,b);
    end;
end;

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

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

#NameTypeDescription
1XTOpenCLVectorsource TOpenCLVector

Returns: clVector

Remarks:

Internally calls clVector.Tanh