MFEM v4.7.0
Finite element discretization library
|
#include <complex_densemat.hpp>
Public Member Functions | |
ComplexCholeskyFactors () | |
ComplexCholeskyFactors (real_t *data_r_, real_t *data_i_) | |
virtual bool | Factor (int m, real_t TOL=0.0) |
Compute the Cholesky factorization of the current matrix. | |
virtual std::complex< real_t > | Det (int m) const |
void | LMult (int m, int n, real_t *X_r, real_t *X_i) const |
void | UMult (int m, int n, real_t *X_r, real_t *X_i) const |
void | LSolve (int m, int n, real_t *X_r, real_t *X_i) const |
void | USolve (int m, int n, real_t *X_r, real_t *X_i) const |
virtual void | Solve (int m, int n, real_t *X_r, real_t *X_i) const |
void | RightSolve (int m, int n, real_t *X_r, real_t *X_i) const |
virtual void | GetInverseMatrix (int m, real_t *X_r, real_t *X_i) const |
Assuming L.L^H = A factored data of size (m x m), compute X <- A^{-1}. | |
Public Member Functions inherited from mfem::ComplexFactors | |
ComplexFactors () | |
ComplexFactors (real_t *data_r_, real_t *data_i_) | |
void | SetComplexData (int m) |
void | ResetComplexData (int m) |
virtual | ~ComplexFactors () |
Additional Inherited Members | |
Public Attributes inherited from mfem::ComplexFactors | |
real_t * | data_r = nullptr |
real_t * | data_i = nullptr |
std::complex< real_t > * | data = nullptr |
Protected Member Functions inherited from mfem::ComplexFactors | |
std::complex< real_t > * | RealToComplex (int m, const real_t *x_r, const real_t *x_i) const |
void | ComplexToReal (int m, const std::complex< real_t > *x, real_t *x_r, real_t *x_i) const |
Class that can compute Cholesky factorizations of external data of an Hermitian positive matrix and perform various operations with the factored data.
Definition at line 186 of file complex_densemat.hpp.
|
inline |
With this constructor, the (public) data should be set explicitly before calling class methods.
Definition at line 192 of file complex_densemat.hpp.
Definition at line 194 of file complex_densemat.hpp.
|
virtual |
Assuming LL^H = A factored data of size (m x m), compute |A| from the diagonal values of L
Reimplemented from mfem::ComplexFactors.
Definition at line 858 of file complex_densemat.cpp.
|
virtual |
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^H = 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::ComplexFactors.
Definition at line 811 of file complex_densemat.cpp.
|
virtual |
Assuming L.L^H = A factored data of size (m x m), compute X <- A^{-1}.
Reimplemented from mfem::ComplexFactors.
Definition at line 1072 of file complex_densemat.cpp.
Assuming L.L^H = A factored data of size (m x m), compute X <- L X, for a matrix X of size (m x n).
Definition at line 868 of file complex_densemat.cpp.
Assuming L L^H = 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 913 of file complex_densemat.cpp.
Assuming L.L^H = 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 1013 of file complex_densemat.cpp.
Assuming L.L^H = 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::ComplexFactors.
Definition at line 990 of file complex_densemat.cpp.
Assuming L.L^H = 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 891 of file complex_densemat.cpp.
Assuming L L^H = 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 951 of file complex_densemat.cpp.