1: #ifndef TAOMATSELFSOLVER_H
2: #define TAOMATSELFSOLVER_H
4: #include "taolinearsolver.h"
6: /** An abstract class representing the implementation of a Linear Solver
7: *
8: */
9: class TaoMatSelfSolver: public TaoLinearSolver {
11: protected:
13: TaoMat *tmoperator;
14: double radius;
16: public:
18: TaoMatSelfSolver(void){tmoperator=0;};
19: virtual ~TaoMatSelfSolver(void){};
21: int PreSolve(TaoMat*);
22: int Solve(TaoVec*,TaoVec*,TaoTruth*);
24: int SetOptions();
26: int GetNumberIterations(int *);
28: int SetTolerances(double,double,double,int);
30: int View();
32: };
34: #endif