Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __pos__
Method
__pos__
numpy/lib/polynomial.py:1331–1332 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1329
return
poly1d(-self.coeffs)
1330
1331
def
__pos__(self):
1332
return
self
1333
1334
def
__mul__(self, other):
1335
if
isscalar(other):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected