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

📄 scalar.hpp

📁 Adaptive digital Filters in C++
💻 HPP
字号:
// scalar.hpp		Macros to define the scalar type to be used in Arrays
//

// rcsid: $Id$ %W% %U% %G%   EFC

#ifndef _Scalar_HPP_
#define _Scalar_HPP_  %I%

#ifdef COMPLEX
#include <complex.hpp>
#endif

// REAL_F, REAL_D or COMPLEX needs to be defined either here or on the command line
// #define REAL_F		// for real (float) Vectors and Matrices
// #define REAL_D		// for real (double) Vectors and Matrices
// #define COMPLEX		// for complex Vectors and Matrices

#ifndef scalar_type

#ifdef COMPLEX
#define scalar_type	Complex
#endif

#ifdef REAL_D
#ifndef scalar_type
#define scalar_type double
#endif
#endif

#ifdef REAL_F
#ifndef scalar_type
#define scalar_type float
#endif
#endif

// just to be sure set to floating point if the all the above fall through
#ifndef scalar_type
#define REAL_F
#define scalar_type float
#endif

#endif


#endif







⌨️ 快捷键说明

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