Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __mod__
Method
__mod__
numpy/lib/user_array.py:98–99 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
96
return
self
97
98
def
__mod__(self, other):
99
return
self._rc(remainder(self.array, other))
100
101
def
__rmod__(self, other):
102
return
self._rc(remainder(other, self.array))
Callers
nothing calls this directly
Calls
2
_rc
Method · 0.95
remainder
Function · 0.85
Tested by
no test coverage detected