#include <Convolution.h>
Public Member Functions | |
double | calculate (void) |
Convolution (double _dt=0.005, unsigned int _range=0) | |
void | reset (void) |
void | setup (double _dt, unsigned int _range) |
void | update (double _f, double _g) |
~Convolution (void) | |
Private Attributes | |
long long | buffer_size |
double | dt |
std::deque< double > | f_buffer |
std::deque< double > | g_buffer |
Integrator | integrator |
unsigned int | range |
Definition at line 17 of file Convolution.h.
Convolution::Convolution | ( | double | _dt = 0.005 , |
unsigned int | _range = 0 |
||
) |
Definition at line 14 of file Convolution.cpp.
Definition at line 19 of file Convolution.cpp.
double Convolution::calculate | ( | void | ) |
Definition at line 50 of file Convolution.cpp.
Definition at line 22 of file Convolution.cpp.
void Convolution::setup | ( | double | _dt, |
unsigned int | _range | ||
) |
Definition at line 30 of file Convolution.cpp.
void Convolution::update | ( | double | _f, |
double | _g | ||
) |
Definition at line 38 of file Convolution.cpp.
long long Convolution::buffer_size [private] |
Definition at line 31 of file Convolution.h.
double Convolution::dt [private] |
Definition at line 27 of file Convolution.h.
std::deque<double> Convolution::f_buffer [private] |
Definition at line 29 of file Convolution.h.
std::deque<double> Convolution::g_buffer [private] |
Definition at line 30 of file Convolution.h.
Integrator Convolution::integrator [private] |
Definition at line 32 of file Convolution.h.
unsigned int Convolution::range [private] |
Definition at line 28 of file Convolution.h.