#include <OUGenerator.h>


Public Member Functions | |
| OUGenerator (double g0=0.012e-6, double sig=0.003e-6, double tau=2.7e-3, double dt=1e-4) | |
| virtual | ~OUGenerator () |
| virtual int | reset (double dt) |
| Reset the Generator. | |
| virtual int | adjust (double dt) |
| virtual void | advance () |
| Advance the process. | |
| double | getValue () |
| Get the current Value. | |
| double | operator() () |
Public Attributes | |
| double | g0 |
| The mean value of the noise process. | |
| double | sig |
| Variance of the noise process. | |
| double | tau |
| The time correlation constant. | |
| double | dt |
| Integration time step. | |
Protected Attributes | |
| double | A |
| double | C |
| double | D |
| double | value |
Static Protected Attributes | |
| static ThreadSpecificRandomDistribution < NormalDistribution > | white_noise |
| Random number generator. | |
Definition at line 15 of file OUGenerator.h.
| OUGenerator::OUGenerator | ( | double | g0 = 0.012e-6, |
|
| double | sig = 0.003e-6, |
|||
| double | tau = 2.7e-3, |
|||
| double | dt = 1e-4 | |||
| ) |
Definition at line 5 of file OUGenerator.cpp.
| OUGenerator::~OUGenerator | ( | ) | [virtual] |
Definition at line 12 of file OUGenerator.cpp.
Reset the Generator.
Reimplemented in OUNoiseResponse.
Definition at line 28 of file OUGenerator.cpp.
References adjust(), g0, and value.
Referenced by OUNoiseResponse::reset().

Reimplemented in OUNoiseResponse.
Definition at line 17 of file OUGenerator.cpp.
References A, C, D, ThreadSpecificRandomDistribution< Dist >::set(), sig, tau, and white_noise.
Referenced by OUNoiseResponse::adjust(), and reset().

| void OUGenerator::advance | ( | ) | [virtual] |
Advance the process.
Definition at line 36 of file OUGenerator.cpp.
References A, C, g0, value, and white_noise.
Referenced by operator()().
| double OUGenerator::getValue | ( | ) | [inline] |
| double OUGenerator::operator() | ( | ) | [inline] |
Definition at line 53 of file OUGenerator.h.
References advance(), and value.
Referenced by OUNoiseResponse::advance().

The mean value of the noise process.
Definition at line 19 of file OUGenerator.h.
Referenced by advance(), OUNoiseSynapse::OUNoiseSynapse(), and reset().
Variance of the noise process.
Definition at line 21 of file OUGenerator.h.
Referenced by adjust(), and OUNoiseSynapse::OUNoiseSynapse().
The time correlation constant.
Definition at line 23 of file OUGenerator.h.
Referenced by adjust(), and OUNoiseSynapse::OUNoiseSynapse().
double OUGenerator::A [protected] |
double OUGenerator::C [protected] |
double OUGenerator::D [protected] |
double OUGenerator::value [protected] |
Definition at line 32 of file OUGenerator.h.
Referenced by advance(), getValue(), operator()(), and reset().
ThreadSpecificRandomDistribution< NormalDistribution > OUGenerator::white_noise [static, protected] |
1.5.5