Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NGSolve/ngsolve
/ __add__
Method
__add__
python/__expr.py:47–48 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
45
return
self.Scale(other)
46
47
def
__add__(self, other):
48
return
SumExpr(self, Expr(other))
49
50
def
__sub__(self, other):
51
return
SumExpr(self, Expr(other).Scale(-1))
Callers
nothing calls this directly
Calls
2
SumExpr
Class · 0.70
Expr
Function · 0.70
Tested by
no test coverage detected