Prev: Value Modules Next: Function Modules
4. Operator Modules
The modules in the "Operators" category represent standard mathematical operators.
Add
This module outputs the sum of its two inputs.
Subtract
This module outputs its first input minus its second input.
Multiply
This module outputs the product of its two inputs.
Divide
This module outputs its first input divided by its second input.
Power
This module outputs its first input raised to the power of its second input. More
accurately, its output is given by:
y(x) = | xp | if x>0 |
| -x-p | if x<0 |
where x and p are the two inputs.
Mod
This module calculates its output value according to:
y(x) = x Mod M
where the input value x and modulus M correspond to the two input ports.
Greater Than
This module has two input ports. Its output is equal to 1 if the first input value is
greater than the second one, and zero otherwise.
You might wonder why there is a "greater than" module, but not a "less than" module. Hint:
Try reversing the inputs.
Min
This module outputs the minimum of its two inputs.
Max
This module outputs the maximum of its two inputs.
Prev: Value Modules Next: Function Modules