~ubuntu-branches/ubuntu/edgy/quantlib-refman-html/edgy

« back to all changes in this revision

Viewing changes to html/a01001.html

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2005-05-02 22:35:36 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050502223536-yp0xshf1us9u76dn
Tags: 0.3.9-1
* New upstream release 0.3.9 announced today
* As before, re-packaged upstream file QuantLib-docs-0.3.9.html.tar.gz 
  as described in the copyright file included with the Debian package.

* debian/watch: Added watch file

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
 
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
 
<title>DiscretizedAsset class Reference</title>
4
 
<link href="quantlib.css" rel="stylesheet" type="text/css">
5
 
</head>
6
 
<body>
7
 
 
8
 
<table summary=
9
 
"Layout table: navigation bar in the first cell, contents in the second cell"
10
 
 class="layout">
11
 
<tbody>
12
 
<tr>
13
 
<td class="navbar">
14
 
 
15
 
<div class="center">
16
 
    <img class= "addtopspace" src="QL-small.jpg"
17
 
     alt="QuantLib Logo"></div>
18
 
<h3 class="navbartitle">QuantLib 0.3.6</h3>
19
 
<div class="center">
20
 
    <a href="http://quantlib.org/">http://quantlib.org</a></div>
21
 
 
22
 
<hr>
23
 
 
24
 
<h3 class="navbartitle">User manual</h3>
25
 
 
26
 
<h4 class="navbartitle">Introduction to QuantLib</h4>
27
 
<ul class="navlinklist">
28
 
<li><a class="navlink" href="index.html">Introduction</a></li>
29
 
<li><a class="navlink" href="overview.html">Project overview</a></li>
30
 
<li><a class="navlink" href="where.html">Where to get QuantLib</a></li>
31
 
<li><a class="navlink" href="install.html">Installation</a></li>
32
 
<li><a class="navlink" href="usage.html">Usage</a></li>
33
 
<li><a class="navlink" href="history.html">Version history</a></li>
34
 
<li><a class="navlink" href="resources.html">Additional resources</a></li>
35
 
<li><a class="navlink" href="group.html">The QuantLib group</a></li>
36
 
<li><a class="navlink" href="license.html">Copyright and license</a></li>
37
 
</ul>
38
 
 
39
 
<h4 class="navbartitle">QuantLib components</h4>
40
 
<ul class="navlinklist">
41
 
<li><a class="navlink" href="coreclasses.html">Core classes</a></li>
42
 
<li><a class="navlink" href="datetime.html">Date and time calculations</a></li>
43
 
<li><a class="navlink" href="lattices.html">Lattice methods</a></li>
44
 
<li><a class="navlink" href="findiff.html">The finite differences framework</a></li>
45
 
<li><a class="navlink" href="mcarlo.html">The Monte Carlo framework</a></li>
46
 
<li><a class="navlink" href="fixedincome.html">Short-rate models</a></li>
47
 
<li><a class="navlink" href="currencies.html">Currencies and FX rates</a></li>
48
 
<li><a class="navlink" href="instruments.html">Instruments and pricers</a></li>
49
 
<li><a class="navlink" href="math.html">Math tools</a></li>
50
 
<li><a class="navlink" href="patterns.html">Design patterns</a></li>
51
 
<li><a class="navlink" href="termstructures.html">Term structures</a></li>
52
 
<li><a class="navlink" href="utilities.html">Utilities</a></li>
53
 
<li><a class="navlink" href="examples.html">Examples</a></li>
54
 
</ul>
55
 
 
56
 
<hr>
57
 
 
58
 
<h3 class="navbartitle">Reference manual</h3>
59
 
 
60
 
<ul class="navlinklist">
61
 
<li><a class="navlink" href="modules.html">Modules</a></li>
62
 
<li><a class="navlink" href="hierarchy.html">Class Hierarchy</a></li>
63
 
<li><a class="navlink" href="annotated.html">Compound List</a></li>
64
 
<li><a class="navlink" href="files.html">File List</a></li>
65
 
<li><a class="navlink" href="functions.html">Compound Members</a></li>
66
 
<li><a class="navlink" href="globals.html">File Members</a></li>
67
 
<li><a class="navlink" href="todo.html">Todo List</a></li>
68
 
<li><a class="navlink" href="bug.html">Known Bugs</a></li>
69
 
<li><a class="navlink" href="deprecated.html">Deprecated Features</a></li>
70
 
</ul>
71
 
 
72
 
</td>
73
 
<td class="main">
74
 
<!--Doxygen-generated content-->
75
 
 
76
 
<!-- Generated by Doxygen 1.3.6 -->
77
 
<h1>DiscretizedAsset Class Reference</h1><code>#include &lt;ql/discretizedasset.hpp&gt;</code>
78
 
<p>
79
 
Inheritance diagram for DiscretizedAsset:<p><center><img src="a02212.png" border="0" usemap="#a02213" alt="Inheritance graph"></center>
80
 
<map name="a02213">
81
 
<area href="a01003.html" shape="rect" coords="7,87,164,105" alt="">
82
 
<area href="a01004.html" shape="rect" coords="188,87,300,105" alt="">
83
 
</map>
84
 
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="a00093.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
85
 
Discretized asset class used by numerical methods. 
86
 
<p>
87
 
<table border=0 cellpadding=0 cellspacing=0>
88
 
<tr><td></td></tr>
89
 
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
90
 
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a0" doxytag="QuantLib::DiscretizedAsset::DiscretizedAsset" ></a>
91
 
&nbsp;</td><td class="memItemRight" valign=bottom><b>DiscretizedAsset</b> (const <a class="el" href="a01085.html">Handle</a>&lt; <a class="el" href="a01210.html">NumericalMethod</a> &gt; &amp;method)</td></tr>
92
 
 
93
 
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a2" doxytag="QuantLib::DiscretizedAsset::reset" ></a>
94
 
virtual void&nbsp;</td><td class="memItemRight" valign=bottom><b>reset</b> (Size size)=0</td></tr>
95
 
 
96
 
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a3" doxytag="QuantLib::DiscretizedAsset::time" ></a>
97
 
Time&nbsp;</td><td class="memItemRight" valign=bottom><b>time</b> () const </td></tr>
98
 
 
99
 
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a4" doxytag="QuantLib::DiscretizedAsset::time" ></a>
100
 
Time &amp;&nbsp;</td><td class="memItemRight" valign=bottom><b>time</b> ()</td></tr>
101
 
 
102
 
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a5" doxytag="QuantLib::DiscretizedAsset::values" ></a>
103
 
const <a class="el" href="a00862.html">Array</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><b>values</b> () const </td></tr>
104
 
 
105
 
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a6" doxytag="QuantLib::DiscretizedAsset::values" ></a>
106
 
<a class="el" href="a00862.html">Array</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><b>values</b> ()</td></tr>
107
 
 
108
 
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a7" doxytag="QuantLib::DiscretizedAsset::method" ></a>
109
 
const <a class="el" href="a01085.html">Handle</a>&lt; <a class="el" href="a01210.html">NumericalMethod</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign=bottom><b>method</b> () const </td></tr>
110
 
 
111
 
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a01001.html#a8">preAdjustValues</a> ()</td></tr>
112
 
 
113
 
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a01001.html#a9">postAdjustValues</a> ()</td></tr>
114
 
 
115
 
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a10" doxytag="QuantLib::DiscretizedAsset::adjustValues" ></a>
116
 
void&nbsp;</td><td class="memItemRight" valign=bottom><b>adjustValues</b> ()</td></tr>
117
 
 
118
 
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a11" doxytag="QuantLib::DiscretizedAsset::addTimesTo" ></a>
119
 
virtual void&nbsp;</td><td class="memItemRight" valign=bottom><b>addTimesTo</b> (std::list&lt; Time &gt; &amp;times) const </td></tr>
120
 
 
121
 
<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
122
 
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="b0" doxytag="QuantLib::DiscretizedAsset::isOnTime" ></a>
123
 
bool&nbsp;</td><td class="memItemRight" valign=bottom><b>isOnTime</b> (Time t) const </td></tr>
124
 
 
125
 
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
126
 
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="p0" doxytag="QuantLib::DiscretizedAsset::time_" ></a>
127
 
Time&nbsp;</td><td class="memItemRight" valign=bottom><b>time_</b></td></tr>
128
 
 
129
 
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="p1" doxytag="QuantLib::DiscretizedAsset::values_" ></a>
130
 
<a class="el" href="a00862.html">Array</a>&nbsp;</td><td class="memItemRight" valign=bottom><b>values_</b></td></tr>
131
 
 
132
 
</table>
133
 
<hr><h2>Member Function Documentation</h2>
134
 
<a class="anchor" name="a8" doxytag="QuantLib::DiscretizedAsset::preAdjustValues" ></a><p>
135
 
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
136
 
  <tr>
137
 
    <td class="mdRow">
138
 
      <table cellpadding="0" cellspacing="0" border="0">
139
 
        <tr>
140
 
          <td class="md" nowrap valign="top"> virtual void preAdjustValues </td>
141
 
          <td class="md" valign="top">(&nbsp;</td>
142
 
          <td class="mdname1" valign="top" nowrap>          </td>
143
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
144
 
          <td class="md" nowrap><code> [virtual]</code></td>
145
 
        </tr>
146
 
 
147
 
      </table>
148
 
    </td>
149
 
  </tr>
150
 
</table>
151
 
<table cellspacing=5 cellpadding=0 border=0>
152
 
  <tr>
153
 
    <td>
154
 
      &nbsp;
155
 
    </td>
156
 
    <td>
157
 
 
158
 
<p>
159
 
This method will be invoked after rollback and before any other asset (i.e., an option on this one) has any chance to look at the values. For instance, payments happening at times already spanned by the rollback will be added here.     </td>
160
 
  </tr>
161
 
</table>
162
 
<a class="anchor" name="a9" doxytag="QuantLib::DiscretizedAsset::postAdjustValues" ></a><p>
163
 
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
164
 
  <tr>
165
 
    <td class="mdRow">
166
 
      <table cellpadding="0" cellspacing="0" border="0">
167
 
        <tr>
168
 
          <td class="md" nowrap valign="top"> virtual void postAdjustValues </td>
169
 
          <td class="md" valign="top">(&nbsp;</td>
170
 
          <td class="mdname1" valign="top" nowrap>          </td>
171
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
172
 
          <td class="md" nowrap><code> [virtual]</code></td>
173
 
        </tr>
174
 
 
175
 
      </table>
176
 
    </td>
177
 
  </tr>
178
 
</table>
179
 
<table cellspacing=5 cellpadding=0 border=0>
180
 
  <tr>
181
 
    <td>
182
 
      &nbsp;
183
 
    </td>
184
 
    <td>
185
 
 
186
 
<p>
187
 
This method will be invoked after rollback and after any other asset had their chance to look at the values. For instance, payments happening at the present time (and therefore not included in an option to be exercised at this time) will be added here. 
188
 
<p>
189
 
Reimplemented in <a class="el" href="a01004.html#a2">DiscretizedOption</a>.    </td>
190
 
  </tr>
191
 
</table>
192
 
 
193
 
</td>
194
 
</tr>
195
 
</tbody>
196
 
</table>
197
 
 
198
 
<hr>
199
 
 
200
 
<table align="top" width="100%">
201
 
<tr>
202
 
<td align="middle" width="33%">
203
 
<strong>QuantLib.org</strong><br>
204
 
<a href="http://quantlib.org/">
205
 
<img src="QL-small.jpg" alt="QuantLib" align="middle" border=0>
206
 
</a>
207
 
</td>
208
 
<td align="middle" width="33%">
209
 
<strong>Hosted by</strong><br>
210
 
<a href="http://sourceforge.net"><img src=
211
 
"sfnetlogo.png" width="88" height="31"
212
 
border="0" alt="SourceForge.net Logo"></a>
213
 
</td>
214
 
<td align="middle" width="33%">
215
 
<strong>Documentation generated by</strong><br>
216
 
<a href="http://www.doxygen.org">
217
 
<img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53>
218
 
</a></td>
219
 
</tr>
220
 
</table>
221
 
</body>
222
 
</html>