nerdamer.atanh(x: ExpressionInput): Expression
Computes the inverse hyperbolic tangent of an expression.
- atanh(0) = 0
- For inputs outside (-1, 1) or complex inputs, uses the identity
atanh(z) = (1/2)·ln((1 + z)/(1 − z)).
throwscore!UndefinedError If x is ±∞ or exactly 1.
Parameters
| Name | Type | Description |
|---|
x | ExpressionInput | The input expression (domain (-1, 1) for real results). |
Returns
Expression — The inverse hyperbolic tangent of x.
Examples
atanh(0).text() // "0"
// Symbolic
atanh('x').text() // "atanh(x)"