📄 decl.h
字号:
/* decl.h Type declarations this file is part of Suave last modified 19 Jan 05 th*/#include "stddecl.h"#define MINSAMPLES 10#define NBINS 64typedef unsigned char bin_t;/* Note: bin_t must be wide enough to hold the numbers 0..NBINS */typedef const bin_t cbin_t;typedef real Grid[NBINS];typedef const Grid cGrid;typedef struct { real avg, err, sigsq, chisq;} Result;typedef const Result cResult;typedef struct { real lower, upper, mid; Grid grid;} Bounds;typedef const Bounds cBounds;#define TYPEDEFREGION \ typedef struct region { \ struct region *next; \ count div, df; \ number n; \ Result result[NCOMP]; \ Bounds bounds[NDIM]; \ real fluct[NCOMP][NDIM][2]; \ real w[]; \ } Regiontypedef void (*Integrand)(ccount *, creal *, ccount *, real *);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -