Home | History | Annotate | Download | only in QR

Lines Matching refs:cols

88     ColPivHouseholderQR(Index rows, Index cols)
89 : m_qr(rows, cols),
90 m_hCoeffs((std::min)(rows,cols)),
91 m_colsPermutation(PermIndexType(cols)),
92 m_colsTranspositions(cols),
93 m_temp(cols),
94 m_colSqNorms(cols),
104 * ColPivHouseholderQR<MatrixType> qr(matrix.rows(), matrix.cols());
111 : m_qr(matrix.rows(), matrix.cols()),
112 m_hCoeffs((std::min)(matrix.rows(),matrix.cols())),
113 m_colsPermutation(PermIndexType(matrix.cols())),
114 m_colsTranspositions(matrix.cols()),
115 m_temp(matrix.cols()),
116 m_colSqNorms(matrix.cols()),
241 return cols() - rank();
254 return rank() == cols();
293 (*this, MatrixType::Identity(m_qr.rows(), m_qr.cols()));
297 inline Index cols() const { return m_qr.cols(); }
404 eigen_assert(m_qr.rows() == m_qr.cols() && "You can't take the determinant of a non-square matrix!");
412 eigen_assert(m_qr.rows() == m_qr.cols() && "You can't take the determinant of a non-square matrix!");
427 Index cols = matrix.cols();
431 eigen_assert(cols<=NumTraits<int>::highest());
436 m_temp.resize(cols);
438 m_colsTranspositions.resize(matrix.cols());
441 m_colSqNorms.resize(cols);
442 for(Index k = 0; k < cols; ++k)
454 RealScalar biggest_col_sq_norm = m_colSqNorms.tail(cols-k).maxCoeff(&biggest_col_index);
475 m_qr.bottomRightCorner(rows-k,cols-k)
500 m_qr.bottomRightCorner(rows-k, cols-k-1)
504 m_colSqNorms.tail(cols-k-1) -= m_qr.row(k).tail(cols-k-1).cwiseAbs2();
507 m_colsPermutation.setIdentity(PermIndexType(cols));
529 const Index cols = dec().cols(),
552 for(Index i = nonzero_pivots; i < cols; ++i) dst.row(dec().colsPermutation().indices().coeff(i)).setZero();