QuantLib
A free/open-source library for quantitative finance
Reference manual - version 1.20
Public Member Functions | List of all members
MultiPath Class Reference

Correlated multiple asset paths. More...

#include <ql/methods/montecarlo/multipath.hpp>

Public Member Functions

 MultiPath (Size nAsset, const TimeGrid &timeGrid)
 
 MultiPath (const std::vector< Path > &multiPath)
 
inspectors
Size assetNumber () const
 
Size pathSize () const
 

read/write access to components

const Pathoperator[] (Size j) const
 
const Pathat (Size j) const
 
Pathoperator[] (Size j)
 
Pathat (Size j)
 

Detailed Description

Correlated multiple asset paths.

MultiPath contains the list of paths for each asset, i.e., multipath[j] is the path followed by the j-th asset.