nerdamer.asech(x: ExpressionInput): Expression
Computes the inverse hyperbolic secant of an expression:
`asech(x) = acosh(1/x)`
.
For real evaluation, uses the identity
`asech(x) = ln((1 + sqrt(1/x² − 1))/x)`
.
throwsUndefinedError If
`x`
is
`±∞`
.
Parameters
| Name | Type | Description |
|---|
x | ExpressionInput | The input expression (domain `(0, 1]` for real results). |
Returns
Expression — The inverse hyperbolic secant of `x`.
Examples
asech(1).text() // "0"
// Symbolic
asech('x').text() // "asech(x)"