MCPcopy Index your code
hub / github.com/numpy/numpy / _DomainGreater

Class _DomainGreater

numpy/ma/core.py:912–925  ·  view source on GitHub ↗

DomainGreater(v)(x) is True where x <= v.

Source from the content-addressed store, hash-verified

910
911
912class _DomainGreater:
913 """
914 DomainGreater(v)(x) is True where x <= v.
915
916 """
917
918 def __init__(self, critical_value):
919 "DomainGreater(v)(x) = true where x <= v"
920 self.critical_value = critical_value
921
922 def __call__(self, x):
923 "Executes the call behavior."
924 with np.errstate(invalid='ignore'):
925 return umath.less_equal(x, self.critical_value)
926
927
928class _DomainGreaterEqual:

Callers 1

core.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…