Exponent
Computes the base input raised to the power of the exponent. The result is the same type as the base input for floating point types. The result is double for integral values to allow for negative exponents. If the input is a vector or matrix, then the node calculates the exponent for each element and computes a vector or matrix of the same size.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Base (inputs:base) |
|
Base value that will be raised to the power of exponent. |
None |
Exponent (inputs:exponent) |
|
Power to raise the base value “Base” to. If “Base” consists of an array, vector, or matrix, then the exponent will be applied to each member of the aforementioned data structures. |
2 |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Result (outputs:result) |
|
Result of “Base” raised to the value in “Exponent”. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.Exponent |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Exponent |
Categories |
math:operator |
Generated Class Name |
OgnExponentDatabase |
Python Module |
omni.graph.nodes |