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

acos

Arc-cosine function

Description

acos calculates and outputs the arc-cosine of any given number.

Arguments

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

Messages

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

Information for box attributes common to all objects

Output

float: The arc-cosine of the input.
int: The arc-cosine of the input.

Examples

See Also

Name Description
acosh Hyperbolic arc-cosine function
cos Cosine function
cosh Hyperbolic cosine function