A high-performance general-purpose compute library

Evaluate the hyperbolic cosine function. More...

Functions

AFAPI array cosh (const array &in)
 C++ Interface to evaluate the hyperbolic cosine function. More...
 
AFAPI af_err af_cosh (af_array *out, const af_array in)
 C Interface to evaluate the hyperbolic cosine function. More...
 

Detailed Description

Evaluate the hyperbolic cosine function.

Function Documentation

◆ af_cosh()

AFAPI af_err af_cosh ( af_array out,
const af_array  in 
)

C Interface to evaluate the hyperbolic cosine function.

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

◆ cosh()

AFAPI array cosh ( const array in)

C++ Interface to evaluate the hyperbolic cosine function.

Parameters
[in]ininput array
Returns
hyperbolic cosine