📄 complex.h
字号:
/* * This material contains unpublished, proprietary software of * Entropic Research Laboratory, Inc. Any reproduction, distribution, * or publication of this work must be authorized in writing by Entropic * Research Laboratory, Inc., and must bear the notice: * * "Copyright (c) 1995 Entropic Research Laboratory, Inc. * All rights reserved." * * The copyright notice above does not evidence any actual or intended * publication of this source code. * * @(#)complex.h 1.1 2/20/96 ERL * * Written by: Rodney Johnson * Checked by: * Revised by: * * Include file for programs that use complex scalar arithmetic functions. * */#ifndef complex_H#define complex_H#ifdef __cplusplusextern "C" {#endif#include <esps/esps.h>/* * define the COMPLEX data type */typedef double_cplx COMPLEX;/* * Function declarations. */COMPLEXcadd ARGS((COMPLEX x, COMPLEX y));COMPLEXcdiv ARGS((COMPLEX x, COMPLEX y));COMPLEXcmult ARGS((COMPLEX x, COMPLEX y));COMPLEXcmultacc ARGS((COMPLEX x, COMPLEX y, COMPLEX r));COMPLEXconj ARGS((COMPLEX x));COMPLEXcsqrt ARGS((COMPLEX x));COMPLEXcsub ARGS((COMPLEX x, COMPLEX y));doublemodul ARGS((COMPLEX x));COMPLEXrealadd ARGS((COMPLEX x, double y));COMPLEXrealmult ARGS((COMPLEX x, double y));#ifdef __cplusplus}#endif#endif /* complex_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -