MCPcopy Index your code
hub / github.com/numpy/numpy / __sub__

Method __sub__

numpy/lib/_polynomial_impl.py:1383–1385  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

1381 return poly1d(res)
1382
1383 def __sub__(self, other):
1384 other = poly1d(other)
1385 return poly1d(polysub(self.coeffs, other.coeffs))
1386
1387 def __rsub__(self, other):
1388 other = poly1d(other)

Callers

nothing calls this directly

Calls 2

poly1dClass · 0.85
polysubFunction · 0.70

Tested by

no test coverage detected