scipp.subtract#

scipp.subtract(minuend, subtrahend)#

Element-wise difference.

Equivalent to:

minuend - subtrahend
Parameters
Returns

Union[Variable, DataArray, Dataset] – subtrahend subtracted from minuend.

Notes

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