#include <sparsesolver.hpp>
Public Types | |
enum | { CompleteFactorization = Eigen::CompleteFactorization, IncompleteFactorization = Eigen::IncompleteFactorization, MemoryEfficient = Eigen::MemoryEfficient } |
Public Member Functions | |
virtual bool | Compute (const SparseMatrixBase &) |
computes the factorization, returns true if succeeded | |
virtual void | SetFlags (int flag) |
virtual void | SetPrecision (double prec) |
virtual bool | Solve (const MatrixBase &b, MatrixBase &x) |
virtual bool | SolveInPlace (MatrixBase &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 |
virtual bool tngmath::SparseLU::Solve | ( | const MatrixBase & | b, | |
MatrixBase & | x | |||
) | [virtual] |
Factorizes this matrix and solves the given vector on return; returns true if succeeded
Reimplemented from tngmath::SparseSolver.
Reimplemented in tngmath::SparseSuperLU, tngmath::SparseLUUmfPack, and tngmath::SparseLUMUMPS.
virtual bool tngmath::SparseLU::SolveInPlace | ( | MatrixBase & | b | ) | [virtual] |
Factorizes this matrix and solves the given vector in place; returns true if succeeded
Reimplemented from tngmath::SparseSolver.
Reimplemented in tngmath::SparseLUMUMPS.