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

Method __mul__

numpy/lib/_polynomial_impl.py:1353–1358  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

1351 return self
1352
1353 def __mul__(self, other):
1354 if isscalar(other):
1355 return poly1d(self.coeffs * other)
1356 else:
1357 other = poly1d(other)
1358 return poly1d(polymul(self.coeffs, other.coeffs))
1359
1360 def __rmul__(self, other):
1361 if isscalar(other):

Callers

nothing calls this directly

Calls 3

isscalarFunction · 0.90
poly1dClass · 0.85
polymulFunction · 0.70

Tested by

no test coverage detected