A newer version of Max is available. Click here to access the latest version of the documentation

tanh Reference

Hyperbolic tangent function

tanh

Description

Use the tanh object to calculate and output the hyperbolic tangent of any given number.

Examples

Arguments

initial-value [float or int]

Optional

Sets the initial value for the hyperbolic tangent function.

Attributes

Common Box Attributes

Messages

bang

Calculates the hyperbolic tangent of the number currently stored. If there is no argument, tanh initially holds 0.

int

Arguments

input [int]
Input to the hyperbolic tangent function

float

Arguments

input [float]
Input to the hyperbolic tangent function

Output

float

The hyperbolic tangent of the input.

int

The hyperbolic tangent of the input.

See Also

Name Description
atan
atan2
atanh
tan