25#ifndef quantlib_stochastic_process_array_hpp
26#define quantlib_stochastic_process_array_hpp
38 const std::vector<ext::shared_ptr<StochasticProcess1D> >&,
55 const ext::shared_ptr<StochasticProcess1D>&
process(
Size i)
const;
58 std::vector<ext::shared_ptr<StochasticProcess1D> >
processes_;
1-D array used in linear algebra.
Matrix used in linear algebra.
Array of correlated 1-D stochastic processes
Array drift(Time t, const Array &x) const override
returns the drift part of the equation, i.e.,
Size size() const override
returns the number of dimensions of the stochastic process
Array evolve(Time t0, const Array &x0, Time dt, const Array &dw) const override
const ext::shared_ptr< StochasticProcess1D > & process(Size i) const
Matrix diffusion(Time t, const Array &x) const override
returns the diffusion part of the equation, i.e.
Time time(const Date &) const override
Matrix stdDeviation(Time t0, const Array &x0, Time dt) const override
Matrix covariance(Time t0, const Array &x0, Time dt) const override
Array expectation(Time t0, const Array &x0, Time dt) const override
Array initialValues() const override
returns the initial values of the state variables
Array apply(const Array &x0, const Array &dx) const override
Matrix correlation() const
std::vector< ext::shared_ptr< StochasticProcess1D > > processes_
multi-dimensional stochastic process class.
Real Time
continuous quantity with 1-year units
std::size_t Size
size of a container