
The value of the result is an approximation to the hyperbolic tangent of X.
Like many intrinsic functions, this is elemental;
the result has the same shape as X, with the operation being applied elementwise.
If X is of type Complex, the imaginary part is interpreted as radians.

