Gamma  0.9.5
Generic Synthesis Library
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Integrator< Tv, Tp > Class Template Reference

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:
Tvvalue (sample) type
Tpparameter type

Constructor & Destructor Documentation

Integrator ( const Tp &  leakCoef = Tp(1),
const Tv &  v = Tv(0) 
)
Parameters:
[in]leakCoefLeak coefficient, in [0,1)
[in]vInitial value

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