19 #ifndef _SLINSOLVER_RATIONAL_H_ 20 #define _SLINSOLVER_RATIONAL_H_ 74 virtual const char*
getName()
const = 0;
80 virtual void clear() = 0;
83 virtual int memory()
const = 0;
86 virtual int dim()
const = 0;
194 #endif // _SLINSOLVER_RATIONAL_H_ virtual void solve2right4update(SSVectorRational &x, VectorRational &y, const SVectorRational &b, SSVectorRational &d)=0
Solves and .
number< gmp_rational, et_off > Rational
No matrix has yet been loaded.
The time limit has been hit.
The loaded matrix is singular.
virtual Status status() const =0
returns the Status of the SLinSolverRational.
virtual int dim() const =0
returns dimension of loaded matrix.
Dense vector for linear algebra.
virtual Status load(const SVectorRational *vec[], int dim)=0
loads dim column vectors vec into the solver.
virtual const char * getName() const =0
returns the name of the SLinSolverRational.
Sparse Linear Solver virtual base class with Rational precision.Class SLinSolverRational provides a c...
SLinSolverRational()
default constructor
virtual std::string statistics() const =0
returns statistical information in form of a string.
virtual void solveLeft(VectorRational &x, const VectorRational &b)=0
solves .
virtual int getFactorCount() const =0
get number of factorizations
virtual void solveRight4update(SSVectorRational &x, const SVectorRational &b)=0
Solves . Possibly sets up internal data structures suitable for an optimized subsequent change() call...
virtual SLinSolverRational * clone() const =0
clone function for polymorphism
virtual ~SLinSolverRational()
destructor
Debugging, floating point type and parameter definitions.
Everything should be within this namespace.
virtual void solve3right4update(SSVectorRational &x, VectorRational &y, VectorRational &z, const SVectorRational &b, SSVectorRational &d, SSVectorRational &e)=0
Solves , and .
virtual Rational stability() const =0
returns a stability number (0: singularity, 1: perfect stability).
virtual int memory() const =0
returns current memory consumption.
virtual void clear()=0
unloads any matrix.
virtual bool isConsistent() const =0
consistency check.
Status
status flags of the SLinSolverRational class.
virtual Status change(int idx, const SVectorRational &subst, const SSVectorRational *eta=0)=0
Substitute column idx with subst.
virtual void solveRight(VectorRational &x, const VectorRational &b)=0
Solves .