#include <sparsesolver.hpp>
Public Types | |
enum | { CompleteFactorization = Eigen::CompleteFactorization, IncompleteFactorization = Eigen::IncompleteFactorization, MemoryEfficient = Eigen::MemoryEfficient } |
Public Member Functions | |
virtual bool | Compute (SparseMatrix &) |
computes the factorization, returns true if succeeded | |
virtual void | SetFlags (int flag) |
virtual void | SetPrecision (double prec) |
virtual bool | Solve (const Matrix &b, Matrix &x) |
virtual bool | SolveInPlace (Matrix &b) |
SparseLU () | |
default constructor | |
virtual std::string | typeIdent () const |
returns the name of the datatype | |
virtual | ~SparseLU () |
destructor | |
Private Types | |
typedef Eigen::SparseLU < TSparseMatrix > | TSolver |
Private Member Functions | |
const TSolver & | solver () const |
TSolver & | solver () |
Private Attributes | |
TSolver | m_solver |
Solves the given vector on return; returns true if succeeded
Reimplemented from tmath::sparse::SparseSolver.
Reimplemented in tmath::sparse::SparseSuperLU, and tmath::sparse::SparseLUUmfPack.
virtual bool tmath::sparse::SparseLU::SolveInPlace | ( | Matrix & | b | ) | [virtual] |
Factorizes this matrix and solves the given vector in place; returns true if succeeded
Reimplemented from tmath::sparse::SparseSolver.