A high-performance general-purpose compute library

Evaluate the hyperbolic tangent function. More...

Functions

array tanh (const array &in)
 C++ Interface to evaluate the hyperbolic tangent function.
 
af_err af_tanh (af_array *out, const af_array in)
 C Interface to evaluate the hyperbolic tangent function.
 

Detailed Description

Evaluate the hyperbolic tangent function.

Function Documentation

◆ af_tanh()

af_err af_tanh ( af_array * out,
const af_array in )

C Interface to evaluate the hyperbolic tangent function.

Parameters
[out]outhyperbolic tangent
[in]ininput
Returns
AF_SUCCESS, if function returns successfully, else an af_err code is given

◆ tanh()

array tanh ( const array & in)

C++ Interface to evaluate the hyperbolic tangent function.

Parameters
[in]ininput array
Returns
hyperbolic tangent