Leaky integrator.
More...
#include <Filter.h>
List of all members.
Public Member Functions |
| | Integrator (const Tp &leakCoef=Tp(1), const Tv &v=Tv(0)) |
|
Tv | operator() (const Tv &i0) const |
| | Filter input value.
|
Detailed Description
template<class Tv = double, class Tp = double>
class gam::Integrator< Tv, Tp >
Leaky integrator.
- Template Parameters:
-
| Tv | value (sample) type |
| Tp | parameter type |
Constructor & Destructor Documentation
| Integrator |
( |
const Tp & |
leakCoef = Tp(1), |
|
|
const Tv & |
v = Tv(0) |
|
) |
| |
- Parameters:
-
| [in] | leakCoef | Leak coefficient, in [0,1) |
| [in] | v | Initial value |
The documentation for this class was generated from the following file:
- /Users/ljp/code/gamma/trunk/Gamma/Filter.h