00001 #ifndef APP_INVERSE_H 00002 #define APP_INVERSE_H 00003 00004 #include <petscksp.h> 00005 #include "MatrixUtil.hpp" 00006 #include <time.h> 00007 #include <math.h> 00008 #include "../../../include/uth_system.h" 00009 #include <map> 00010 00011 Mat getApproximateInverse(Mat Avv); 00012 Mat getApproximateInverse2(Mat Avv, int band, Mat restricted_matrix); 00013 Mat getApproximateInverseCommutator(Mat Avv, Mat Avp, int band); 00014 00015 #endif