Home | History | Annotate | Download | only in Skyline

Lines Matching refs:cols

78     inline Index cols() const {
425 const Index stop = m_colStartIndex[cols()];
433 for (Index innerIdx = cols(); innerIdx > inner; innerIdx--) {
513 const Index stop = m_colStartIndex[cols()];
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];
562 // m_colStartIndex[cols()] = m_colStartIndex[cols()-1] + m_data.upperProfile(cols()-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,
614 m_colStartIndex = new Index [cols + 1];
622 memset(m_colStartIndex, 0, (cols + 1) * sizeof (Index));
635 inline SkylineMatrix(size_t rows, size_t cols)
637 resize(rows, cols);
665 resize(other.rows(), other.cols());
716 for (Index colIdx = 0; colIdx < m.cols(); colIdx++) {