Lines Matching refs:Matrix
68 * such that the factorized matrix is P A P^-1.
70 * \tparam _MatrixType the type of the sparse matrix A, it must be a SparseMatrix<>
85 typedef Matrix<Scalar,Dynamic,1> VectorType;
94 SimplicialCholeskyBase(const MatrixType& matrix)
97 derived().compute(matrix);
113 * \c NumericalIssue if the matrix.appears to be negative.
131 && "SimplicialCholeskyBase::solve(): invalid number of rows of the right hand side matrix b");
145 && "SimplicialCholesky::solve(): invalid number of rows of the right hand side matrix b");
225 // we process the sparse rhs per block of NbColsAtOnce columns temporarily stored into a dense matrix.
229 Eigen::Matrix<DestScalar,Dynamic,Dynamic> tmp(size,rhsCols);
243 /** Computes the sparse Cholesky decomposition of \a matrix */
245 void compute(const MatrixType& matrix)
247 eigen_assert(matrix.rows()==matrix.cols());
248 Index size = matrix.cols();
250 ordering(matrix, ap);
353 * such that the factorized matrix is P A P^-1.
355 * \tparam _MatrixType the type of the sparse matrix A, it must be a SparseMatrix<>
372 typedef Matrix<Scalar,Dynamic,1> VectorType;
379 /** Constructs and performs the LLT factorization of \a matrix */
380 SimplicialLLT(const MatrixType& matrix)
381 : Base(matrix) {}
395 /** Computes the sparse Cholesky decomposition of \a matrix */
396 SimplicialLLT& compute(const MatrixType& matrix)
398 Base::template compute<false>(matrix);
402 /** Performs a symbolic decomposition on the sparcity of \a matrix.
413 /** Performs a numeric decomposition of \a matrix
415 * The given matrix must has the same sparcity than the matrix on which the symbolic decomposition has been performed.
424 /** \returns the determinant of the underlying matrix from the current factorization */
441 * such that the factorized matrix is P A P^-1.
443 * \tparam _MatrixType the type of the sparse matrix A, it must be a SparseMatrix<>
460 typedef Matrix<Scalar,Dynamic,1> VectorType;
468 /** Constructs and performs the LLT factorization of \a matrix */
469 SimplicialLDLT(const MatrixType& matrix)
470 : Base(matrix) {}
489 /** Computes the sparse Cholesky decomposition of \a matrix */
490 SimplicialLDLT& compute(const MatrixType& matrix)
492 Base::template compute<true>(matrix);
496 /** Performs a symbolic decomposition on the sparcity of \a matrix.
507 /** Performs a numeric decomposition of \a matrix
509 * The given matrix must has the same sparcity than the matrix on which the symbolic decomposition has been performed.
518 /** \returns the determinant of the underlying matrix from the current factorization */
542 typedef Matrix<Scalar,Dynamic,1> VectorType;
549 SimplicialCholesky(const MatrixType& matrix)
552 compute(matrix);
581 /** Computes the sparse Cholesky decomposition of \a matrix */
582 SimplicialCholesky& compute(const MatrixType& matrix)
585 Base::template compute<true>(matrix);
587 Base::template compute<false>(matrix);
591 /** Performs a symbolic decomposition on the sparcity of \a matrix.
602 /** Performs a numeric decomposition of \a matrix
604 * The given matrix must has the same sparcity than the matrix on which the symbolic decomposition has been performed.
830 ok = false; /* failure, matrix is not positive definite */