scipp.less_equal

scipp.less_equal(x, y)

Element-wise ‘<=’ (less_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.

Raises

If the units of inputs are not the same, or if the dtypes of inputs cannot be compared.

Returns

Booleans that are true if a <= b.

Return type

VariableLike