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

Function AddRowTransToVectorNoDiag

linalg/sparsematrix.hpp:823–833  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

821 }
822
823 void AddRowTransToVectorNoDiag (int row, TVY el, FlatVector<TVX> vec) const
824 {
825 size_t first = firsti[row];
826 size_t last = firsti[row+1];
827
828 if (first == last) return;
829 if (this->colnr[last-1] == row) last--;
830
831 for (size_t j = first; j < last; j++)
832 vec[colnr[j]] += Trans(data[j]) * el;
833 }
834
835 BaseSparseMatrix & AddMerge (double s, const SparseMatrixSymmetric & m2);
836

Callers 1

MultAddMethod · 0.85

Calls 1

TransFunction · 0.50

Tested by

no test coverage detected