- `Y = tanh (X)`

Compute hyperbolic tangent for each element of `X`.

This is defined as

> > `%tanh(z) = sinh(z)/cosh(z)%`

See also: `atanh`, `sinh`, `cosh`.

### References

- https://www.mathworks.com/help/matlab/ref/tanh.html
- https://octave.sourceforge.io/octave/function/tanh.html
- https://mathworld.wolfram.com/HyperbolicFunctions.html
- https://en.wikipedia.org/wiki/Hyperbolic_functions
