35 s0_(
std::move(s0)), dividendYield_(
std::move(dividendYield)),
Euler discretization for stochastic processes.
Shared handle to an observable.
std::pair< iterator, bool > registerWith(const ext::shared_ptr< Observable > &)
1-dimensional stochastic process
discretization of a stochastic process over a given time interval
const Handle< YieldTermStructure > & dividendYield() const
Real diffusion(Time t, Real x) const override
returns the diffusion part of the equation, i.e.
VarianceGammaProcess(Handle< Quote > s0, Handle< YieldTermStructure > dividendYield, Handle< YieldTermStructure > riskFreeRate, Real sigma, Real nu, Real theta)
Real drift(Time t, Real x) const override
returns the drift part of the equation, i.e.
Handle< YieldTermStructure > dividendYield_
Real x0() const override
returns the initial value of the state variable
const Handle< Quote > & s0() const
const Handle< YieldTermStructure > & riskFreeRate() const
Handle< YieldTermStructure > riskFreeRate_
Classes and functions for error handling.
#define QL_FAIL(message)
throw an error (possibly with file and line information)
Euler discretization for stochastic processes.
Real Time
continuous quantity with 1-year units
normal, cumulative and inverse cumulative distributions
Variance Gamma stochastic process.