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

Method __mul__

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

Source from the content-addressed store, hash-verified

52 return PhysicalQuantity(float(x) - float(self))
53
54 def __mul__(self, x):
55 return PhysicalQuantity(float(x) * float(self))
56 __rmul__ = __mul__
57
58 def __truediv__(self, x):

Callers

nothing calls this directly

Calls 1

PhysicalQuantityClass · 0.85

Tested by

no test coverage detected