24#ifndef quantlib_heston_process_hpp
25#define quantlib_heston_process_hpp
1-D array used in linear algebra.
Shared handle to an observable.
Square-root stochastic-volatility Heston 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
Real pdf(Real x, Real v, Time t, Real eps=1e-3) const
@ BroadieKayaExactSchemeLobatto
@ NonCentralChiSquareVariance
@ BroadieKayaExactSchemeLaguerre
@ QuadraticExponentialMartingale
@ BroadieKayaExactSchemeTrapezoidal
Real varianceDistribution(Real v, Real dw, Time dt) const
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
Size factors() const override
returns the number of independent factors of the process
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_
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
ext::shared_ptr< BlackVolTermStructure > v
purely virtual base class for market observables
Interest-rate term structure.