~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina4/src/math/util/hist_funcs.h

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 #define NHIST 50
  2 #define MAXITS 500
  3 #define MINITS 20
  4 #define AGREE 0.9
  5 #define MAXMIN 0.2
  6 #define TOL 0.00001
  7 #define SLOW 0.5
  8 
  9 typedef struct shistogram
 10 {
 11      int id;
 12      char *title;
 13      int type;
 14      double (*super)(int, double*, float);
 15      double *par;
 16      int npar;
 17      float xmin;
 18      float xmax;
 19      float ymin;
 20      float ymax;
 21      double mean;
 22      double mean2;
 23      int xbins;
 24      int ybins;
 25      float xincr;
 26      float yincr;
 27      int entries;
 28      float contents;
 29      float under;
 30      float over;
 31      float above;
 32      float below;
 33      float **array;
 34 
 35 } shistogram;
 36 
 37 #ifndef HIST_ARRAY_DEFINED
 38 static  shistogram *hist[NHIST];
 39 #elif
 40    extern shistogram *hist[NHIST];
 41 #endif
 42 #define HIST_ARRAY_DEFINED
 43 
 44 shistogram *hbook1(int id, char *title,float xmin,float xmax,int xbins);
 45 shistogram *hfree(shistogram *ph);
 46 shistogram *hbook2(int id,char *title,float xmin,float xmax,int xbins,
 47                                       float ymin,float ymax,int ybins);
 48 float hfill1(shistogram *ph,float x,float w);
 49 float hfill1s(shistogram *ph,float x,float w);
 50 float hfill2(shistogram *ph,float x,float y,float w);
 51 void hprint(FILE *fp,shistogram *ph);
 52 double hresidual(shistogram *ph, int i);
 53 double hlnorm(shistogram *ph, int norm);
 54 double hgradstat(shistogram *ph);
 55 double hrunstat(shistogram *ph);
 56 void histdo(FILE *fp);
 57 void hreset(shistogram *ph);
 58 void hpxprint(FILE *fp, shistogram *ph);
 59 void hpyprint(FILE *fp, shistogram *ph);
 60 double hdiag(shistogram *ph);
 61 void hintegf(shistogram *ph);
 62 void hintegb(shistogram *ph);
 63 void hsmoof(shistogram *ph);
 64 float hmax1(shistogram *ph, float *maxx);
 65 float hnearmax1(shistogram *ph, float *maxx);
 66 float hmax2(shistogram *ph, float *maxx, float *maxy);
 67 void hstore(FILE *fp,shistogram *ph);
 68 void hfetch(FILE *fp);
 69 void hopera();
 70 void herror(char *str);
 71 static double total_chisq(int npar, double *a);
 72 void hfit(FILE *fp,shistogram *ph,int n,double *a,double *w,
 73           double (*fitfunc)(int, double *,float) ,
 74           double(*errfunc)(shistogram *,float));
 75 double **herror_analysis(FILE *fp,shistogram *ph,int n,double *a,
 76           double (*fitfunc)(int, double *,float),
 77           double (*derfunc)(double *,float,int),
 78           double(*errfunc)(shistogram *,float),
 79           int exclude);
 80 void hsuper(shistogram *ph,int n,double (*func)(int, double*, float),double *a);
 81 void hfit_gauss(FILE *fp,shistogram *ph);
 82 double herrdum(shistogram *ph,float x);
 83 double hgaussian(int n,double *a,float x);
 84 double hgaussder(double *a,float x,int i);
 85 static float **makeharray(int l_array,int w_array,float gl);
 86 static void freeharray(float **array);
 87 double **hmatinv(int n, double *params, double **a, double *nresult);
 88 void          hbin_dump_plain(FILE *out, shistogram *ph);
 89 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.