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

Method __rdiv__

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

Source from the content-addressed store, hash-verified

1379 __truediv__ = __div__
1380
1381 def __rdiv__(self, other):
1382 if isscalar(other):
1383 return poly1d(other/self.coeffs)
1384 else:
1385 other = poly1d(other)
1386 return polydiv(other, self)
1387
1388 __rtruediv__ = __rdiv__
1389

Callers

nothing calls this directly

Calls 3

isscalarFunction · 0.90
poly1dClass · 0.85
polydivFunction · 0.70

Tested by

no test coverage detected