scipp.negative#

scipp.negative(a)#

Element-wise negative.

Equivalent to:

-a
Parameters

a – Input data.

Returns

Union[Variable, DataArray, Dataset, DataGroup] – a with flipped signs.