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

cosT8safe Reference

Safe cosine approximation of the input

cosT8safe

Examples

Inlets

Input (Radians) [number]

Input to the Taylor series approximation of cosine.

Outlets

Periodic Cosine Approximation [number]

The 8th order Taylor series approximation of cosine, wrapped for periodicity.

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

hot [bool] (default: 0)

All inlets trigger calculation.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

in1 [number]

Input to the Taylor series approximation of cosine.

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
cos Cosine of the input
cosT8 8th order Taylor series approximation of the cosine function. Input must be in the range [-pi, pi] in order to approximate without divergence.