MCPcopy Create free account
hub / github.com/numpy/numpy / __rdiv__

Method __rdiv__

numpy/core/tests/test_function_base.py:35–36  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

33 return PhysicalQuantity(float(self) / float(x))
34
35 def __rdiv__(self, x):
36 return PhysicalQuantity(float(x) / float(self))
37
38
39class PhysicalQuantity2(ndarray):

Callers

nothing calls this directly

Calls 1

PhysicalQuantityClass · 0.85

Tested by

no test coverage detected