common.c

来自「The CUBA library provides new implementa」· C语言 代码 · 共 34 行

C
34
字号
/*	common.c		includes most of the modules		this file is part of Suave		last modified 14 Feb 05 th*/#include "Random.c"#include "ChiSquare.c"#include "Grid.c"#include "Sample.c"#include "Fluct.c"#include "Integrate.c"static inline bool BadDimension(cint ndim, cint flags){#if NDIM > 0  if( ndim > NDIM ) return true;#endif  return ndim < SOBOL_MINDIM || (!PSEUDORNG && ndim > SOBOL_MAXDIM);}static inline bool BadComponent(cint ncomp){#if NCOMP > 0  if( ncomp > NCOMP ) return true;#endif  return ncomp < 1;}

⌨️ 快捷键说明

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