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

cdf.h

Go to the documentation of this file.
00001 #ifndef CDF_HEADER
00002 #define CDF_HEADER
00003 
00004 /* ==== HEADER cdf.h ==== */
00005 
00011 /* ANSI C, IRIX 4.0.5, 1. Oct. 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 
00029 typedef struct
00030 {
00031     double *X;  
00032     double *Y;  
00033     int *Yint;  
00034     int N, Bno; 
00035 }
00036 Cdfrec_ ;
00037 
00038 /* ---- PROTOTYPES ---- */
00039 
00040 #ifdef __cplusplus
00041 extern "C" {
00042 #endif
00043 
00055 int init_cdf(int Binno, double Low, double Up, Cdfrec_ *Cdf);
00056 
00063 int add_cdf(double Value, Cdfrec_ *Cdf);
00064 
00072 int eval_cdf(Cdfrec_ *Cdf);
00073 
00080 void remove_cdf(Cdfrec_ *Cdf);
00081 
00082 #ifdef __cplusplus
00083 } }
00084 #endif
00085 
00086 /* ==== END OF HEADER cdf.h ==== */
00087 
00088 #endif  /* CDF_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