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 · nerdamer API

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

NameTypeDescription
xExpressionInputThe input expression.

Returns

Expression — The hyperbolic tangent of `x`.

Browse the nerdamer API →

← Back to Reference