Codebox Operators rsub

rsub

Reverse subtraction (subtract second input from first)

rsub(in1, in2): out1

Arguments:

Arguments

NameTypeDefaultDescription
in1number

The value in the left inlet is subtracted from this value and the result is sent out the outlet.

in2number

Performs the subtraction with the value currently stored.

Returns

NameTypeDescription
out1number

The difference between the two numbers received in the inlets.

Aliases

  • rminus
  • !-