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

📄 complex.h

📁 著名的基因芯片表达数据聚类软件。esein编写
💻 H
字号:
/* CAUTION: This is the ANSI C (only) version of the Numerical Recipes   utility file complex.h.  Do not confuse this file with the same-named   file complex.h that is supplied in the 'misc' subdirectory.   *That* file is the one from the book, and contains both ANSI and   traditional K&R versions, along with #ifdef macros to select the   correct version.  *This* file contains only ANSI C.               */#ifndef _NR_COMPLEX_H_#define _NR_COMPLEX_H_#ifndef _FCOMPLEX_DECLARE_T_typedef struct FCOMPLEX {float r,i;} fcomplex;#define _FCOMPLEX_DECLARE_T_#endif /* _FCOMPLEX_DECLARE_T_ */fcomplex Cadd(fcomplex a, fcomplex b);fcomplex Csub(fcomplex a, fcomplex b);fcomplex Cmul(fcomplex a, fcomplex b);fcomplex Complex(float re, float im);fcomplex Conjg(fcomplex z);fcomplex Cdiv(fcomplex a, fcomplex b);float Cabs(fcomplex z);fcomplex Csqrt(fcomplex z);fcomplex RCmul(float x, fcomplex a);#endif /* _NR_COMPLEX_H_ */

⌨️ 快捷键说明

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