Home | History | Annotate | Download | only in LU

Lines Matching refs:Index

60     typedef typename MatrixType::Index Index;
61 typedef typename internal::plain_row_type<MatrixType, Index>::type IntRowVectorType;
62 typedef typename internal::plain_col_type<MatrixType, Index>::type IntColVectorType;
80 FullPivLU(Index rows, Index cols);
117 inline Index nonzeroPivots() const
295 inline Index rank() const
300 Index result = 0;
301 for(Index i = 0; i < m_nonzero_pivots; ++i)
312 inline Index dimensionOfKernel() const
373 inline Index rows() const { return m_lu.rows(); }
374 inline Index cols() const { return m_lu.cols(); }
388 Index m_det_pq, m_nonzero_pivots;
400 FullPivLU<MatrixType>::FullPivLU(Index rows, Index cols)
435 const Index size = matrix.diagonalSize();
436 const Index rows = matrix.rows();
437 const Index cols = matrix.cols();
443 Index number_of_transpositions = 0; // number of NONTRIVIAL transpositions, i.e. m_rowsTranspositions[i]!=i
448 for(Index k = 0; k < size; ++k)
453 Index row_of_biggest_in_corner, col_of_biggest_in_corner;
466 for(Index i = k; i < size; ++i)
503 for(Index k = size-1; k >= 0; --k)
507 for(Index k = 0; k < size; ++k)
529 const Index smalldim = (std::min)(m_lu.rows(), m_lu.cols());
564 const Index cols = dec().matrixLU().cols(), dimker = cols - rank();
590 Matrix<Index, Dynamic, 1, 0, MaxSmallDimAtCompileTime, 1> pivots(rank());
592 Index p = 0;
593 for(Index i = 0; i < dec().nonzeroPivots(); ++i)
605 for(Index i = 0; i < rank(); ++i)
612 for(Index i = 0; i < rank(); ++i)
624 for(Index i = rank()-1; i >= 0; --i)
628 for(Index i = 0; i < rank(); ++i) dst.row(dec().permutationQ().indices().coeff(i)) = -m.row(i).tail(dimker);
629 for(Index i = rank(); i < cols; ++i) dst.row(dec().permutationQ().indices().coeff(i)).setZero();
630 for(Index k = 0; k < dimker; ++k) dst.coeffRef(dec().permutationQ().indices().coeff(rank()+k), k) = Scalar(1);
659 Matrix<Index, Dynamic, 1, 0, MaxSmallDimAtCompileTime, 1> pivots(rank());
661 Index p = 0;
662 for(Index i = 0; i < dec().nonzeroPivots(); ++i)
667 for(Index i = 0; i < rank(); ++i)
690 const Index rows = dec().rows(), cols = dec().cols(),
693 const Index smalldim = (std::min)(rows, cols);
725 for(Index i = 0; i < nonzero_pivots; ++i)
727 for(Index i = nonzero_pivots; i < dec().matrixLU().cols(); ++i)