clValue::Tanh Method

TOpenCLValue *Tanh(TOpenCLValue *X) const;

Hyperbolic tangens.

#NameTypeDescription
1XTOpenCLValue *
Remarks:

Calculate the hyperbolic tangens of X.

Examples
#include "clMtxExpr.h"

using namespace Dew;
using namespace Dew::Math;

void Example()
{
    clValue a, b;

    b.Copy(0.5);
    a.Tanh(b);
}
See Also: clValue::ArcTanh, clValue::Coth
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler