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

Method __div__

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

Source from the content-addressed store, hash-verified

1370 return poly1d(polysub(other.coeffs, self.coeffs))
1371
1372 def __div__(self, other):
1373 if isscalar(other):
1374 return poly1d(self.coeffs/other)
1375 else:
1376 other = poly1d(other)
1377 return polydiv(self, other)
1378
1379 __truediv__ = __div__
1380

Callers

nothing calls this directly

Calls 3

isscalarFunction · 0.90
poly1dClass · 0.85
polydivFunction · 0.70

Tested by

no test coverage detected