24#ifndef quantlib_gjrgarch_process_hpp
25#define quantlib_gjrgarch_process_hpp
1-D array used in linear algebra.
Stochastic-volatility GJR-GARCH(1,1) process.
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
Matrix diffusion(Time t, const Array &x) const override
returns the diffusion part of the equation, i.e.
const Handle< YieldTermStructure > & dividendYield() const
Time time(const Date &) const override
Discretization discretization_
Array initialValues() const override
returns the initial values of the state variables
Handle< YieldTermStructure > dividendYield_
Array apply(const Array &x0, const Array &dx) const override
const Handle< Quote > & s0() const
const Handle< YieldTermStructure > & riskFreeRate() const
Handle< YieldTermStructure > riskFreeRate_
Shared handle to an observable.
Matrix used in linear algebra.
multi-dimensional stochastic process class.
Real Time
continuous quantity with 1-year units
std::size_t Size
size of a container
purely virtual base class for market observables
Interest-rate term structure.