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

Method __neg__

numpy/polynomial/_polybase.py:523–526  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

521 # Numeric properties.
522
523 def __neg__(self):
524 return self.__class__(
525 -self.coef, self.domain, self.window, self.symbol
526 )
527
528 def __pos__(self):
529 return self

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected