00001 #ifndef __INCLUDE_CFCALC_H__ 00002 #define __INCLUDE_CFCALC_H__ 00003 #include <cstdlib> 00004 #include <cmath> 00005 #include <cstdio> 00006 #include <complex> 00007 00008 #include "arrays.h" 00009 00010 using namespace std; 00011 00012 namespace CFCalc{ 00013 double GetChiSquared(C3DArray *CFexp,C3DArray *Error,C3DArray *CFtheory); 00014 double GetChiSquared(int lx,int ly,int lz,CCHArray *CFexp,CCHArray *Error,CCHArray *CFtheory); 00015 double GetChiSquared(CCHArray *CFexp,CCHArray *CFtheory,CCHArray *error); 00016 }; 00017 00018 #endif