30 ext::shared_ptr<ExtOUWithJumpsProcess> klugeProcess,
31 ext::shared_ptr<ExtendedOrnsteinUhlenbeckProcess> ouProcess)
32 : rho_(
rho), sqrtMRho_(
std::sqrt(1 -
rho *
rho)), klugeProcess_(
std::move(klugeProcess)),
33 ouProcess_(
std::move(ouProcess)) {
89 ext::shared_ptr<ExtOUWithJumpsProcess>
93 ext::shared_ptr<ExtendedOrnsteinUhlenbeckProcess>
1-D array used in linear algebra.
const_iterator end() const
const_iterator begin() const
const ext::shared_ptr< ExtendedOrnsteinUhlenbeckProcess > ouProcess_
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
KlugeExtOUProcess(Real rho, ext::shared_ptr< ExtOUWithJumpsProcess > kluge, ext::shared_ptr< ExtendedOrnsteinUhlenbeckProcess > extOU)
Matrix diffusion(Time t, const Array &x) const override
returns the diffusion part of the equation, i.e.
Size factors() const override
returns the number of independent factors of the process
Array initialValues() const override
returns the initial values of the state variables
const ext::shared_ptr< ExtOUWithJumpsProcess > klugeProcess_
ext::shared_ptr< ExtOUWithJumpsProcess > getKlugeProcess() const
ext::shared_ptr< ExtendedOrnsteinUhlenbeckProcess > getExtOUProcess() const
Matrix used in linear algebra.
#define QL_REQUIRE(condition, message)
throw an error if the given pre-condition is not verified
extended Ornstein-Uhlenbeck process
Ornstein Uhlenbeck process plus exp jumps (Kluge Model)
Real Time
continuous quantity with 1-year units
Real Volatility
volatility
std::size_t Size
size of a container
joint Kluge process an d Ornstein Uhlenbeck process
Interest-rate term structure.