Lines Matching full:rows
74 inline Index rows() const {
456 const Index stop = m_rowStartIndex[rows()];
464 for (Index innerIdx = rows(); innerIdx > outer; innerIdx--) {
486 const Index stop = m_rowStartIndex[rows()];
536 if (rows() > cols())
537 m_data.resize(cols(), cols(), rows(), m_colStartIndex[cols()] + 1, m_rowStartIndex[rows()] + 1);
539 m_data.resize(rows(), cols(), rows(), m_colStartIndex[cols()] + 1, m_rowStartIndex[rows()] + 1);
541 // eigen_assert(rows() == cols() && "memory reorganisatrion only works with suare matrix");
543 // Scalar* newArray = new Scalar[m_colStartIndex[cols()] + 1 + m_rowStartIndex[rows()] + 1];
545 // for (Index row = 0; row < rows(); row++) {
561 // m_rowStartIndex[rows()] = m_rowStartIndex[rows()-1] + m_data.lowerProfile(rows()-1);
570 if (rows() > cols())
571 m_data.resize(cols(), rows(), cols(), m_rowStartIndex[cols()] + 1, m_colStartIndex[cols()] + 1);
573 m_data.resize(rows(), rows(), cols(), m_rowStartIndex[rows()] + 1, m_colStartIndex[rows()] + 1);
586 /** Resizes the matrix to a \a rows x \a cols matrix and initializes it to zero
589 void resize(size_t rows, size_t cols) {
590 const Index diagSize = rows > cols ? cols : rows;
591 m_innerSize = IsRowMajor ? cols : rows;
593 eigen_assert(rows == cols && "Skyline matrix must be square matrix");
598 m_data.resize(diagSize, IsRowMajor ? cols : rows, IsRowMajor ? rows : cols,
605 m_data.resize(diagSize, IsRowMajor ? cols : rows, IsRowMajor ? rows : cols,
615 m_rowStartIndex = new Index [rows + 1];
623 memset(m_rowStartIndex, 0, (rows + 1) * sizeof (Index));
635 inline SkylineMatrix(size_t rows, size_t cols)
637 resize(rows, cols);
665 resize(other.rows(), other.cols());
715 for (Index rowIdx = 0; rowIdx < m.rows(); rowIdx++) {