Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NGSolve/ngsolve
/ expr_add
Function
expr_add
python/__expr.py:13–14 ·
view source on GitHub ↗
(a,b)
Source
from the content-addressed store, hash-verified
11
raise
TypeError(
'cannot convert '
+ str(type(a)) +
' to expression'
)
12
13
def
expr_add(a,b):
14
return
Expr(a) + Expr(b)
15
16
def
expr_sub(a,b):
17
return
Expr(a) - Expr(b)
Callers
nothing calls this directly
Calls
1
Expr
Function · 0.70
Tested by
no test coverage detected