MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / __init__

Method __init__

python/__expr.py:103–105  ·  view source on GitHub ↗
(self, matexpr, s=1.0)

Source from the content-addressed store, hash-verified

101
102class TransExpr(MatExpr):
103 def __init__(self, matexpr, s=1.0):
104 self.a = Expr(matexpr).a
105 self.s = s*Expr(matexpr).s
106
107 def MultScale(self, s, x, y):
108 self.a.MultTrans(s*self.s,x.a,y.a)

Callers

nothing calls this directly

Calls 1

ExprFunction · 0.70

Tested by

no test coverage detected