![]() |
MFEM v4.8.0
Finite element discretization library
|
#include <densemat.hpp>
Public Member Functions | |
CholeskyFactors () | |
CholeskyFactors (real_t *data_) | |
bool | Factor (int m, real_t TOL=0.0) override |
Compute the Cholesky factorization of the current matrix. | |
real_t | Det (int m) const override |
void | LMult (int m, int n, real_t *X) const |
void | UMult (int m, int n, real_t *X) const |
void | LSolve (int m, int n, real_t *X) const |
void | USolve (int m, int n, real_t *X) const |
void | Solve (int m, int n, real_t *X) const override |
void | RightSolve (int m, int n, real_t *X) const |
void | GetInverseMatrix (int m, real_t *X) const override |
Assuming L.L^t = A factored data of size (m x m), compute X <- A^{-1}. | |
![]() | |
Factors () | |
Factors (real_t *data_) | |
virtual | ~Factors () |
Additional Inherited Members | |
![]() | |
real_t * | data |
Class that can compute Cholesky factorizations of external data of an SPD matrix and perform various operations with the factored data.
Definition at line 776 of file densemat.hpp.
|
inline |
With this constructor, the (public) data should be set explicitly before calling class methods.
Definition at line 782 of file densemat.hpp.
|
inline |
Definition at line 784 of file densemat.hpp.
|
overridevirtual |
Assuming LL^t = A factored data of size (m x m), compute |A| from the diagonal values of L
Reimplemented from mfem::Factors.
Definition at line 3726 of file densemat.cpp.
|
overridevirtual |
Compute the Cholesky factorization of the current matrix.
Factorize the current matrix of size (m x m) overwriting it with the Cholesky factors. The factorization is such that LL^t = A, where A is the original matrix
[in] | m | size of the square matrix |
[in] | TOL | optional fuzzy comparison tolerance. Defaults to 0.0. |
Reimplemented from mfem::Factors.
Definition at line 3684 of file densemat.cpp.
|
overridevirtual |
Assuming L.L^t = A factored data of size (m x m), compute X <- A^{-1}.
Reimplemented from mfem::Factors.
Definition at line 3896 of file densemat.cpp.
void mfem::CholeskyFactors::LMult | ( | int | m, |
int | n, | ||
real_t * | X ) const |
Assuming L.L^t = A factored data of size (m x m), compute X <- L X, for a matrix X of size (m x n).
Definition at line 3736 of file densemat.cpp.
void mfem::CholeskyFactors::LSolve | ( | int | m, |
int | n, | ||
real_t * | X ) const |
Assuming L L^t = A factored data of size (m x m), compute X <- L^{-1} X, for a matrix X of size (m x n).
Definition at line 3773 of file densemat.cpp.
void mfem::CholeskyFactors::RightSolve | ( | int | m, |
int | n, | ||
real_t * | X ) const |
Assuming L.L^t = A factored data of size (m x m), compute X <- X A^{-1}, for a matrix X of size (n x m).
Definition at line 3849 of file densemat.cpp.
|
overridevirtual |
Assuming L.L^t = A factored data of size (m x m), compute X <- A^{-1} X, for a matrix X of size (m x n).
Reimplemented from mfem::Factors.
Definition at line 3835 of file densemat.cpp.
void mfem::CholeskyFactors::UMult | ( | int | m, |
int | n, | ||
real_t * | X ) const |
Assuming L.L^t = A factored data of size (m x m), compute X <- L^t X, for a matrix X of size (m x n).
Definition at line 3755 of file densemat.cpp.
void mfem::CholeskyFactors::USolve | ( | int | m, |
int | n, | ||
real_t * | X ) const |
Assuming L L^t = A factored data of size (m x m), compute X <- L^{-t} X, for a matrix X of size (m x n).
Definition at line 3804 of file densemat.cpp.