Geophysical Inversion and Modelling Library v1.5.4
Loading...
Searching...
No Matches
GIMLI::LDLWrapper Class Reference
+ Inheritance diagram for GIMLI::LDLWrapper:
+ Collaboration diagram for GIMLI::LDLWrapper:

Public Member Functions

 LDLWrapper (RSparseMatrix &S, bool verbose=false)
 
 LDLWrapper (CSparseMatrix &S, bool verbose=false)
 
int factorise ()
 
virtual void setMatrix (RSparseMatrix &S)
 
virtual void solve (const RVector &rhs, RVector &solution)
 
- Public Member Functions inherited from GIMLI::SolverWrapper
 SolverWrapper (bool verbose=false)
 
virtual void setMatrix (const RSparseMatrix &S)
 
virtual void setMatrix (const CSparseMatrix &S)
 
virtual void solve (const CVector &rhs, CVector &solution)
 
std::string name () const
 

Static Public Member Functions

static bool valid ()
 

Protected Member Functions

int initialize_ (RSparseMatrix &S)
 
void free_ ()
 

Protected Attributes

int * colPtr_
 
int * rowIdx_
 
double * vals_
 
int * Li_
 
int * Lp_
 
double * Lx_
 
double * D_
 
bool preordering_
 
int * P_
 
int * Pinv_
 
- Protected Attributes inherited from GIMLI::SolverWrapper
std::string name_
 
bool dummy_
 
bool verbose_
 
bool isComplex_
 
uint dim_
 
long nVals_
 
double dropTol_
 
double tolerance_
 
double maxiter_
 

Member Function Documentation

◆ solve()

void GIMLI::LDLWrapper::solve ( const RVector & rhs,
RVector & solution )
virtual

Implements GIMLI::SolverWrapper.