TOpenCLValue.Tanh Method

function Tanh(const X: TOpenCLValue): TOpenCLValue;

Hyperbolic tangens.

#NameTypeDescription
1XTOpenCLValue

Returns: TOpenCLValue

Remarks:

Calculate the hyperbolic tangens of X.

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