Lines Matching full:matrix
45 * Q is the orthogonal matrix represented as Householder reflectors.
52 * \tparam _MatrixType The type of the sparse matrix A, must be a column-major SparseMatrix<>
75 SPQR(const _MatrixType& matrix)
82 compute(matrix);
99 void compute(const _MatrixType& matrix)
103 MatrixType mat(matrix);
106 Index col = matrix.cols();
121 * Get the number of rows of the input matrix and the Q matrix
126 * Get the number of columns of the input matrix.
139 && "SPQR::solve(): invalid number of rows of the right hand side matrix B");
152 // Solves with the triangular matrix R
162 /** \returns the sparse triangular factor R. It is a sparse matrix
173 /// Get an expression of the matrix Q
189 * Gets the rank of the matrix.
190 * It should be equal to matrixQR().cols if the matrix is full-rank
226 mutable MatrixType m_R; // The sparse matrix R in Eigen format
231 mutable Index m_rank; // The rank of the matrix
256 res = Matrix<Scalar,ResType::RowsAtCompileTime,ResType::ColsAtCompileTime>::Map(reinterpret_cast<Scalar*>(x_cd->x), x_cd->nrow, x_cd->ncol);