solve.h
来自「Graphics Gems 源码 a collection of algorit」· C头文件 代码 · 共 41 行
H
41 行
/* * solve.h * * some useful constants and types. */#define MAX_ORDER 12 /* maximum order for a polynomial */ #define RELERROR 1.0e-14/* smallest relative error we want */#define MAXPOW 32 /* max power of 10 we wish to search to */#define MAXIT 800 /* max number of iterations *//* a coefficient smaller than SMALL_ENOUGH is considered to be zero (0.0). */#define SMALL_ENOUGH 1.0e-12/* * structure type for representing a polynomial */typedef struct p { int ord; double coef[MAX_ORDER];} poly;extern int modrf();extern int numroots();extern int numchanges();extern int buildsturm();extern double evalpoly();
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?