A high-performance general-purpose compute library

Evaluate the hyperbolic tangent function. More...

Functions

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

Detailed Description

Evaluate the hyperbolic tangent function.

Function Documentation

◆ af_tanh()

AFAPI 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()

AFAPI array tanh ( const array in)

C++ Interface to evaluate the hyperbolic tangent function.

Parameters
[in]ininput array
Returns
hyperbolic tangent