scipp.subtract
scipp.subtract¶
- scipp.subtract(minuend, subtrahend)¶
Element-wise difference.
Equivalent to
minuend - subtrahend
- Parameters
minuend (VariableLike) – Minuend.
subtrahend (VariableLike) – Subtrahend.
- Returns
subtrahend
subtracted fromminuend
.- Return type
VariableLike
See the guide on computation for general concepts and broadcasting behavior.