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

Method MultTransAdd

linalg/special_matrix.cpp:76–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 }
75
76 void PermutationMatrix :: MultTransAdd (double s, const BaseVector & x, BaseVector & y) const
77 {
78 auto fvx = x.FV<double>();
79 auto fvy = y.FV<double>();
80 for (size_t i = 0; i < ind.Size(); i++)
81 if(ind[i] != size_t(-1))
82 fvy(ind[i]) += s * fvx(i);
83 }
84
85
86

Callers

nothing calls this directly

Calls 8

FV<double>Method · 0.80
InnerProductDMethod · 0.80
FV<Complex>Method · 0.80
InnerProductFunction · 0.70
TransFunction · 0.50
SizeMethod · 0.45
RangeMethod · 0.45
MultTransAddMethod · 0.45

Tested by

no test coverage detected