Function reference · Trigonometry
tanh
Computes the hyperbolic tangent.
Numeric inputs can be evaluated, infinities reduce to plus or minus 1, and symbolic inputs remain as tanh(x).
Examples
These examples use Nerdamer Notation.
Evaluate the origin.
tanh(0) // → 0
Keep a symbolic hyperbolic tangent.
tanh(x)Interfaces
The same operation is available through the interfaces below.
Nerdamer Notation
Use this form inside input passed to nerdamer(...).
tanh(arg1)
nerdamer.tanh
Call the operation through the default nerdamer import.
nerdamer.tanh(x: ExpressionInput): Expression
Parameters
| Name | Type | Description |
|---|---|---|
x | ExpressionInput | The input expression. |
Returns
Expression — The hyperbolic tangent of `x`.
