# NumPy - arctanh() function

The NumPy arctanh() function is used to calculate inverse hyperbolic tangent of a value. The inverse hyperbolic tangent of x is defined as: ### Syntax

```numpy.arctanh(a, out=None)
```

### Parameters

 `a` `Required. `Specify array (array_like) containing elements, of which the inverse hyperbolic tangent is calculated. Value of element of the array should be in range (-1, 1). `out` `Optional. `Specify a location into which the result is stored. If provided, it must have a shape that the inputs broadcast to. If not provided or None, a freshly-allocated array is returned.

### Return Value

Returns the inverse hyperbolic tangent of each element in a.

### Example:

In the example below, numpy arctanh() function is used to calculate the inverse hyperbolic tangent of each element present in array Arr.

```import numpy as np

Arr = np.array([0.2, 0.4, 0.6, 0.8])

print("The inverse hyperbolic tangent of values:")
print(np.arctanh(Arr))
```

The output of the above code will be:

```The inverse hyperbolic tangent of values:
[ 0.20273255  0.42364893  0.69314718  1.09861229]
```

❮ NumPy - Functions

5