Tangent hyperbolicus.
tanh(2)
value | The input. |
return value | The tangent hyperbolicus of the input. |
The input can be any real number, complex number, or matrix. In case of matrices, the result is computed elmentwise.
Quantities are not compatible with this function.