Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __neg__
Method
__neg__
Lib/statistics.py:1419–1421 ·
view source on GitHub ↗
Negates mu while keeping sigma the same.
(x1)
Source
from the content-addressed store, hash-verified
1417
return
NormalDist(x1._mu, x1._sigma)
1418
1419
def
__neg__(x1):
1420
"Negates mu while keeping sigma the same."
1421
return
NormalDist(-x1._mu, x1._sigma)
1422
1423
__radd__ = __add__
1424
Callers
nothing calls this directly
Calls
1
NormalDist
Class · 0.85
Tested by
no test coverage detected