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

Method __rmul__

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

Source from the content-addressed store, hash-verified

607 return self.__class__(coef, self.domain, self.window, self.symbol)
608
609 def __rmul__(self, other):
610 try:
611 coef = self._mul(other, self.coef)
612 except Exception:
613 return NotImplemented
614 return self.__class__(coef, self.domain, self.window, self.symbol)
615
616 def __rdiv__(self, other):
617 # set to __floordiv__ /.

Callers

nothing calls this directly

Calls 1

_mulMethod · 0.95

Tested by

no test coverage detected