scipp.reciprocal#

scipp.reciprocal(x, *, out=None)#

Element-wise reciprocal.

Parameters
Raises

scipp.DTypeError – If the dtype has no reciprocal, e.g., if it is a string.

Returns

Union[Variable, DataArray, Dataset, DataGroup, Unit] – The reciprocal values of the input.