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

Function _numeric_methods

numpy/lib/mixins.py:44–48  ·  view source on GitHub ↗

Implement forward, reflected and inplace binary methods with a ufunc.

(ufunc, name)

Source from the content-addressed store, hash-verified

42
43
44def _numeric_methods(ufunc, name):
45 """Implement forward, reflected and inplace binary methods with a ufunc."""
46 return (_binary_method(ufunc, name),
47 _reflected_binary_method(ufunc, name),
48 _inplace_binary_method(ufunc, name))
49
50
51def _unary_method(ufunc, name):

Callers 1

Calls 3

_binary_methodFunction · 0.85
_reflected_binary_methodFunction · 0.85
_inplace_binary_methodFunction · 0.85

Tested by

no test coverage detected