DiffEq - Modern C++ ODE Integration Library 1.0.0
High-performance C++ library for solving ODEs with async signal processing
|
SDE problem definition. More...
#include <sde_base.hpp>
Public Types | |
using | state_type = StateType |
using | time_type = typename StateType::value_type |
using | value_type = typename StateType::value_type |
using | drift_function = std::function< void(time_type, const state_type &, state_type &)> |
using | diffusion_function = std::function< void(time_type, const state_type &, state_type &)> |
using | noise_function = std::function< void(time_type, const state_type &, StateType &, const StateType &)> |
Public Member Functions | |
SDEProblem (drift_function drift, diffusion_function diffusion, NoiseType noise_type=NoiseType::DIAGONAL_NOISE) | |
void | drift (time_type t, const state_type &x, state_type &fx) const |
void | diffusion (time_type t, const state_type &x, state_type &gx) const |
NoiseType | get_noise_type () const |
void | set_noise_function (noise_function noise) |
bool | has_custom_noise () const |
void | apply_noise (time_type t, const state_type &x, state_type &noise_term, const state_type &dW) const |
SDE problem definition.
Represents SDE of the form: dX = f(t, X) dt + g(t, X) dW
Where:
Definition at line 32 of file sde_base.hpp.
using diffeq::sde::SDEProblem< StateType >::diffusion_function = std::function<void(time_type, const state_type&, state_type&)> |
Definition at line 40 of file sde_base.hpp.
using diffeq::sde::SDEProblem< StateType >::drift_function = std::function<void(time_type, const state_type&, state_type&)> |
Definition at line 39 of file sde_base.hpp.
using diffeq::sde::SDEProblem< StateType >::noise_function = std::function<void(time_type, const state_type&, StateType&, const StateType&)> |
Definition at line 41 of file sde_base.hpp.
using diffeq::sde::SDEProblem< StateType >::state_type = StateType |
Definition at line 34 of file sde_base.hpp.
using diffeq::sde::SDEProblem< StateType >::time_type = typename StateType::value_type |
Definition at line 35 of file sde_base.hpp.
using diffeq::sde::SDEProblem< StateType >::value_type = typename StateType::value_type |
Definition at line 36 of file sde_base.hpp.
|
inline |
Definition at line 43 of file sde_base.hpp.
|
inline |
Definition at line 65 of file sde_base.hpp.
|
inline |
Definition at line 53 of file sde_base.hpp.
|
inline |
Definition at line 49 of file sde_base.hpp.
|
inline |
Definition at line 57 of file sde_base.hpp.
|
inline |
Definition at line 63 of file sde_base.hpp.
|
inline |
Definition at line 59 of file sde_base.hpp.