Nube iO - Rubix Wires: Math Nodes

Rubix Wires: Math Nodes


This article describes the Rubix Wires nodes that are in the Math category. 

Math

The `Math` category contains simple mathematical nodes than can be used to make numeric calculations.

Add

This node performs an addtion operation on all inputs.

Inputs

This node has a variable number of inputs.
  1. [in 1] - First term in addition calculation.
  2. [in 2] - Second term in addition calculation.
  3. [in x] - x-th term in addition calculation.  Where x is any subsequent input set from the node settings.

Outputs

  1. output - Numeric sum of all inputs.

Settings

  1. Name - Name of the node.
  2. Inputs Count - Configures the number of inputs.
  3. in 1/in 2/in x... - Input values can be set from settings as a fallback from wired input values.

Operation

('output' = 'in 1' + 'in 2' + ...) 'output' is the numeric result of adding of all numeric inputs.   Input values can be set from settings. The number of inputs is configurable from settings.

Subtract

This node performs a subtraction operation on all inputs.

Inputs

This node has a variable number of inputs.
  1. [in 1] - First term in subtraction calculation.
  2. [in 2] - Second term in subtraction calculation.
  3. [in x] - x-th term in subtraction calculation.  Where x is any subsequent input set from the node settings.

Outputs

  1. output - Numeric result of subtracting each subsequent input value in order.

Settings

  1. Name - Name of the node.
  2. Inputs Count - Configures the number of inputs.
  3. in 1/in 2/in x... - Input values can be set from settings as a fallback from wired input values.

Operation

('output' = 'in 1' - 'in 2' - ...) 'output' is the numeric result of subtracting each numeric input in order.  Input values can be set from settings.  The number of inputs is configurable from settings.

Multiply

This node performs a multiplication operation on all inputs.

Inputs

This node has a variable number of inputs.
  1. [in 1] - First term in multiplication calculation.
  2. [in 2] - Second term in multiplication calculation.
  3. [in x] - x-th term in multiplication calculation.  Where x is any subsequent input set from the node settings.

Outputs

  1. output - Numeric product of all inputs.

Settings

  1. Name - Name of the node.
  2. Inputs Count - Configures the number of inputs.
  3. in 1/in 2/in x... - Input values can be set from settings as a fallback from wired input values.

Operation

('output' = 'in 1' * 'in 2' * ...) 'output' is the result of multiplying all numeric inputs.  Input values can be set from settings.  The number of inputs is configurable from settings.

Divide

This node performs a divison operation on all inputs.

Inputs

This node has a variable number of inputs.
  1. [in 1] - First term in division calculation.
  2. [in 2] - Second term in division calculation.
  3. [in x] - x-th term in division calculation.  Where x is any subsequent input set from the node settings.

Outputs

  1. output - Numeric result of dividing each subsequent input value in order.

Settings

  1. Name - Name of the node.
  2. Inputs count Configures the number of inputs.
  3. in 1/in 2/in x... - Input values can be set from settings as a fallback from wired input values.

Operation

('output' = 'in 1' / 'in 2' / ...) 'output' is the numeric result of dividing each numeric input in order.  Input values can be set from settings.  The number of inputs is configurable from settings.

Absolute

This node performs an absolute value operation on the single input value.  Absolute value operation changes a negative number to a positive number.

Inputs

  1. in 1 - Input Value

Outputs

  1. output- Numeric result of absolute value operation.

Settings

  1. Name - Name of the node.

Operation

('output' = |'in 1'|)  'output' is the absolute value (positive) of the Numeric input.

Modulus

This node performs a modulo operation.  The result of a modulo operation is the remainer of the division of the two input terms. 

Inputs

  1. [in 1] - Numerator of division operation.  This is the number that is being divided.
  2. [in 2] - Denominator of division operation.  This is the number that the numerator is being divided by.

Outputs

  1. output  - Output is the numeric result of the modulo operation.  It is equal to the remainer of dividing `in 1` by `in 2`.

Settings

  1. Name - Name of the node.
  2. in 1/in 2- Input values can be set from settings as a fallback from wired input values.

Operation

('output' = 'in 1' % 'in 2')  'output' is the result of a modulo operation on the numeric inputs.  Input values can be set from settings.

Power

This node performs an exponentiation operation on input values.

Input

  1. [in 1] - Base of exponentiation operation.  
  2. [in 2] - Exponent (power) of exponentiation operation.  

Output

  1. output - Numeric result of exponentiation calculation where `in 1` is the base and `in 2` is the exponent.

Settings

  1. Name - Name of the node.
  2. in 1/in 2- Input values can be set from settings as a fallback from wired input values.

Operation

('output' = 'in 1' ^ 'in 2')  'output' is the result of 'in 1' to the power of 'in 2'.   Input values can be set from settings.







    • Related Articles

    • Rubix Wires: Num-Transform Nodes

      This article describes the Rubix Wires nodes that are in the Num-Transform category. Num-Transform The `Num-Transform` category contains nodes that modify numeric values.  Round This node rounds a numeric value to a configured number of decimal ...
    • Rubix Wires: Statistics Nodes

      This article describes the Rubix Wires nodes that are in the Statistics category.   Statistics The `Statistics` category contains nodes that provide statistical analysis functionalities.  Min-Max-Average This node provides minimum, maximum, and ...
    • Rubix Wires: Count Nodes

      This article describes the Rubix Wires nodes that are in the Count category. Count The `Count` category contains nodes that are used to perform counting operations involving stepped changes in output values. Counter This node performs addition or ...
    • Rubix Wires: Dashboard Nodes

      This article describes the Rubix Wires nodes that are in the Dashboard category. Dashboard The `Dashboard` category contains nodes that interact with the Wires Dashboard.  The Wires Dashboard provides a way to interact with the nodes/flows built in ...
    • Rubix Wires: Widget Nodes

      This article describes the Rubix Wires nodes that are in the Widgets category. Widget The `Widget` category contains nodes that are used in conjunction with an external user interface.   These nodes are often used to support extended functions from ...