lin_dsgn.cpp
来自「Digital filter designer s handbook C++ c」· C++ 代码 · 共 49 行
CPP
49 行
//
// File = lin_dsgn.cpp
//
#include "misdefs.h"
#include "typedefs.h"
#include "fir_dsgn.h"
#include "lin_dsgn.h"
//===========================================
// default constructor
//-------------------------------------------
LinearPhaseFirDesign::LinearPhaseFirDesign( )
:FirFilterDesign()
{
}
//=============================================
// constructor that allocates (via base class)
// an array of length num_taps to hold
// filter coefficients
//---------------------------------------------
LinearPhaseFirDesign::LinearPhaseFirDesign( int num_taps )
:FirFilterDesign( num_taps )
{
}
//========================================================
// method to return band configuration
// ( lowpass, bandpass, highpass, or bandstop )
//--------------------------------------------------------
BAND_CONFIG_TYPE LinearPhaseFirDesign::GetBandConfig(void)
{ return(Band_Config); }
//===============================================
// method to return type of linear phase filter
//-----------------------------------------------
int LinearPhaseFirDesign::GetFirType(void)
{ return(Fir_Type); }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?