MCPcopy Index your code
hub / github.com/numpy/numpy / __truediv__

Method __truediv__

numpy/_core/tests/test_function_base.py:58–59  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

56 __rmul__ = __mul__
57
58 def __truediv__(self, x):
59 return PhysicalQuantity(float(self) / float(x))
60
61 def __rtruediv__(self, x):
62 return PhysicalQuantity(float(x) / float(self))

Callers

nothing calls this directly

Calls 1

PhysicalQuantityClass · 0.85

Tested by

no test coverage detected