25#ifndef quantlib_montecarlo_multi_path_hpp
26#define quantlib_montecarlo_multi_path_hpp
65 : multiPath_(nAsset,
Path(timeGrid)) {
66 QL_REQUIRE(nAsset > 0,
"number of asset must be positive");
Correlated multiple asset paths.
const Path & operator[](Size j) const
std::vector< Path > multiPath_
Path & operator[](Size j)
const Path & at(Size j) const
single-factor random walk
#define QL_REQUIRE(condition, message)
throw an error if the given pre-condition is not verified
std::size_t Size
size of a container
single factor random walk