Reference Guide > T Routines > TANH Function
  

TANH Function
Returns the hyperbolic tangent of the input variable.
enabled.
Usage
result = TANH(x)
Input Parameters
x—The angle, in radians, that is evaluated.
Returned Value
result—The hyperbolic tangent of x.
Keywords
None.
Discussion
TANH is defined by:
If x is of double-precision floating-point or of complex data type, TANH yields a result of the same type. All other data types yield a single-precision floating-point result.
If x is an array, the result of TANH has the same dimensions, with each element containing the hyperbolic tangent of the corresponding element of x.
Example
x = [0.3, 0.5, 0.7, 0.9]
PRINT, TANH(x)
See Also
ATAN, COSH, SINH, TAN, alibTanh
For a list of other transcendental functions, see "Transcendental Mathematical Functions" in Volume 1 of this reference.

Version 2017.1
Copyright © 2019, Rogue Wave Software, Inc. All Rights Reserved.