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

Method __mul__

numpy/polynomial/_polybase.py:547–553  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

545 return self.__class__(coef, self.domain, self.window, self.symbol)
546
547 def __mul__(self, other):
548 othercoef = self._get_coefficients(other)
549 try:
550 coef = self._mul(self.coef, othercoef)
551 except Exception:
552 return NotImplemented
553 return self.__class__(coef, self.domain, self.window, self.symbol)
554
555 def __truediv__(self, other):
556 # there is no true divide if the rhs is not a Number, although it

Callers

nothing calls this directly

Calls 2

_get_coefficientsMethod · 0.95
_mulMethod · 0.95

Tested by

no test coverage detected