Back to Symbolic Math (SymEngine)
sym.asec
Computes the arc-secant (inverse secant) of a symbolic expression.
Syntax
sym.asec(x)
Description
Computes the arc-secant (inverse secant) of a symbolic expression. Returns the angle whose secant is x. The principal value is in [0, π], excluding π/2.
Parameters
| Name | Description |
|---|---|
| x | - The value (|x| ≥ 1 for real results). |
Returns
Expr