include/integrands.h
00001 /* integrands.h
00002  * 
00003  * Data types for multi-quadrature routines.
00004  */
00005 
00006 #ifndef MULTIQUAD_INTEGRANDS_H
00007 #define MULTIQUAD_INTEGRANDS_H
00008 
00010 typedef struct 
00011 {
00012     float (*ftn)(unsigned int dim, const float* x, void* params);
00013     void* params;
00014     int   dim;
00015 } flt_integrand; 
00016 
00018 typedef struct 
00019 {
00020     double (*ftn)(unsigned int dim, const double* x, void* params);
00021     void*  params;
00022     int    dim;
00023 } dbl_integrand;
00024 
00025 #endif // MULTIQUAD_INTEGRANDS_H
 All Classes Functions Variables