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

cosT8 Reference

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

cosT8

Arguments

r [number]

Optional

Input to the Taylor series approximation of cosine. Values outside of the range [-pi, pi] will begin to diverge towards negative and positive infinity.

Inlets

r [number]

Input to the Taylor series approximation of cosine. Values outside of the range [-pi, pi] will begin to diverge towards negative and positive infinity.

Outlets

out1 [number]

The 8th order Taylor series approximation of cosine.

Fixed Attributes

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

hot [bool] (default: false)

Trigger computation on all inlets.

Dynamic Attributes

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

r [number]

Input to the Taylor series approximation of cosine. Values outside of the range [-pi, pi] will begin to diverge towards negative and positive infinity.

reset [bang] (default: 0)

Banging this attribute will reset the object to its default state.

See Also

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