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

Method Scale

python/__expr.py:132–133  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

130
131class SumExpr(BinExpr):
132 def Scale(self, s):
133 return SumExpr(self.a.Scale(s), self.b.Scale(s))
134
135 def AssignTo(self, v, s = 1.0):
136 self.a.AssignTo(v, s)

Callers 5

__sub__Method · 0.45
__mul__Method · 0.45
ScaleMethod · 0.45
PINVITFunction · 0.45
LOBPCGFunction · 0.45

Calls 1

SumExprClass · 0.70

Tested by

no test coverage detected