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

cosh

Hyperbolic cosine function

Description

cosh calculates and outputs the hyperbolic cosine of any given number.

Arguments

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

Messages

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

Information for box attributes common to all objects

Output

float: The hyperbolic cosine of the input.
int: The hyperbolic cosine of the input.

Examples

See Also

Name Description
acos Arc-cosine function
acosh Hyperbolic arc-cosine function
cos Cosine function