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

Method __call__

numpy/ma/core.py:834–837  ·  view source on GitHub ↗

Executes the call behavior.

(self, x)

Source from the content-addressed store, hash-verified

832 self.eps = eps
833
834 def __call__(self, x):
835 "Executes the call behavior."
836 with np.errstate(invalid='ignore'):
837 return umath.less(umath.absolute(umath.cos(x)), self.eps)
838
839
840class _DomainSafeDivide:

Callers 4

__idiv__Method · 0.45
__ifloordiv__Method · 0.45
__itruediv__Method · 0.45
__call__Method · 0.45

Calls 1

lessMethod · 0.45

Tested by

no test coverage detected