scipp.subtract#

scipp.subtract(minuend, subtrahend)#

Element-wise difference.

Equivalent to:

minuend - subtrahend
Parameters:
  • minuend (VariableLike) – Minuend.

  • subtrahend (VariableLike) – Subtrahend.

Returns:

VariableLikesubtrahend subtracted from minuend.

Notes

See the guide on computation for general concepts and broadcasting behavior.