Multiply
Computes the element-wise product of two or more inputs (multiplication). This includes simple values, tuples, arrays, and arrays of tuples. If one input has a higher dimension than the other, then the input with lower dimension will be added to each element of the higher-dimension input. Examples: - scalar * tuple = resultTuple (where resultTuple is formed by multiplying scalar to each element in tuple). - tuple * arrayOfTuples = resultArrayOfTuples (where resultArrayOfTuples is formed by multiplying each element in tuple with each corresponding element of each tuple in arrayOfTuples). - scalar * arrayOfTuples = resultArrayOfTuples (where resultArrayOfTuples is formed by multiplying scalar to each element of every tuple in arrayOfTuples). To add/remove factors on this node, select the node and press the small “+”/”-” buttons in the bottom-right corner of the “Inputs” widget in the “Property” window.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
A (inputs:a) |
|
First value to multiply. |
None |
B (inputs:b) |
|
Second value to multiply. |
None |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Product (outputs:product) |
|
The element-wise product of the input numerical values (with preserved typing). |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.Multiply |
Version |
2 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Multiply |
Categories |
math:operator |
Generated Class Name |
OgnMultiplyDatabase |
Python Module |
omni.graph.nodes |