basewindow.h
来自「pic 模拟程序!面向对象」· C头文件 代码 · 共 32 行
H
32 行
#ifndef BaseWindow_H#define BaseWindow_H/** * A pure abstract class for providing interface to data windowing * classes for use in applications of the FFT. * * dad, started on 08/16/01. * * Version: $Id: baseWindow.h,v 1.4 2001/08/30 19:16:31 kgl Exp $ * * Copyright 2001 by Tech-X Corporation. */// problem including cmath with Linux/Alpha using Commpaq CXX.// use math.h instead //#include <cmath>#include <math.h>#include "precision.h"class BaseWindow { public: BaseWindow(const int numElements) : N(numElements) {} virtual ~BaseWindow() {} virtual void applyWindow(Scalar* data) = 0; virtual Scalar get_winScaleFactor() const = 0; protected: const int N; // number of elements};#endif // BaseWindow_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?