complex.h
来自「计算f t)=exp -|t|)的FFT」· C头文件 代码 · 共 25 行
H
25 行
#ifndef _COMPLEX_H#define _COMPLEX_Hclass Complex{private: double real; double image;public: Complex(void); Complex(double a,double b=0); Complex operator+(Complex); Complex operator-(Complex); Complex operator*(Complex); Complex operator*(double); Complex operator/(Complex); Complex &operator=(double); double getReal(void); double getImage(void); Complex conj(void); Complex power(int); int operator==(Complex); void print(void); void fprint(FILE *);};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?