00001 #ifndef __F_SorLS_H__ 00002 #define __F_SorLS_H__ 00003 00029 #include <stdio.h> 00030 #include "F_IterativeLS.hpp" 00031 00032 00033 class F_SorLS : public F_IterativeLS 00034 { 00035 private: 00036 00037 double omega; 00038 00039 protected: 00040 00041 virtual FloatVector* singleSolve(AFloatMatrix* A, FloatVector* b, FloatVector* x=0); 00042 00043 public: 00044 F_SorLS(double aomega, int maxIterations, double epsilon=1.0e-4):F_IterativeLS(maxIterations, epsilon) 00045 {omega= aomega;} 00046 virtual ~F_SorLS(){} 00047 }; 00048 00049 #endif 00050 00051