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

Method __neg__

numpy/lib/_polynomial_impl.py:1347–1348  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1345 return polyval(self.coeffs, val)
1346
1347 def __neg__(self):
1348 return poly1d(-self.coeffs)
1349
1350 def __pos__(self):
1351 return self

Callers

nothing calls this directly

Calls 1

poly1dClass · 0.85

Tested by

no test coverage detected