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

tan Reference

Tangent function

tan

Description

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

Examples

Arguments

initial-value [float or int]

Optional

Sets the initial value for the tangent function.

Attributes

Common Box Attributes

Messages

bang

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

int

Arguments

input [int]
Input to the tangent function

float

Arguments

input [float]
Input to the tangent function

Output

float

The tangent of the input.

int

The tangent of the input.

See Also

Name Description
atan
atan2
atanh
tanh