tanh

Functions
tanh
Complete List of ArrayFire Functions ArrayFire Functions by Category » Mathematical functions » | Hyperbolic functions

tanh of input More...

## Functions
AFAPI array | tanh (const array &in)
| C++ Interface for tanh. More...
AFAPI af_err | af_tanh (af_array *out, const af_array in)
| C Interface for tanh. More...

## Detailed Description

tanh of input

Note
  This function supports real inputs only. Complex inputs are not yet supported.

## Function Documentation

## ◆ af_tanh()

AFAPI af_err af_tanh | ( | af_array * | out,
|  | const af_array | in
| ) |  |

C Interface for tanh.

Parameters

  [out] | out | will contain tanh of input
  [in] | in | is input array

Returns
  AF_SUCCESS if the execution completes properly

## ◆ tanh()

AFAPI array af::tanh | ( | const array & | in | ) |

C++ Interface for tanh.

Parameters

  [in] | in | is input array

Returns
  tanh of input