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 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246
|
<!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>DefaultProbabilityTermStructure 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="185" height="50" 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 1.2</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="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="todo.html">Todo List</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.7.6.1 -->
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><b>QuantLib</b> </li>
<li class="navelem"><a class="el" href="class_quant_lib_1_1_default_probability_term_structure.html">DefaultProbabilityTermStructure</a> </li>
</ul>
</div>
</div>
<div class="header">
<div class="headertitle">
<div class="title">DefaultProbabilityTermStructure Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="QuantLib::DefaultProbabilityTermStructure" --><!-- doxytag: inherits="QuantLib::TermStructure" -->
<p>Default probability term structure.
<a href="class_quant_lib_1_1_default_probability_term_structure.html#details">More...</a></p>
<p><code>#include <ql/termstructures/defaulttermstructure.hpp></code></p>
<div class="dynheader">
Inheritance diagram for DefaultProbabilityTermStructure:</div>
<div class="dyncontent">
<div class="center"><img src="class_quant_lib_1_1_default_probability_term_structure__inherit__graph.png" border="0" usemap="#_default_probability_term_structure_inherit__map" alt="Inheritance graph"/></div>
<map name="_default_probability_term_structure_inherit__map" id="_default_probability_term_structure_inherit__map">
<area shape="rect" id="node5" href="class_quant_lib_1_1_default_density_structure.html" title="Default-density term structure." alt="" coords="5,166,165,197"/><area shape="rect" id="node7" href="class_quant_lib_1_1_hazard_rate_structure.html" title="Hazard-rate term structure." alt="" coords="189,166,331,197"/><area shape="rect" id="node9" href="class_quant_lib_1_1_survival_probability_structure.html" title="Hazard-rate term structure." alt="" coords="355,166,536,197"/><area shape="rect" id="node2" href="class_quant_lib_1_1_term_structure.html" title="Basic term-structure functionality." alt="" coords="208,6,312,37"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="class_quant_lib_1_1_default_probability_term_structure-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>See the <a class="el" href="class_quant_lib_1_1_term_structure.html" title="Basic term-structure functionality.">TermStructure</a> documentation for issues regarding constructors. </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a61f6e82b826a2c15edbeec08161281ce"></a><!-- doxytag: member="QuantLib::DefaultProbabilityTermStructure::DefaultProbabilityTermStructure" ref="a61f6e82b826a2c15edbeec08161281ce" args="(const DayCounter &dc=DayCounter(), const std::vector< Handle< Quote > > &jumps=std::vector< Handle< Quote > >(), const std::vector< Date > &jumpDates=std::vector< Date >())" -->
 </td><td class="memItemRight" valign="bottom"><b>DefaultProbabilityTermStructure</b> (const <a class="el" href="class_quant_lib_1_1_day_counter.html">DayCounter</a> &dc=<a class="el" href="class_quant_lib_1_1_day_counter.html">DayCounter</a>(), const std::vector< <a class="el" href="class_quant_lib_1_1_handle.html">Handle</a>< <a class="el" href="class_quant_lib_1_1_quote.html">Quote</a> > > &jumps=std::vector< <a class="el" href="class_quant_lib_1_1_handle.html">Handle</a>< <a class="el" href="class_quant_lib_1_1_quote.html">Quote</a> > >(), const std::vector< <a class="el" href="class_quant_lib_1_1_date.html">Date</a> > &jumpDates=std::vector< <a class="el" href="class_quant_lib_1_1_date.html">Date</a> >())</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a44fb296352770addfc78f4b862c18143"></a><!-- doxytag: member="QuantLib::DefaultProbabilityTermStructure::DefaultProbabilityTermStructure" ref="a44fb296352770addfc78f4b862c18143" args="(const Date &referenceDate, const Calendar &cal=Calendar(), const DayCounter &dc=DayCounter(), const std::vector< Handle< Quote > > &jumps=std::vector< Handle< Quote > >(), const std::vector< Date > &jumpDates=std::vector< Date >())" -->
 </td><td class="memItemRight" valign="bottom"><b>DefaultProbabilityTermStructure</b> (const <a class="el" href="class_quant_lib_1_1_date.html">Date</a> &<a class="el" href="class_quant_lib_1_1_term_structure.html#aa9ae6cc6009ac64d4f265065eab08be0">referenceDate</a>, const <a class="el" href="class_quant_lib_1_1_calendar.html">Calendar</a> &cal=<a class="el" href="class_quant_lib_1_1_calendar.html">Calendar</a>(), const <a class="el" href="class_quant_lib_1_1_day_counter.html">DayCounter</a> &dc=<a class="el" href="class_quant_lib_1_1_day_counter.html">DayCounter</a>(), const std::vector< <a class="el" href="class_quant_lib_1_1_handle.html">Handle</a>< <a class="el" href="class_quant_lib_1_1_quote.html">Quote</a> > > &jumps=std::vector< <a class="el" href="class_quant_lib_1_1_handle.html">Handle</a>< <a class="el" href="class_quant_lib_1_1_quote.html">Quote</a> > >(), const std::vector< <a class="el" href="class_quant_lib_1_1_date.html">Date</a> > &jumpDates=std::vector< <a class="el" href="class_quant_lib_1_1_date.html">Date</a> >())</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad874923d57650e4a31691c5a35fa5aca"></a><!-- doxytag: member="QuantLib::DefaultProbabilityTermStructure::DefaultProbabilityTermStructure" ref="ad874923d57650e4a31691c5a35fa5aca" args="(Natural settlementDays, const Calendar &cal, const DayCounter &dc=DayCounter(), const std::vector< Handle< Quote > > &jumps=std::vector< Handle< Quote > >(), const std::vector< Date > &jumpDates=std::vector< Date >())" -->
 </td><td class="memItemRight" valign="bottom"><b>DefaultProbabilityTermStructure</b> (<a class="el" href="group__types.html#ga7e529c39c477ba1f5a22264d93e8457a">Natural</a> <a class="el" href="class_quant_lib_1_1_term_structure.html#ab6506da60fec85c6f146f1b43116de70">settlementDays</a>, const <a class="el" href="class_quant_lib_1_1_calendar.html">Calendar</a> &cal, const <a class="el" href="class_quant_lib_1_1_day_counter.html">DayCounter</a> &dc=<a class="el" href="class_quant_lib_1_1_day_counter.html">DayCounter</a>(), const std::vector< <a class="el" href="class_quant_lib_1_1_handle.html">Handle</a>< <a class="el" href="class_quant_lib_1_1_quote.html">Quote</a> > > &jumps=std::vector< <a class="el" href="class_quant_lib_1_1_handle.html">Handle</a>< <a class="el" href="class_quant_lib_1_1_quote.html">Quote</a> > >(), const std::vector< <a class="el" href="class_quant_lib_1_1_date.html">Date</a> > &jumpDates=std::vector< <a class="el" href="class_quant_lib_1_1_date.html">Date</a> >())</td></tr>
<tr><td colspan="2"><div class="groupHeader">Survival probabilities</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>These methods return the survival probability from the reference date until a given date or time. In the latter case, the time is calculated as a fraction of year from the reference date. </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac8b61d19fc6af8e68c998581163a7979"></a><!-- doxytag: member="QuantLib::DefaultProbabilityTermStructure::survivalProbability" ref="ac8b61d19fc6af8e68c998581163a7979" args="(const Date &d, bool extrapolate=false) const " -->
<a class="el" href="group__types.html#gad9817a6a21dfcb91429f0152c99d6313">Probability</a> </td><td class="memItemRight" valign="bottom"><b>survivalProbability</b> (const <a class="el" href="class_quant_lib_1_1_date.html">Date</a> &d, bool extrapolate=false) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#gad9817a6a21dfcb91429f0152c99d6313">Probability</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_default_probability_term_structure.html#a564dec16c937941fb22a3f10e5cc6a94">survivalProbability</a> (<a class="el" href="group__types.html#ga14fb8fca43a68f4168654e1f9f7e22f7">Time</a> t, bool extrapolate=false) const </td></tr>
<tr><td colspan="2"><div class="groupHeader">Default probabilities</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>These methods return the default probability from the reference date until a given date or time. In the latter case, the time is calculated as a fraction of year from the reference date. </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab961f738c3cd86c3ab852b1f0017933a"></a><!-- doxytag: member="QuantLib::DefaultProbabilityTermStructure::defaultProbability" ref="ab961f738c3cd86c3ab852b1f0017933a" args="(const Date &d, bool extrapolate=false) const " -->
<a class="el" href="group__types.html#gad9817a6a21dfcb91429f0152c99d6313">Probability</a> </td><td class="memItemRight" valign="bottom"><b>defaultProbability</b> (const <a class="el" href="class_quant_lib_1_1_date.html">Date</a> &d, bool extrapolate=false) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#gad9817a6a21dfcb91429f0152c99d6313">Probability</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_default_probability_term_structure.html#aca67e9cf1e6f5220abbb72a1c5a6fed6">defaultProbability</a> (<a class="el" href="group__types.html#ga14fb8fca43a68f4168654e1f9f7e22f7">Time</a> t, bool extrapolate=false) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a58faf49747512845a293b1d4dd44dbbf"></a><!-- doxytag: member="QuantLib::DefaultProbabilityTermStructure::defaultProbability" ref="a58faf49747512845a293b1d4dd44dbbf" args="(const Date &, const Date &, bool extrapolate=false) const " -->
<a class="el" href="group__types.html#gad9817a6a21dfcb91429f0152c99d6313">Probability</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_default_probability_term_structure.html#a58faf49747512845a293b1d4dd44dbbf">defaultProbability</a> (const <a class="el" href="class_quant_lib_1_1_date.html">Date</a> &, const <a class="el" href="class_quant_lib_1_1_date.html">Date</a> &, bool extrapolate=false) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">probability of default between two given dates <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3b2c279a4628ed919c5fa5a22ca2f3d6"></a><!-- doxytag: member="QuantLib::DefaultProbabilityTermStructure::defaultProbability" ref="a3b2c279a4628ed919c5fa5a22ca2f3d6" args="(Time, Time, bool extrapo=false) const " -->
<a class="el" href="group__types.html#gad9817a6a21dfcb91429f0152c99d6313">Probability</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_default_probability_term_structure.html#a3b2c279a4628ed919c5fa5a22ca2f3d6">defaultProbability</a> (<a class="el" href="group__types.html#ga14fb8fca43a68f4168654e1f9f7e22f7">Time</a>, <a class="el" href="group__types.html#ga14fb8fca43a68f4168654e1f9f7e22f7">Time</a>, bool extrapo=false) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">probability of default between two given times <br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Default densities</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>These methods return the default density at a given date or time. In the latter case, the time is calculated as a fraction of year from the reference date. </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac02f02adbc2dd62c31c7196db9f51bb6"></a><!-- doxytag: member="QuantLib::DefaultProbabilityTermStructure::defaultDensity" ref="ac02f02adbc2dd62c31c7196db9f51bb6" args="(const Date &d, bool extrapolate=false) const " -->
<a class="el" href="group__types.html#ga4bdf4bfe76b9ffa6fa64c47d8bfa0c78">Real</a> </td><td class="memItemRight" valign="bottom"><b>defaultDensity</b> (const <a class="el" href="class_quant_lib_1_1_date.html">Date</a> &d, bool extrapolate=false) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ade380748bd5d88bcdd0672077924c995"></a><!-- doxytag: member="QuantLib::DefaultProbabilityTermStructure::defaultDensity" ref="ade380748bd5d88bcdd0672077924c995" args="(Time t, bool extrapolate=false) const " -->
<a class="el" href="group__types.html#ga4bdf4bfe76b9ffa6fa64c47d8bfa0c78">Real</a> </td><td class="memItemRight" valign="bottom"><b>defaultDensity</b> (<a class="el" href="group__types.html#ga14fb8fca43a68f4168654e1f9f7e22f7">Time</a> t, bool extrapolate=false) const </td></tr>
<tr><td colspan="2"><div class="groupHeader">Hazard rates</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>These methods returns the hazard rate at a given date or time. In the latter case, the time is calculated as a fraction of year from the reference date.</p>
<p>Hazard rates are defined with annual frequency and continuous compounding. </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afadf82224cdb1634d8ea32c2d3de09f5"></a><!-- doxytag: member="QuantLib::DefaultProbabilityTermStructure::hazardRate" ref="afadf82224cdb1634d8ea32c2d3de09f5" args="(const Date &d, bool extrapolate=false) const " -->
<a class="el" href="group__types.html#gaede435af51236692b1107d7639581d39">Rate</a> </td><td class="memItemRight" valign="bottom"><b>hazardRate</b> (const <a class="el" href="class_quant_lib_1_1_date.html">Date</a> &d, bool extrapolate=false) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9527c9b893be59578a27a69550ad9679"></a><!-- doxytag: member="QuantLib::DefaultProbabilityTermStructure::hazardRate" ref="a9527c9b893be59578a27a69550ad9679" args="(Time t, bool extrapolate=false) const " -->
<a class="el" href="group__types.html#gaede435af51236692b1107d7639581d39">Rate</a> </td><td class="memItemRight" valign="bottom"><b>hazardRate</b> (<a class="el" href="group__types.html#ga14fb8fca43a68f4168654e1f9f7e22f7">Time</a> t, bool extrapolate=false) const </td></tr>
<tr><td colspan="2"><div class="groupHeader">Jump inspectors</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a664edcb72ff4033ddc5d423bb22adb42"></a><!-- doxytag: member="QuantLib::DefaultProbabilityTermStructure::jumpDates" ref="a664edcb72ff4033ddc5d423bb22adb42" args="() const " -->
const std::vector< <a class="el" href="class_quant_lib_1_1_date.html">Date</a> > & </td><td class="memItemRight" valign="bottom"><b>jumpDates</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1abac1502627ed10d3a628b2b5e3f8e8"></a><!-- doxytag: member="QuantLib::DefaultProbabilityTermStructure::jumpTimes" ref="a1abac1502627ed10d3a628b2b5e3f8e8" args="() const " -->
const std::vector< <a class="el" href="group__types.html#ga14fb8fca43a68f4168654e1f9f7e22f7">Time</a> > & </td><td class="memItemRight" valign="bottom"><b>jumpTimes</b> () const </td></tr>
<tr><td colspan="2"><div class="groupHeader">Observer interface</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_default_probability_term_structure.html#ac5c54df7ed3b930268c8d7752c101725">update</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Calculations</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>These methods must be implemented in derived classes to perform the actual calculations. When they are called, range check has already been performed; therefore, they must assume that extrapolation is required. </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a344fea84748c884236cd26be3f3b1dd5"></a><!-- doxytag: member="QuantLib::DefaultProbabilityTermStructure::survivalProbabilityImpl" ref="a344fea84748c884236cd26be3f3b1dd5" args="(Time) const =0" -->
virtual <a class="el" href="group__types.html#gad9817a6a21dfcb91429f0152c99d6313">Probability</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_default_probability_term_structure.html#a344fea84748c884236cd26be3f3b1dd5">survivalProbabilityImpl</a> (<a class="el" href="group__types.html#ga14fb8fca43a68f4168654e1f9f7e22f7">Time</a>) const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">survival probability calculation <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6fa52b63cbf5503d39b7ce7cb66b741e"></a><!-- doxytag: member="QuantLib::DefaultProbabilityTermStructure::defaultDensityImpl" ref="a6fa52b63cbf5503d39b7ce7cb66b741e" args="(Time) const =0" -->
virtual <a class="el" href="group__types.html#ga4bdf4bfe76b9ffa6fa64c47d8bfa0c78">Real</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_default_probability_term_structure.html#a6fa52b63cbf5503d39b7ce7cb66b741e">defaultDensityImpl</a> (<a class="el" href="group__types.html#ga14fb8fca43a68f4168654e1f9f7e22f7">Time</a>) const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">default density calculation <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Default probability term structure. </p>
<p>This abstract class defines the interface of concrete credit structures which will be derived from this one. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a564dec16c937941fb22a3f10e5cc6a94"></a><!-- doxytag: member="QuantLib::DefaultProbabilityTermStructure::survivalProbability" ref="a564dec16c937941fb22a3f10e5cc6a94" args="(Time t, bool extrapolate=false) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__types.html#gad9817a6a21dfcb91429f0152c99d6313">Probability</a> survivalProbability </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__types.html#ga14fb8fca43a68f4168654e1f9f7e22f7">Time</a> </td>
<td class="paramname"><em>t</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>extrapolate</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The same day-counting rule used by the term structure should be used for calculating the passed time t. </p>
</div>
</div>
<a class="anchor" id="aca67e9cf1e6f5220abbb72a1c5a6fed6"></a><!-- doxytag: member="QuantLib::DefaultProbabilityTermStructure::defaultProbability" ref="aca67e9cf1e6f5220abbb72a1c5a6fed6" args="(Time t, bool extrapolate=false) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__types.html#gad9817a6a21dfcb91429f0152c99d6313">Probability</a> defaultProbability </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__types.html#ga14fb8fca43a68f4168654e1f9f7e22f7">Time</a> </td>
<td class="paramname"><em>t</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>extrapolate</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The same day-counting rule used by the term structure should be used for calculating the passed time t. </p>
</div>
</div>
<a class="anchor" id="ac5c54df7ed3b930268c8d7752c101725"></a><!-- doxytag: member="QuantLib::DefaultProbabilityTermStructure::update" ref="ac5c54df7ed3b930268c8d7752c101725" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="class_quant_lib_1_1_default_probability_term_structure.html#ac5c54df7ed3b930268c8d7752c101725">update</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This method must be implemented in derived classes. An instance of Observer does not call this method directly: instead, it will be called by the observables the instance registered with when they need to notify any changes. </p>
<p>Reimplemented from <a class="el" href="class_quant_lib_1_1_term_structure.html#ac5c54df7ed3b930268c8d7752c101725">TermStructure</a>.</p>
</div>
</div>
</div><!-- contents -->
</div>
<div class="footer">
<div class="endmatter">
Documentation generated by
<a href="http://www.doxygen.org">Doxygen</a> 1.7.6.1
</div>
</div>
</div>
</body>
</html>
|