greater_equal#
- class saiunit.math.greater_equal(x, y, *args, **kwargs)#
Return
(x >= y)element-wise.When both
xandyare Quantities,yis converted to the unit ofxbefore comparison.- Parameters:
- Returns:
out – Element-wise greater-than-or-equal comparison.
- Return type:
bool|Array
Examples
>>> import saiunit as u >>> import jax.numpy as jnp >>> u.math.greater_equal(jnp.array([3, 2, 1]), jnp.array([1, 2, 3])) Array([ True, True, False], dtype=bool)