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

Method __sub__

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

Source from the content-addressed store, hash-verified

1362 return poly1d(res)
1363
1364 def __sub__(self, other):
1365 other = poly1d(other)
1366 return poly1d(polysub(self.coeffs, other.coeffs))
1367
1368 def __rsub__(self, other):
1369 other = poly1d(other)

Callers

nothing calls this directly

Calls 2

poly1dClass · 0.85
polysubFunction · 0.70

Tested by

no test coverage detected