Open Help
cosT8safe
Safe cosine approximation of the input
Description
8th order Taylor series approximation of the cosine function. Output is wrapped allowing the cosine to be periodically approximated without divergence.
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. |