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

Method __call__

numpy/ma/core.py:871–874  ·  view source on GitHub ↗

Executes the call behavior.

(self, x)

Source from the content-addressed store, hash-verified

869 self.critical_value = critical_value
870
871 def __call__(self, x):
872 "Executes the call behavior."
873 with np.errstate(invalid='ignore'):
874 return umath.less_equal(x, self.critical_value)
875
876
877class _DomainGreaterEqual:

Callers

nothing calls this directly

Calls 1

less_equalMethod · 0.45

Tested by

no test coverage detected