template<class Scalar>
SimplicialLDLT<Math::SparseMatrix<Scalar>, Math::Vector<Scalar>> class final
A direct sparse LDLT Cholesky factorizations without square root for use with Math::
Base classes
-
template<class Operator, class Vector, class Scalar>class SolverBase<Math::SparseMatrix<Scalar>, Math::Vector<Scalar>, Scalar>
- Abstract base class for linear algebra solvers.
Public functions
- void solve(OperatorType& A, VectorType& x, VectorType& b) pure virtual
- Solves the linear algebra system.
Function documentation
template<class Scalar>
void Rodin:: Solver:: SimplicialLDLT<Math:: SparseMatrix<Scalar>, Math:: Vector<Scalar>><Scalar>:: solve(OperatorType& A,
VectorType& x,
VectorType& b) pure virtual
Solves the linear algebra system.
Parameters | |
---|---|
A in/out | Left hand side operator |
x in/out | Input for the initial guess, and output for the solution |
b in/out | Right hand side vector |
Solves the following system:
where has type , the solution has type , and the right hand side has type .