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


Tangent function


tan calculates and outputs the tangent of any given number.


Name Type Opt Description
initial-value float or int opt Sets the initial value for the tangent function.


bang In left inlet: Calculates the tangent of the number currently stored. If there is no argument, tan initially holds 0.
int input [int]
Input to a tangent function.
float input [float]
Input to a tangent function.

Information for box attributes common to all objects


float: The tangent of the input.
int: The tangent of the input.


See Also

Name Description
atan Arc-tangent function
atan2 Arc-tangent function (two variables)
atanh Hyperbolic arc-tangent function
tanh Hyperbolic tangent function