00001 #ifndef PCG_C99_H_DEF 00002 #define PCG_C99_H_DEF 00003 00004 extern int spcg(int n, int maxit, float tol, 00005 void (*amult)(int n, float *x, float *y, void **data), 00006 void (*msolve)(int n, float *x, float *y, void **data), 00007 float *b, float *x, float *rnorm, void **adata, void **mdata); 00008 extern int dpcg(int n, int maxit, double tol, 00009 void (*amult)(int n, double *x, double *y, void **data), 00010 void (*msolve)(int n, double *x, double *y, void **data), 00011 double *b, double *x, double *rnorm, void **adata, void **mdata); 00012 extern int cpcg(int n, int maxit, float tol, 00013 void (*amult)(int n, _Complex float *x, _Complex float *y, void **data), 00014 void (*msolve)(int n, _Complex float *x, _Complex float *y, void **data), 00015 _Complex float *b, _Complex float *x, float *rnorm, 00016 void **adata, void **mdata); 00017 extern int zpcg(int n, int maxit, double tol, 00018 void (*amult)(int n, _Complex double *x, _Complex double *y, void **data), 00019 void (*msolve)(int n, _Complex double *x, _Complex double *y, void **data), 00020 _Complex double *b, _Complex double *x, double *rnorm, 00021 void **adata, void **mdata); 00022 00023 #endif