Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
IirFilter Class Reference

variable-gain IIR filter More...

Public Member Functions

 IirFilter (double sensitivity, double initialValue)
 
double operator() (double x, int bias)
 

Static Private Member Functions

static double ComputeExponent (int bias)
 

Private Attributes

double m_sensitivity
 
double m_prev
 

Detailed Description

variable-gain IIR filter

Constructor & Destructor Documentation

◆ IirFilter()

IirFilter::IirFilter ( double  sensitivity,
double  initialValue 
)
inline

Member Function Documentation

◆ ComputeExponent()

static double IirFilter::ComputeExponent ( int  bias)
inlinestaticprivate

◆ operator()()

double IirFilter::operator() ( double  x,
int  bias 
)
inline

Member Data Documentation

◆ m_prev

double IirFilter::m_prev
private

◆ m_sensitivity

double IirFilter::m_sensitivity
private

The documentation for this class was generated from the following file: