Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ __rtruediv__
Method
__rtruediv__
numpy/_core/tests/test_function_base.py:61–62 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
59
return
PhysicalQuantity(float(self) / float(x))
60
61
def
__rtruediv__(self, x):
62
return
PhysicalQuantity(float(x) / float(self))
63
64
65
class
PhysicalQuantity2(ndarray):
Callers
nothing calls this directly
Calls
1
PhysicalQuantity
Class · 0.85
Tested by
no test coverage detected