Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __rsub__
Method
__rsub__
numpy/lib/polynomial.py:1368–1370 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
1366
return
poly1d(polysub(self.coeffs, other.coeffs))
1367
1368
def
__rsub__(self, other):
1369
other = poly1d(other)
1370
return
poly1d(polysub(other.coeffs, self.coeffs))
1371
1372
def
__div__(self, other):
1373
if
isscalar(other):
Callers
nothing calls this directly
Calls
2
poly1d
Class · 0.85
polysub
Function · 0.70
Tested by
no test coverage detected