Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __neg__
Method
__neg__
numpy/f2py/symbolic.py:425–426 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
423
return
self
424
425
def
__neg__(self):
426
return
self * -1
427
428
def
__add__(self, other):
429
other = as_expr(other)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected