Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ __divmod__
Method
__divmod__
numpy/lib/_user_array_impl.py:135–137 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
133
return
self
134
135
def
__divmod__(self, other):
136
return
(self._rc(divide(self.array, other)),
137
self._rc(remainder(self.array, other)))
138
139
def
__rdivmod__(self, other):
140
return
(self._rc(divide(other, self.array)),
Callers
nothing calls this directly
Calls
1
_rc
Method · 0.95
Tested by
no test coverage detected