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

📄 complexd.cwp.lib

📁 su 的源代码库
💻 LIB
字号:
COMPLEXD - Functions to manipulate double-precision complex numbersdcadd	add two dcomplex numbersdcsub	subtract two dcomplex numbersdcmul	multiply two dcomplex numbersdcdiv	divide two dcomplex numbersdcmplx	make a dcomplex number from two real numbersdconjg	dcomplex conjugate of a dcomplex number dcneg	negate a dcomplex numberdcinv	invert a dcomplex numberdcsqrt	dcomplex square root of a dcomplex numberdcexp	dcomplex exponential of a dcomplex numberdcrmul	multiply a dcomplex number by a real number drcabs	real magnitude of a dcomplex numberStructure:typedef struct _dcomplexStruct {  dcomplex number	double r,i;} dcomplex;Function Prototypes:dcomplex dcadd (dcomplex a, dcomplex b);dcomplex dcsub (dcomplex a, dcomplex b);dcomplex dcmul (dcomplex a, dcomplex b);dcomplex dcdiv (dcomplex a, dcomplex b);double drcabs (dcomplex z);dcomplex dcmplx (double re, double im);dcomplex dconjg (dcomplex z);dcomplex dcneg (dcomplex z);dcomplex dcinv (dcomplex z);dcomplex dcsqrt (dcomplex z);dcomplex dcexp (dcomplex z);dcomplex dcrmul (dcomplex a, double x);Notes:The function "drcabs" was originally called "fcabs". This produceda collision on some systems so a new name was chosen.Reference:Adapted from Press et al, 1988, Numerical Recipes in C (Appendix E).Author:  Dave Hale, Colorado School of Mines, 06/02/89Modified:  Dave Hale, Colorado School of Mines, 04/26/90	Added function dcinv().

⌨️ 快捷键说明

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