Perform mathematical operations on the ObjectRef that have the same key of the two given Map<int, ObjectRef> .
No files are required.
When to use
This node is used to perform mathematical operations on the ObjectRef that have the same key of the two given Map<int, ObjectRef> . The data type of the ObjectRef should be Float , Complex , Vector<float> , Vector<complex<float> > , Matrix<float> , or Matrix<complex<float> > . The operation will be addition, subtraction, multiplication, division, equal, maximum, minimum, or concatinate. Note that the data type and the size of the ObjectRef of the two Map<int, ObjectRef> for the input must be the same in order to perform the calculation.
Input
: Map$<$ int , Float $>$, Map$<$ int , Complex $>$, Map$<$ int , Vector<float> $>$, Map$<$ int , Vector<complex<float> > $>$, Map$<$ int , Matrix<float> $>$, Map$<$ int or Matrix<complex<float> > $>$ of Map<int, ObjectRef> Type.
: Map$<$ int , Float $>$, Map$<$ int , Complex $>$, Map$<$ int , Vector<float> $>$, Map$<$ int , Vector<complex<float> > $>$, Map$<$ int , Matrix<float> $>$ or Map$<$ int , Matrix<complex<float> > $>$ of Map<int, ObjectRef> Type.
Output
: Map$<$ int , Float $>$, Map$<$ int , Complex $>$, Map$<$ int , Vector<float> $>$, Map$<$ int , Vector<complex<float> > $>$, Map$<$ int , Matrix<float> $>$, Map$<$ int or Map$<$ int , bool $>$ Matrix<complex<float> > $>$ of Map<int, ObjectRef> Type.
Parameter
Parameter name |
Type |
Default value |
Unit |
Description |
OPERATION_TYPE |
Add |
Operation type to perform on the ObjectRef of the two given Map<int, ObjectRef> . Select one from Add, Sub, Mul, Div, Equal, Max, Min, or Concate. Perform addition, subtraction, multiplication, division, equality test, maximum, minimum, and concatenation, respectively. |
||
DEBUG |
false |
Enable or disable to output the conversion status to standard output. |
: string type. The operation type to perform on the ObjectRef of the two given Map<int, ObjectRef> . Select one from Add, Sub, Mul, Div, Equal, Max, Min, or Concate. Add performs Addition, Sub performs subtraction, Mul performs multiplication, Div performs division, Equal checks equality, Max takes the greater value, Min takes the smaller value, and Concate does concatenation on or between the two ObjectRef . The default value is Add.
: bool type. Setting the value to true outputs the conversion status to the standard output. The default value is false.
Input type |
Operation |
Output type |
Add, Sub, Mul, Div, Max or Min |
||
Add, Sub, Mul, Div, Max or Min |
||
Map$<$ int , Vector<float> $>$ |
Add, Sub, Mul, Div, Max or Min |
Map$<$ int , Vector<float> $>$ |
Map$<$ int , Vector<complex<float> > $>$ |
Add, Sub, Mul, Div, Max or Min |
Map$<$ int , Vector<complex<float> > $>$ |
Map$<$ int , Matrix<float> $>$ |
Add, Sub, Mul, Div, Max or Min |
Map$<$ int , Matrix<float> $>$ |
Map$<$ int , Matrix<complex<float> > $>$ |
Add, Sub, Mul, Div, Max or Min |
Map$<$ int , Matrix<complex<float> > $>$ |
Map$<$ int , Vector<float> $>$ , |
Equal |
|
Map$<$ int , Vector<complex<float> > $>$ , |
||
Map$<$ int , Matrix<float> $>$ , |
||
Map$<$ int , Matrix<complex<float> > $>$ |
||
Map$<$ int , Vector<float> $>$ , |
Concate |
same as input type, but size is different |
Map$<$ int , Vector<complex<float> > $>$ , |
||
Map$<$ int , Matrix<float> $>$ , |
||
Map$<$ int , Matrix<complex<float> > $>$ |