Lines Matching refs:matrix

28   * such that the factorized matrix is P A P^-1.
30 * \tparam _MatrixType the type of the sparse matrix A, it must be a SparseMatrix<>
55 SimplicialCholeskyBase(const MatrixType& matrix)
58 derived().compute(matrix);
74 * \c NumericalIssue if the matrix.appears to be negative.
92 && "SimplicialCholeskyBase::solve(): invalid number of rows of the right hand side matrix b");
106 && "SimplicialCholesky::solve(): invalid number of rows of the right hand side matrix b");
183 /** Computes the sparse Cholesky decomposition of \a matrix */
185 void compute(const MatrixType& matrix)
187 eigen_assert(matrix.rows()==matrix.cols());
188 Index size = matrix.cols();
190 ordering(matrix, ap);
296 * such that the factorized matrix is P A P^-1.
298 * \tparam _MatrixType the type of the sparse matrix A, it must be a SparseMatrix<>
323 /** Constructs and performs the LLT factorization of \a matrix */
324 SimplicialLLT(const MatrixType& matrix)
325 : Base(matrix) {}
339 /** Computes the sparse Cholesky decomposition of \a matrix */
340 SimplicialLLT& compute(const MatrixType& matrix)
342 Base::template compute<false>(matrix);
346 /** Performs a symbolic decomposition on the sparcity of \a matrix.
357 /** Performs a numeric decomposition of \a matrix
359 * The given matrix must has the same sparcity than the matrix on which the symbolic decomposition has been performed.
368 /** \returns the determinant of the underlying matrix from the current factorization */
385 * such that the factorized matrix is P A P^-1.
387 * \tparam _MatrixType the type of the sparse matrix A, it must be a SparseMatrix<>
413 /** Constructs and performs the LLT factorization of \a matrix */
414 SimplicialLDLT(const MatrixType& matrix)
415 : Base(matrix) {}
434 /** Computes the sparse Cholesky decomposition of \a matrix */
435 SimplicialLDLT& compute(const MatrixType& matrix)
437 Base::template compute<true>(matrix);
441 /** Performs a symbolic decomposition on the sparcity of \a matrix.
452 /** Performs a numeric decomposition of \a matrix
454 * The given matrix must has the same sparcity than the matrix on which the symbolic decomposition has been performed.
463 /** \returns the determinant of the underlying matrix from the current factorization */
494 SimplicialCholesky(const MatrixType& matrix)
497 compute(matrix);
526 /** Computes the sparse Cholesky decomposition of \a matrix */
527 SimplicialCholesky& compute(const MatrixType& matrix)
530 Base::template compute<true>(matrix);
532 Base::template compute<false>(matrix);
536 /** Performs a symbolic decomposition on the sparcity of \a matrix.
547 /** Performs a numeric decomposition of \a matrix
549 * The given matrix must has the same sparcity than the matrix on which the symbolic decomposition has been performed.