decl.h

来自「The CUBA library provides new implementa」· C头文件 代码 · 共 53 行

H
53
字号
/*	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 + =
减小字号Ctrl + -
显示快捷键?