⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 decl.h

📁 The CUBA library provides new implementation of four general-purpose multidimensional integration al
💻 H
字号:
/*	decl.h		Type declarations		this file is part of Divonne		last modified 7 Mar 05 th*/#include "stddecl.h"#define EXTRAPOLATE_EPS (.25*border_.lower)/*#define EXTRAPOLATE_EPS 0x1p-26*/typedef struct {  real lower, upper;} Bounds;typedef const Bounds cBounds;typedef struct {  real avg, spreadsq;  real spread, secondspread;  real nneed, maxerrsq, mindevsq;  void *region;} Totals;typedef struct {  void *first, *last;  real errcoeff[3];  count n;} Rule;typedef const Rule cRule;typedef struct samples {  real weight;  real *x, *f, *avg, *err;  void (*sampler)(const struct samples *, cBounds *, creal);  cRule *rule;  count coeff;  number n, neff;} Samples;typedef const Samples cSamples;#define TYPEDEFREGION \  typedef struct { \    real avg, err, spread, chisq; \    real fmin, fmax; \    real xmin[NDIM], xmax[NDIM]; \  } Result; \  typedef const Result cResult; \  typedef struct region { \    struct region *next; \    count cutcomp, depth; \    real *xmajor, fmajor, fminor, vol; \    Bounds bounds[NDIM]; \    Result result[NCOMP]; \  } Regiontypedef void (*Integrand)(ccount *, creal *, ccount *, real *, cint *);typedef void (*PeakFinder)(ccount *, cBounds *, number *, real *);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -