- Function ArcTanh(x)
ArcTanh
ArcTanh(
x ! (input) numerical expression
)
Arguments
- x
A scalar numerical expression in the range \((-1,1)\).
Return Value
The
ArcTanh
function returns the inverse hyperbolic tangent of x.
Graph
Example
_p_returnA := arcTanH(-0.99); ! returns -2.646652412362
_p_returnB := arcTanH( 0 ); ! returns 0
_p_returnC := arcTanH( 0.99); ! returns 2.646652412362
Note
A run-time error results if x is outside the range \((-1,1)\).
The function
ArcTanh
can be used in constraints of nonlinear mathematical programs.
See also
The functions
ArcCosh
,ArcSinh
,Tanh
. Arithmetic functions are discussed in full detail in Arithmetic Functions of the Language Reference.