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

Method __radd__

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

Source from the content-addressed store, hash-verified

593 return res
594
595 def __radd__(self, other):
596 try:
597 coef = self._add(other, self.coef)
598 except Exception:
599 return NotImplemented
600 return self.__class__(coef, self.domain, self.window, self.symbol)
601
602 def __rsub__(self, other):
603 try:

Callers

nothing calls this directly

Calls 1

_addMethod · 0.95

Tested by

no test coverage detected