Lines Matching refs:Matrix
49 * such that the factorized matrix is P A P^-1.
69 typedef Matrix<Scalar,Dynamic,1> VectorType;
70 typedef Matrix<StorageIndex,Dynamic,1> VectorI;
86 explicit SimplicialCholeskyBase(const MatrixType& matrix)
89 derived().compute(matrix);
105 * \c NumericalIssue if the matrix.appears to be negative.
192 /** Computes the sparse Cholesky decomposition of \a matrix */
194 void compute(const MatrixType& matrix)
196 eigen_assert(matrix.rows()==matrix.cols());
197 Index size = matrix.cols();
200 ordering(matrix, pmat, tmp);
215 // If there is no ordering, try to directly use the input matrix without any copy
318 * such that the factorized matrix is P A P^-1.
320 * \tparam _MatrixType the type of the sparse matrix A, it must be a SparseMatrix<>
340 typedef Matrix<Scalar,Dynamic,1> VectorType;
347 /** Constructs and performs the LLT factorization of \a matrix */
348 explicit SimplicialLLT(const MatrixType& matrix)
349 : Base(matrix) {}
363 /** Computes the sparse Cholesky decomposition of \a matrix */
364 SimplicialLLT& compute(const MatrixType& matrix)
366 Base::template compute<false>(matrix);
370 /** Performs a symbolic decomposition on the sparcity of \a matrix.
381 /** Performs a numeric decomposition of \a matrix
383 * The given matrix must has the same sparcity than the matrix on which the symbolic decomposition has been performed.
392 /** \returns the determinant of the underlying matrix from the current factorization */
409 * such that the factorized matrix is P A P^-1.
411 * \tparam _MatrixType the type of the sparse matrix A, it must be a SparseMatrix<>
431 typedef Matrix<Scalar,Dynamic,1> VectorType;
439 /** Constructs and performs the LLT factorization of \a matrix */
440 explicit SimplicialLDLT(const MatrixType& matrix)
441 : Base(matrix) {}
460 /** Computes the sparse Cholesky decomposition of \a matrix */
461 SimplicialLDLT& compute(const MatrixType& matrix)
463 Base::template compute<true>(matrix);
467 /** Performs a symbolic decomposition on the sparcity of \a matrix.
478 /** Performs a numeric decomposition of \a matrix
480 * The given matrix must has the same sparcity than the matrix on which the symbolic decomposition has been performed.
489 /** \returns the determinant of the underlying matrix from the current factorization */
513 typedef Matrix<Scalar,Dynamic,1> VectorType;
520 explicit SimplicialCholesky(const MatrixType& matrix)
523 compute(matrix);
552 /** Computes the sparse Cholesky decomposition of \a matrix */
553 SimplicialCholesky& compute(const MatrixType& matrix)
556 Base::template compute<true>(matrix);
558 Base::template compute<false>(matrix);
562 /** Performs a symbolic decomposition on the sparcity of \a matrix.
573 /** Performs a numeric decomposition of \a matrix
575 * The given matrix must has the same sparcity than the matrix on which the symbolic decomposition has been performed.