27 return process.
drift(t0+dt, x0)*dt;
32 return process.
drift(t0+dt, x0)*dt;
39 return process.
diffusion(t0+dt, x0) * std::sqrt(dt);
44 return process.
diffusion(t0+dt, x0) * std::sqrt(dt);
1-D array used in linear algebra.
Matrix diffusion(const StochasticProcess &, Time t0, const Array &x0, Time dt) const override
Real variance(const StochasticProcess1D &, Time t0, Real x0, Time dt) const override
Matrix covariance(const StochasticProcess &, Time t0, const Array &x0, Time dt) const override
Array drift(const StochasticProcess &, Time t0, const Array &x0, Time dt) const override
Matrix used in linear algebra.
1-dimensional stochastic process
virtual Real drift(Time t, Real x) const =0
returns the drift part of the equation, i.e.
virtual Real diffusion(Time t, Real x) const =0
returns the diffusion part of the equation, i.e.
multi-dimensional stochastic process class.
virtual Array drift(Time t, const Array &x) const =0
returns the drift part of the equation, i.e.,
virtual Matrix diffusion(Time t, const Array &x) const =0
returns the diffusion part of the equation, i.e.
Euler end-point discretization for stochastic processes.
Real Time
continuous quantity with 1-year units
Matrix transpose(const Matrix &m)