Skip to main content
Part of tmath The base class for sparse solvers. It provides a unified interface which can be used by generic algorithms.

Public Types

Public Member Functions

Detailed Description

The base class for sparse solvers. It provides a unified interface which can be used by generic algorithms.

Constructor & Destructor Documentation

SparseSolver()

destructor default constructor

Member Function Documentation

Compute() [1/2]

virtual computes the factorization, returns true if succeeded Parameters Returns true of successful Reimplemented in SparseLU, and MUMPS.

Compute() [2/2]

virtual computes the factorization, returns true if succeeded Parameters Returns true of successful Reimplemented in SparseLU, and MUMPS.

operator*()

virtual returns the matrix product inv(A)*B Parameters Returns the product of the factorized matrix multiplied with other

Solve() [1/2]

Solves the given vector on return; returns true if succeeded. Parameters

Solve() [2/2]

Solves the given sparse RHS on return; returns true if succeeded. Parameters Returns true if successfulallows the SWIG syntax (x,bool)=Solve(b) for solving x in Ax=b in script

SolveInPlace()

virtual Factorizes this matrix and solves the given vector in place;. Returns returns true if succeeded Parameters Reimplemented in SparseLU, and MUMPS.

SolveTransposed()

Solves the system (transpose(Matrix)*x=b for x; returns true if succeeded. Parameters Returns true if successful allows the SWIG syntax (x,bool)=Solve(b) for solving x in Ax=b in script.

typeIdent()

virtual Returns the name of the datatype