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

📄 solve.h

📁 Graphics Gems 源码 a collection of algorithms, programs, and mathematical techniques for the computer
💻 H
字号:
/* * 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -