Lines Matching refs:Index
50 * NOTE : The Index type of R is always UF_long. You can get it with SPQR::Index
62 typedef UF_long Index ;
63 typedef SparseMatrix<Scalar, ColMajor, Index> MatrixType;
116 Index col = matrix.cols();
133 inline Index rows() const {return m_cR->nrow; }
138 inline Index cols() const { return m_cR->ncol; }
164 Index rk = this->rank();
166 y.resize((std::max)(cols(),Index(y.rows())),y.cols());
172 for(Index i = 0; i < rk; ++i) dest.row(m_E[i]) = y.row(i);
173 for(Index i = rk; i < cols(); ++i) dest.row(m_E[i]).setZero();
187 m_R = viewAsEigen<Scalar,ColMajor, typename MatrixType::Index>(*m_cR);
201 Index n = m_cR->ncol;
203 for(Index j = 0; j <n; j++) colsPerm.indices()(j) = m_E[j];
211 Index rank() const
250 mutable Index *m_E; // The permutation applied to columns
252 mutable Index *m_HPinv; // The row permutation of H
254 mutable Index m_rank; // The rank of the matrix
264 typedef typename SPQRType::Index Index;
268 inline Index rows() const { return m_transpose ? m_spqr.rows() : m_spqr.cols(); }
269 inline Index cols() const { return m_other.cols(); }