scipp.not_equal#

scipp.not_equal(x, y)#

Element-wise ‘!=’ (not_equal).

Warning: If one or both of the operators have variances (uncertainties) they are ignored silently, i.e., comparison is based exclusively on the values.

Parameters:
  • x (VariableLike) – Left input.

  • y (VariableLike) – Right input.

Returns:

VariableLike – Booleans that are true where a != b.