PolyDiM
C++ library for POLYtopal DIscretization Methods
Loading...
Searching...
No Matches
Gedim::Eigen_LUSolver< Eigen_ArrayType, Eigen_SparseArrayType > Class Template Referencefinal

Eigen LU Linear solver. More...

#include <Eigen_LUSolver.hpp>

Inheritance diagram for Gedim::Eigen_LUSolver< Eigen_ArrayType, Eigen_SparseArrayType >:
[legend]

Public Member Functions

 Eigen_LUSolver ()
 
 ~Eigen_LUSolver ()
 
void Initialize (const ISparseArray &matrix, const IArray &rightHandSide, IArray &solution, const Configuration &config=Configuration())
 Initialize the linear solver Ax = b.
 
void Initialize (const IArray &rightHandSide, IArray &solution, const Configuration &config=Configuration())
 
SolutionInfo Solve () const
 Compute the solution.
 
void Initialize (const ISparseArray &matrix, const Configuration &config=Configuration())
 Initialize the linear solver for system Ax = b.
 
SolutionInfo Solve (const IArray &rightHandSide, IArray &solution) const
 Compute the solution for system Ax = b.
 
- Public Member Functions inherited from Gedim::ILinearSolver
virtual ~ILinearSolver ()
 

Detailed Description

template<typename Eigen_ArrayType = Eigen::VectorXd, typename Eigen_SparseArrayType = Eigen::SparseMatrix<double>>
class Gedim::Eigen_LUSolver< Eigen_ArrayType, Eigen_SparseArrayType >

Eigen LU Linear solver.

Constructor & Destructor Documentation

◆ Eigen_LUSolver()

template<typename Eigen_ArrayType = Eigen::VectorXd, typename Eigen_SparseArrayType = Eigen::SparseMatrix<double>>
Gedim::Eigen_LUSolver< Eigen_ArrayType, Eigen_SparseArrayType >::Eigen_LUSolver ( )
inline

◆ ~Eigen_LUSolver()

template<typename Eigen_ArrayType = Eigen::VectorXd, typename Eigen_SparseArrayType = Eigen::SparseMatrix<double>>
Gedim::Eigen_LUSolver< Eigen_ArrayType, Eigen_SparseArrayType >::~Eigen_LUSolver ( )
inline

Member Function Documentation

◆ Initialize() [1/3]

◆ Initialize() [2/3]

Initialize the linear solver for system Ax = b.

Parameters
matrixThe matrix A

Implements Gedim::ILinearSolver.

◆ Initialize() [3/3]

void Gedim::Eigen_LUSolver< Eigen_ArrayType, Eigen_SparseArrayType >::Initialize ( const ISparseArray matrix,
const IArray rightHandSide,
IArray solution,
const Configuration config = Configuration() 
)
virtual

Initialize the linear solver Ax = b.

Parameters
matrixThe matrix A
rightHandSideThe right-hand side b
solutionThe solution x

Implements Gedim::ILinearSolver.

◆ Solve() [1/2]

◆ Solve() [2/2]

Compute the solution for system Ax = b.

Parameters
rightHandSideThe right-hand side b
solutionThe solution x

Implements Gedim::ILinearSolver.


The documentation for this class was generated from the following files: