Lines Matching refs:row
127 for (Index row = 0; row < rows; row++) {
128 const double pivot = m_lu.coeffDiag(row);
131 const Index& col = row;
138 for (Index rrow = row + 1; rrow < m_lu.rows(); rrow++) {
139 typename MatrixType::InnerUpperIterator uItPivot(m_lu, row);
143 uItPivot += (rrow - row - 1);
157 for (Index rrow = row + 1; rrow < m_lu.rows(); rrow++) {
158 typename MatrixType::InnerUpperIterator uItPivot(m_lu, row);
162 for (Index i = 0; i < rrow - row - 1; i++) {
163 m_lu.coeffRefLower(rrow, row + i + 1) -= uItPivot.value() * coef;
170 for (Index rrow = row + 1; rrow < m_lu.rows(); rrow++) {
172 typename MatrixType::InnerUpperIterator uItPivot(m_lu, row);
176 uItPivot += (rrow - row - 1);
191 for (Index row = 0; row < rows; row++) {
192 typename MatrixType::InnerLowerIterator llIt(m_lu, row);
195 for (Index col = llIt.col(); col < row; col++) {
196 if (m_lu.coeffExistLower(row, col)) {
199 typename MatrixType::InnerLowerIterator lIt(m_lu, row);
203 const Index offset = lIt.col() - uIt.row();
206 Index stop = offset > 0 ? col - lIt.col() : col - uIt.row();
214 Scalar newCoeff = m_lu.coeffLower(row, col) - rowVal.dot(colVal);
220 Scalar newCoeff = m_lu.coeffLower(row, col);
230 m_lu.coeffRefLower(row, col) = newCoeff / diag;
235 const Index col = row;
237 for (Index rrow = uuIt.row(); rrow < col; rrow++) {
241 const Index offset = lIt.col() - uIt.row();
243 Index stop = offset > 0 ? rrow - lIt.col() : rrow - uIt.row();
269 typename MatrixType::InnerLowerIterator lIt(m_lu, row);
270 typename MatrixType::InnerUpperIterator uIt(m_lu, row);
272 const Index offset = lIt.col() - uIt.row();
279 Scalar newCoeff = m_lu.coeffDiag(row) - rowVal.dot(colVal);
285 Scalar newCoeff = m_lu.coeffDiag(row);
293 m_lu.coeffRefDiag(row) = newCoeff;
312 for (Index row = 0; row < rows; row++) {
313 x->coeffRef(row) = b.coeff(row);
314 Scalar newVal = x->coeff(row);
315 typename MatrixType::InnerLowerIterator lIt(m_lu, row);
318 while (lIt.col() < row) {
324 x->coeffRef(row) = newVal;
338 x->coeffRef(uIt.row()) -= x_col * uIt.value();