Lines Matching refs:Index
59 typedef typename MatrixType::Index Index;
60 typedef typename internal::plain_row_type<MatrixType, Index>::type IntRowVectorType;
61 typedef typename internal::plain_col_type<MatrixType, Index>::type IntColVectorType;
79 FullPivLU(Index rows, Index cols);
116 inline Index nonzeroPivots() const
294 inline Index rank() const
298 Index result = 0;
299 for(Index i = 0; i < m_nonzero_pivots; ++i)
310 inline Index dimensionOfKernel() const
371 inline Index rows() const { return m_lu.rows(); }
372 inline Index cols() const { return m_lu.cols(); }
380 Index m_det_pq, m_nonzero_pivots;
392 FullPivLU<MatrixType>::FullPivLU(Index rows, Index cols)
422 const Index size = matrix.diagonalSize();
423 const Index rows = matrix.rows();
424 const Index cols = matrix.cols();
430 Index number_of_transpositions = 0; // number of NONTRIVIAL transpositions, i.e. m_rowsTranspositions[i]!=i
435 for(Index k = 0; k < size; ++k)
440 Index row_of_biggest_in_corner, col_of_biggest_in_corner;
453 for(Index i = k; i < size; ++i)
490 for(Index k = size-1; k >= 0; --k)
494 for(Index k = 0; k < size; ++k)
516 const Index smalldim = (std::min)(m_lu.rows(), m_lu.cols());
550 const Index cols = dec().matrixLU().cols(), dimker = cols - rank();
576 Matrix<Index, Dynamic, 1, 0, MaxSmallDimAtCompileTime, 1> pivots(rank());
578 Index p = 0;
579 for(Index i = 0; i < dec().nonzeroPivots(); ++i)
591 for(Index i = 0; i < rank(); ++i)
598 for(Index i = 0; i < rank(); ++i)
610 for(Index i = rank()-1; i >= 0; --i)
614 for(Index i = 0; i < rank(); ++i) dst.row(dec().permutationQ().indices().coeff(i)) = -m.row(i).tail(dimker);
615 for(Index i = rank(); i < cols; ++i) dst.row(dec().permutationQ().indices().coeff(i)).setZero();
616 for(Index k = 0; k < dimker; ++k) dst.coeffRef(dec().permutationQ().indices().coeff(rank()+k), k) = Scalar(1);
644 Matrix<Index, Dynamic, 1, 0, MaxSmallDimAtCompileTime, 1> pivots(rank());
646 Index p = 0;
647 for(Index i = 0; i < dec().nonzeroPivots(); ++i)
652 for(Index i = 0; i < rank(); ++i)
675 const Index rows = dec().rows(), cols = dec().cols(),
678 const Index smalldim = (std::min)(rows, cols);
710 for(Index i = 0; i < nonzero_pivots; ++i)
712 for(Index i = nonzero_pivots; i < dec().matrixLU().cols(); ++i)