Cosine
Compute the cosine value of a scalar, array of scalars, vector, or array of vectors; in the latter three cases the cosine function is applied to every single scalar element in the corresponding structures. All input scalar elements are assumed to be angles that are measured in degrees.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Value (inputs:value) |
|
The value(s) for which the cosine is to be computed. Each scalar element of the value is an angle, measured in degrees. |
None |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Result (outputs:value) |
|
The original input “Value” with the cosine operator applied to each scalar value, all of which will have values lying in the range [-1, 1]. The structure of the result, arrays and tuples, will mirror that of the input. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.Cos |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Cosine |
Categories |
math:operator |
Generated Class Name |
OgnCosDatabase |
Python Module |
omni.graph.nodes |