00001 #ifndef __FSepPreconditionedSMatrix_H__ 00002 #define __FSepPreconditionedSMatrix_H__ 00003 00037 #include <stdio.h> 00038 #include "FloatVector.hpp" 00039 00040 #include "AFProductSeqSMatrix.hpp" 00041 00042 // P= B0 * B2 * ... * Bn 00043 class FSepPreconditionedSMatrix : public AFProductSeqSMatrix 00044 { 00045 protected: 00046 00047 AFSymMatrix** B; 00048 00049 public: 00050 FSepPreconditionedSMatrix(int w, int n); 00051 virtual ~FSepPreconditionedSMatrix(); 00052 00053 virtual AFSymMatrix* getSubMatrix(int i){ return B[i]; } // Bi 00054 virtual void setSubMatrix(int i, AFSymMatrix* Bi){ B[i]= Bi; } // Bi 00055 00056 virtual AFSymMatrix* compact(){return 0;} // B1*B2*... --> A 00057 00058 virtual void output(); 00059 virtual void output(FILE* file){} 00060 }; 00061 00062 #endif 00063 00064 00065