Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members  

pdf.h

Go to the documentation of this file.
00001 #ifndef PDF_HEADER
00002 #define PDF_HEADER
00003 
00004 /* ==== HEADER pdf.h ==== */
00005 
00011 /* 28. Sept. 1993. Andras Aszodi */
00012 
00013 /* ---- STANDARD HEADERS ---- */
00014 
00015 #include <stdio.h>
00016 #include <stdlib.h>
00017 #include <math.h>
00018 #include <float.h>
00019 
00020 /* ---- GLOBAL TYPES ---- */
00021 
00022 #ifdef __cplusplus
00023 namespace RazorBack {
00024 #endif
00025 
00030 typedef struct
00031 {
00032     double *X;  
00033     double *Y;  
00034     int *Yint;  
00035     double Wid; 
00036     int N, Bno; 
00037 }
00038 Pdfrec_ ;
00039 
00040 /* ---- PROTOTYPES ---- */
00041 
00042 #ifdef __cplusplus
00043 extern "C" {
00044 #endif
00045 
00057 int init_pdf(int Binno, double Binwidth, double Low, double Up, 
00058                 Pdfrec_ *Pdf);
00059 
00069 int add_pdf(double Value, Pdfrec_ *Pdf);
00070 
00077 int eval_pdf(Pdfrec_ *Pdf);
00078 
00085 void remove_pdf(Pdfrec_ *Pdf);
00086 
00087 #ifdef __cplusplus
00088 } }
00089 #endif
00090 
00091 /* ==== END OF HEADER pdf.h ==== */
00092 #endif  /* PDF_HEADER */

Generated at Wed Aug 21 09:33:29 2002 for The Razorback C Library: Statistics by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001