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

Method __add__

numpy/lib/polynomial.py:1348–1350  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

1346 return poly1d(polymul(self.coeffs, other.coeffs))
1347
1348 def __add__(self, other):
1349 other = poly1d(other)
1350 return poly1d(polyadd(self.coeffs, other.coeffs))
1351
1352 def __radd__(self, other):
1353 other = poly1d(other)

Callers

nothing calls this directly

Calls 2

poly1dClass · 0.85
polyaddFunction · 0.70

Tested by

no test coverage detected