Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __div__
Method
__div__
numpy/lib/user_array.py:88–89 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
86
return
self
87
88
def
__div__(self, other):
89
return
self._rc(divide(self.array, asarray(other)))
90
91
def
__rdiv__(self, other):
92
return
self._rc(divide(asarray(other), self.array))
Callers
nothing calls this directly
Calls
3
_rc
Method · 0.95
asarray
Function · 0.90
divide
Function · 0.85
Tested by
no test coverage detected