Nth Root#
Computes the nth root of value. The result is the same type as the input value if the numerator is a decimal type. Otherwise the result is a double. If the input is a vector or matrix, then the node will calculate the square root of each element , and output a vector or matrix of the same size. Note that there are combinations of inputs that can result in a loss of precision due to different value ranges. Taking roots of a negative number will give a result of NaN except for cube root.
Installation#
To use this Node, you must enable omni.graph.nodes
in the Extension Manager.
Inputs#
Name |
Type |
Description |
Default |
---|---|---|---|
Nth Root (nthRoot) |
|
Take the nth root |
2 |
Value (value) |
|
The input value |
Outputs#
Name |
Type |
Description |
Default |
---|---|---|---|
Result (result) |
|
Result of square root |