Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __div__
Method
__div__
numpy/core/tests/test_function_base.py:32–33 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
30
__rmul__ = __mul__
31
32
def
__div__(self, x):
33
return
PhysicalQuantity(float(self) / float(x))
34
35
def
__rdiv__(self, x):
36
return
PhysicalQuantity(float(x) / float(self))
Callers
nothing calls this directly
Calls
1
PhysicalQuantity
Class · 0.85
Tested by
no test coverage detected