1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta name="robots" content="none">
<title>QuantLib: MarketModelComposite Class Reference</title>
<link rel="stylesheet" href="quantlib.css" type="text/css">
<link rel="stylesheet" href="print.css" type="text/css" media="print">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">
</head>
<body>
<div id="container">
<div id="header">
<img class="titleimage"
src="QL-title.jpg" width="212" height="47" border="0"
alt="QuantLib">
<br>
<h3 class="subtitle">A free/open-source library for quantitative finance</h3>
</div>
<div id="menu">
<h3 class="navbartitle">Version 0.9.0</h3>
<hr>
<h3 class="navbartitle">Getting started</h3>
<ul class="navbarlist">
<li class="navlink"><a href="index.html">Introduction</a></li>
<li class="navlink"><a href="overview.html">Project overview</a></li>
<li class="navlink"><a href="where.html">Where to get QuantLib</a></li>
<li class="navlink"><a href="install.html">Installation</a></li>
<li class="navlink"><a href="config.html">Configuration</a></li>
<li class="navlink"><a href="usage.html">Usage</a></li>
<li class="navlink"><a href="history.html">Version history</a></li>
<li class="navlink"><a href="resources.html">Additional resources</a></li>
<li class="navlink"><a href="group.html">The QuantLib group</a></li>
<li class="navlink"><a href="license.html">Copyright and license</a></li>
</ul>
<hr>
<h3 class="navbartitle">Reference manual</h3>
<ul class="navbarlist">
<li class="navlink"><a href="modules.html">Modules</a></li>
<li class="navlink"><a href="hierarchy.html">Class Hierarchy</a></li>
<li class="navlink"><a href="annotated.html">Compound List</a></li>
<li class="navlink"><a href="files.html">File List</a></li>
<li class="navlink"><a href="functions.html">Compound Members</a></li>
<li class="navlink"><a href="globals.html">File Members</a></li>
<li class="navlink"><a href="bug.html">Known Bugs</a></li>
<li class="navlink"><a href="caveats.html">Caveats</a></li>
<li class="navlink"><a href="test.html">Test Suite</a></li>
<li class="navlink"><a href="examples.html">Examples</a></li>
</ul>
</div>
<div id="content">
<!--Doxygen-generated content-->
<!-- Generated by Doxygen 1.5.4 -->
<div class="nav">
<a class="el" href="namespace_quant_lib.html">QuantLib</a>::<a class="el" href="class_quant_lib_1_1_market_model_composite.html">MarketModelComposite</a></div>
<h1>MarketModelComposite Class Reference</h1><!-- doxytag: class="QuantLib::MarketModelComposite" --><!-- doxytag: inherits="QuantLib::MarketModelMultiProduct" --><code>#include <ql/models/marketmodels/products/compositeproduct.hpp></code>
<p>
<div class="dynheader">
Inheritance diagram for MarketModelComposite:</div>
<div class="dynsection">
<p><center><img src="class_quant_lib_1_1_market_model_composite__inherit__graph.png" border="0" usemap="#_market_model_composite__inherit__map" alt="Inheritance graph"></center>
<map name="_market_model_composite__inherit__map">
<area shape="rect" href="class_quant_lib_1_1_multi_product_composite.html" title="Composition of one or more market-model products." alt="" coords="5,161,179,188"><area shape="rect" href="class_quant_lib_1_1_single_product_composite.html" title="Composition of one or more market-model products." alt="" coords="203,161,384,188"><area shape="rect" href="class_quant_lib_1_1_market_model_multi_product.html" title="market-model product" alt="" coords="99,7,285,33"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="class_quant_lib_1_1_market_model_composite-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Composition of two or more market-model products.
<p>
Instances of this class build a market-model product by composing one or more subproducts.<p>
<dl class="pre" compact><dt><b>Precondition:</b></dt><dd>All subproducts must have the same rate times. </dd></dl>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">MarketModelMultiProduct interface</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fa0882cb7e47518f285e2bc573d954a9"></a><!-- doxytag: member="QuantLib::MarketModelComposite::evolution" ref="fa0882cb7e47518f285e2bc573d954a9" args="() const " -->
const <a class="el" href="class_quant_lib_1_1_evolution_description.html">EvolutionDescription</a> & </td><td class="memItemRight" valign="bottom"><b>evolution</b> () const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af801d7941a97da6022733449a2a0e24"></a><!-- doxytag: member="QuantLib::MarketModelComposite::suggestedNumeraires" ref="af801d7941a97da6022733449a2a0e24" args="() const " -->
std::vector< <a class="el" href="group__types.html#gf38bdb4c54463b1f456655efa95b5c77">Size</a> > </td><td class="memItemRight" valign="bottom"><b>suggestedNumeraires</b> () const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="56865e26489f9b92ffd7aa1adf6cbc09"></a><!-- doxytag: member="QuantLib::MarketModelComposite::possibleCashFlowTimes" ref="56865e26489f9b92ffd7aa1adf6cbc09" args="() const " -->
std::vector< <a class="el" href="group__types.html#g14fb8fca43a68f4168654e1f9f7e22f7">Time</a> > </td><td class="memItemRight" valign="bottom"><b>possibleCashFlowTimes</b> () const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d20897c5c8bd47f5d4005989bead0e55"></a><!-- doxytag: member="QuantLib::MarketModelComposite::reset" ref="d20897c5c8bd47f5d4005989bead0e55" args="()" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_market_model_composite.html#d20897c5c8bd47f5d4005989bead0e55">reset</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">during simulation put product at start of path <br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Composite facilities</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d54deb7b69bb7f1f927eef29a76e2d2d"></a><!-- doxytag: member="QuantLib::MarketModelComposite::add" ref="d54deb7b69bb7f1f927eef29a76e2d2d" args="(const Clone< MarketModelMultiProduct > &, Real multiplier=1.0)" -->
void </td><td class="memItemRight" valign="bottom"><b>add</b> (const <a class="el" href="class_quant_lib_1_1_clone.html">Clone</a>< <a class="el" href="class_quant_lib_1_1_market_model_multi_product.html">MarketModelMultiProduct</a> > &, <a class="el" href="group__types.html#g4bdf4bfe76b9ffa6fa64c47d8bfa0c78">Real</a> multiplier=1.0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dccee83ceafb42605c0b5a54decba11a"></a><!-- doxytag: member="QuantLib::MarketModelComposite::subtract" ref="dccee83ceafb42605c0b5a54decba11a" args="(const Clone< MarketModelMultiProduct > &, Real multiplier=1.0)" -->
void </td><td class="memItemRight" valign="bottom"><b>subtract</b> (const <a class="el" href="class_quant_lib_1_1_clone.html">Clone</a>< <a class="el" href="class_quant_lib_1_1_market_model_multi_product.html">MarketModelMultiProduct</a> > &, <a class="el" href="group__types.html#g4bdf4bfe76b9ffa6fa64c47d8bfa0c78">Real</a> multiplier=1.0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="32d626626eee0bc4ade146973f6abb1c"></a><!-- doxytag: member="QuantLib::MarketModelComposite::finalize" ref="32d626626eee0bc4ade146973f6abb1c" args="()" -->
void </td><td class="memItemRight" valign="bottom"><b>finalize</b> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9d78a687cf2a391198bb3cbc08bc06cb"></a><!-- doxytag: member="QuantLib::MarketModelComposite::size" ref="9d78a687cf2a391198bb3cbc08bc06cb" args="() const " -->
<a class="el" href="group__types.html#gf38bdb4c54463b1f456655efa95b5c77">Size</a> </td><td class="memItemRight" valign="bottom"><b>size</b> () const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4d3832e41ef37ae2b78220d27b32d756"></a><!-- doxytag: member="QuantLib::MarketModelComposite::item" ref="4d3832e41ef37ae2b78220d27b32d756" args="(Size i) const " -->
const <a class="el" href="class_quant_lib_1_1_market_model_multi_product.html">MarketModelMultiProduct</a> & </td><td class="memItemRight" valign="bottom"><b>item</b> (<a class="el" href="group__types.html#gf38bdb4c54463b1f456655efa95b5c77">Size</a> i) const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="04fc1fdac6123f79e4cfdc37ac11a05d"></a><!-- doxytag: member="QuantLib::MarketModelComposite::item" ref="04fc1fdac6123f79e4cfdc37ac11a05d" args="(Size i)" -->
<a class="el" href="class_quant_lib_1_1_market_model_multi_product.html">MarketModelMultiProduct</a> & </td><td class="memItemRight" valign="bottom"><b>item</b> (<a class="el" href="group__types.html#gf38bdb4c54463b1f456655efa95b5c77">Size</a> i)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="da5f3aaad6f0c235b22d8835ea01f71f"></a><!-- doxytag: member="QuantLib::MarketModelComposite::multiplier" ref="da5f3aaad6f0c235b22d8835ea01f71f" args="(Size i) const " -->
<a class="el" href="group__types.html#g4bdf4bfe76b9ffa6fa64c47d8bfa0c78">Real</a> </td><td class="memItemRight" valign="bottom"><b>multiplier</b> (<a class="el" href="group__types.html#gf38bdb4c54463b1f456655efa95b5c77">Size</a> i) const </td></tr>
<tr><td colspan="2"><br><h2>Protected Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8fd3de84f6d91768bff4a6d9fc1af0f0"></a><!-- doxytag: member="QuantLib::MarketModelComposite::iterator" ref="8fd3de84f6d91768bff4a6d9fc1af0f0" args="" -->
typedef std::vector<br>
< SubProduct >::iterator </td><td class="memItemRight" valign="bottom"><b>iterator</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d1bf7b26d29f9abf4bfa131b2a93c575"></a><!-- doxytag: member="QuantLib::MarketModelComposite::const_iterator" ref="d1bf7b26d29f9abf4bfa131b2a93c575" args="" -->
typedef std::vector<br>
< SubProduct >::const_iterator </td><td class="memItemRight" valign="bottom"><b>const_iterator</b></td></tr>
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e5b5dafd63887769f063a9d961cb92ad"></a><!-- doxytag: member="QuantLib::MarketModelComposite::components_" ref="e5b5dafd63887769f063a9d961cb92ad" args="" -->
std::vector< SubProduct > </td><td class="memItemRight" valign="bottom"><b>components_</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7c5eaa190a38d0d5e7e28ce0a5dafc6f"></a><!-- doxytag: member="QuantLib::MarketModelComposite::rateTimes_" ref="7c5eaa190a38d0d5e7e28ce0a5dafc6f" args="" -->
std::vector< <a class="el" href="group__types.html#g14fb8fca43a68f4168654e1f9f7e22f7">Time</a> > </td><td class="memItemRight" valign="bottom"><b>rateTimes_</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f051a5fac945acae7bc4256d87825405"></a><!-- doxytag: member="QuantLib::MarketModelComposite::evolutionTimes_" ref="f051a5fac945acae7bc4256d87825405" args="" -->
std::vector< <a class="el" href="group__types.html#g14fb8fca43a68f4168654e1f9f7e22f7">Time</a> > </td><td class="memItemRight" valign="bottom"><b>evolutionTimes_</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5fabad6baffe7913d7edf93e4017faa"></a><!-- doxytag: member="QuantLib::MarketModelComposite::evolution_" ref="a5fabad6baffe7913d7edf93e4017faa" args="" -->
<a class="el" href="class_quant_lib_1_1_evolution_description.html">EvolutionDescription</a> </td><td class="memItemRight" valign="bottom"><b>evolution_</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e3118963d637df1bf46db66f470747e6"></a><!-- doxytag: member="QuantLib::MarketModelComposite::finalized_" ref="e3118963d637df1bf46db66f470747e6" args="" -->
bool </td><td class="memItemRight" valign="bottom"><b>finalized_</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3495084176af63912be0fa34354c98a9"></a><!-- doxytag: member="QuantLib::MarketModelComposite::currentIndex_" ref="3495084176af63912be0fa34354c98a9" args="" -->
<a class="el" href="group__types.html#gf38bdb4c54463b1f456655efa95b5c77">Size</a> </td><td class="memItemRight" valign="bottom"><b>currentIndex_</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6cd744c04d6dec7a1ebdc6dbb7cfcd3a"></a><!-- doxytag: member="QuantLib::MarketModelComposite::cashflowTimes_" ref="6cd744c04d6dec7a1ebdc6dbb7cfcd3a" args="" -->
std::vector< <a class="el" href="group__types.html#g14fb8fca43a68f4168654e1f9f7e22f7">Time</a> > </td><td class="memItemRight" valign="bottom"><b>cashflowTimes_</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3fc479761661c8d56b5b37532512d943"></a><!-- doxytag: member="QuantLib::MarketModelComposite::allEvolutionTimes_" ref="3fc479761661c8d56b5b37532512d943" args="" -->
std::vector< std::vector< <a class="el" href="group__types.html#g14fb8fca43a68f4168654e1f9f7e22f7">Time</a> > > </td><td class="memItemRight" valign="bottom"><b>allEvolutionTimes_</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ae3016cd35fb89184d44552e1756e209"></a><!-- doxytag: member="QuantLib::MarketModelComposite::isInSubset_" ref="ae3016cd35fb89184d44552e1756e209" args="" -->
std::vector< std::vector< bool > > </td><td class="memItemRight" valign="bottom"><b>isInSubset_</b></td></tr>
</table>
</div>
<div class="footer">
<div class="endmatter">
Documentation generated by
<a href="http://www.doxygen.org">Doxygen</a> 1.5.4
</div>
</div>
</div>
</body>
</html>
|