MCPcopy Create free account
hub / github.com/numpy/numpy / _DomainGreaterEqual

Class _DomainGreaterEqual

numpy/ma/core.py:877–890  ·  view source on GitHub ↗

DomainGreaterEqual(v)(x) is True where x < v.

Source from the content-addressed store, hash-verified

875
876
877class _DomainGreaterEqual:
878 """
879 DomainGreaterEqual(v)(x) is True where x < v.
880
881 """
882
883 def __init__(self, critical_value):
884 "DomainGreaterEqual(v)(x) = true where x < v"
885 self.critical_value = critical_value
886
887 def __call__(self, x):
888 "Executes the call behavior."
889 with np.errstate(invalid='ignore'):
890 return umath.less(x, self.critical_value)
891
892
893class _MaskedUFunc:

Callers 1

core.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected