Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NGSolve/ngsolve
/ AddTo
Method
AddTo
linalg/multivector.hpp:344–348 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
342
}
343
344
void AddTo (FlatVector<double> s, MultiVector & res) const override
345
{
346
Vector<T> hv = pw_mult(scale, s);
347
mv->AddTo (hv, res);
348
}
349
350
void AssignTo (FlatVector<Complex> s, MultiVector & res) const override
351
{
Callers
nothing calls this directly
Calls
2
pw_mult
Function · 0.85
AddTo
Method · 0.45
Tested by
no test coverage detected