| 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 |
nothing calls this directly
no test coverage detected