📄 expression.h
字号:
// Expression.h: interface for the CExpression class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_EXPRESSION_H__505FD9BF_5FC8_45B3_83BE_36B25170CAA0__INCLUDED_)
#define AFX_EXPRESSION_H__505FD9BF_5FC8_45B3_83BE_36B25170CAA0__INCLUDED_
#include <complex>
using namespace std;
#include "Zhangjg_dspDoc.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CExpression
{
public:
CExpression();
virtual ~CExpression();
public:
void AttenuationSin(int n,double a,double f,double *X);
void Gauss(int p, int q,double *X,int n);
void Rectangle(int n,double *X);
//complex<double> Fft(double *X,int M);
void Fft(complex<double> *FD,int M);
void Dft(complex<double> *FD,int M) ;
void DrawCoordinate(int stepx, int stepy,int pointx, int pointy,CDC* pDC, CZhangjg_dspDoc* pDoc);
public:
void ReTriangle(int n, double *X);
void Triangle(int n,double *X);
//complex<double> *FD;
};
#endif // !defined(AFX_EXPRESSION_H__505FD9BF_5FC8_45B3_83BE_36B25170CAA0__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -