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

Method __mul__

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

Source from the content-addressed store, hash-verified

26 return PhysicalQuantity(float(x) - float(self))
27
28 def __mul__(self, x):
29 return PhysicalQuantity(float(x) * float(self))
30 __rmul__ = __mul__
31
32 def __div__(self, x):

Callers

nothing calls this directly

Calls 1

PhysicalQuantityClass · 0.85

Tested by

no test coverage detected