root/doc/html/classOMk1.html @ 255

Revision 255, 15.6 kB (checked in by smidl, 16 years ago)

doc

RevLine 
[210]1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3<title>mixpp: OMk1 Class Reference</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.6 -->
8<div class="navigation" id="top">
9  <div class="tabs">
10    <ul>
11      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
[219]13      <li><a href="modules.html"><span>Modules</span></a></li>
[210]14      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
15      <li><a href="files.html"><span>Files</span></a></li>
16    </ul>
17  </div>
18  <div class="tabs">
19    <ul>
20      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
21      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
22      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
23    </ul>
24  </div>
25</div>
26<div class="contents">
[255]27<h1>OMk1 Class Reference</h1><!-- doxytag: class="OMk1" --><!-- doxytag: inherits="bdm::diffbifn" -->model stredni hodnoty pozorovani pro k1 
[210]28<a href="#_details">More...</a>
29<p>
30<code>#include &lt;<a class="el" href="model_8h-source.html">model.h</a>&gt;</code>
31<p>
32<div class="dynheader">
33Inheritance diagram for OMk1:</div>
34<div class="dynsection">
35<p><center><img src="classOMk1__inherit__graph.png" border="0" usemap="#OMk1__inherit__map" alt="Inheritance graph"></center>
36<map name="OMk1__inherit__map">
[255]37<area shape="rect" href="classbdm_1_1diffbifn.html" title="Class representing a differentiable function of two variables ." alt="" coords="5,161,104,188"><area shape="rect" href="classbdm_1_1fnc.html" title="Class representing function &#160;of variable &#160;represented by rv." alt="" coords="16,84,93,111"><area shape="rect" href="classbdm_1_1base.html" title="Root class of BDM objects." alt="" coords="11,7,99,33"></map>
[210]38<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
39<div class="dynheader">
40Collaboration diagram for OMk1:</div>
41<div class="dynsection">
42<p><center><img src="classOMk1__coll__graph.png" border="0" usemap="#OMk1__coll__map" alt="Collaboration graph"></center>
43<map name="OMk1__coll__map">
[255]44<area shape="rect" href="classbdm_1_1diffbifn.html" title="Class representing a differentiable function of two variables ." alt="" coords="29,199,128,225"><area shape="rect" href="classbdm_1_1fnc.html" title="Class representing function &#160;of variable &#160;represented by rv." alt="" coords="5,87,83,113"><area shape="rect" href="classbdm_1_1base.html" title="Root class of BDM objects." alt="" coords="57,7,145,33"><area shape="rect" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables." alt="" coords="107,87,181,113"></map>
[210]45<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
46
47<p>
48<a href="classOMk1-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
49<tr><td></td></tr>
50<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
51<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8e88ee95e5df98357069e7c3215cbdcd"></a><!-- doxytag: member="OMk1::OMk1" ref="8e88ee95e5df98357069e7c3215cbdcd" args="()" -->
52&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOMk1.html#8e88ee95e5df98357069e7c3215cbdcd">OMk1</a> ()</td></tr>
53
54<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <br></td></tr>
55<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7c12aa1b56f298cc21b22e0dde84ef8f"></a><!-- doxytag: member="OMk1::eval" ref="7c12aa1b56f298cc21b22e0dde84ef8f" args="(const vec &amp;x0, const vec &amp;u0)" -->
56vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOMk1.html#7c12aa1b56f298cc21b22e0dde84ef8f">eval</a> (const vec &amp;x0, const vec &amp;u0)</td></tr>
57
58<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$f(x0,u0)$" src="form_49.png">. <br></td></tr>
59<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOMk1.html#3a6ff61c818d25f95912351aac201cc7">dfdx_cond</a> (const vec &amp;x0, const vec &amp;u0, mat &amp;A, bool full=true)</td></tr>
60
61<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$A=\frac{d}{dx}f(x,u)|_{x0,u0}$" src="form_1.png"> and writes result into <code>A</code> .  <a href="#3a6ff61c818d25f95912351aac201cc7"></a><br></td></tr>
[255]62<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="188f31066bd72e1bf0ddacd1eb0e6af3"></a><!-- doxytag: member="OMk1::eval" ref="188f31066bd72e1bf0ddacd1eb0e6af3" args="(const vec &amp;cond)" -->
63vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#188f31066bd72e1bf0ddacd1eb0e6af3">eval</a> (const vec &amp;cond)</td></tr>
[210]64
65<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$f(x0,u0)$" src="form_49.png"> (VS: Do we really need common eval? ). <br></td></tr>
[255]66<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#6ea1dc7a482601b29c5ba36a52d20d07">dfdu_cond</a> (const vec &amp;x0, const vec &amp;u0, mat &amp;A, bool full=true)</td></tr>
[210]67
[255]68<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$A=\frac{d}{du}f(x,u)|_{x0,u0}$" src="form_2.png"> and writes result into <code>A</code> .  <a href="#6ea1dc7a482601b29c5ba36a52d20d07"></a><br></td></tr>
69<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1b3c8f5949f13d86d2661e191d4b369b"></a><!-- doxytag: member="OMk1::_dimx" ref="1b3c8f5949f13d86d2661e191d4b369b" args="() const " -->
70int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#1b3c8f5949f13d86d2661e191d4b369b">_dimx</a> () const </td></tr>
[210]71
72<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
[255]73<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="031458f38c97cdb3aecde16f6a06dced"></a><!-- doxytag: member="OMk1::_dimu" ref="031458f38c97cdb3aecde16f6a06dced" args="() const " -->
74int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#031458f38c97cdb3aecde16f6a06dced">_dimu</a> () const </td></tr>
[210]75
76<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
[255]77<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0786e40fade2663a70d654c1dda5d73e"></a><!-- doxytag: member="OMk1::condition" ref="0786e40fade2663a70d654c1dda5d73e" args="(const vec &amp;val)" -->
78virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#0786e40fade2663a70d654c1dda5d73e">condition</a> (const vec &amp;val)</td></tr>
[224]79
80<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">function substitutes given value into an appropriate position <br></td></tr>
[255]81<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2277a400fc9f4d6c0bf24dc7156183f"></a><!-- doxytag: member="OMk1::_dimy" ref="a2277a400fc9f4d6c0bf24dc7156183f" args="() const " -->
82int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#a2277a400fc9f4d6c0bf24dc7156183f">_dimy</a> () const </td></tr>
[210]83
84<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
85<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
[255]86<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5f56547d8e9378b669d3cc19d7831cbb"></a><!-- doxytag: member="OMk1::rvx" ref="5f56547d8e9378b669d3cc19d7831cbb" args="" -->
87RV&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#5f56547d8e9378b669d3cc19d7831cbb">rvx</a></td></tr>
[210]88
89<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indentifier of the first rv. <br></td></tr>
[255]90<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a8e3e861d5ec2a7ae9524e6338e58320"></a><!-- doxytag: member="OMk1::rvu" ref="a8e3e861d5ec2a7ae9524e6338e58320" args="" -->
91RV&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#a8e3e861d5ec2a7ae9524e6338e58320">rvu</a></td></tr>
[210]92
93<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indentifier of the second rv. <br></td></tr>
[255]94<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a193aa2c4a500139c0c4b669691e588e"></a><!-- doxytag: member="OMk1::dimx" ref="a193aa2c4a500139c0c4b669691e588e" args="" -->
95int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#a193aa2c4a500139c0c4b669691e588e">dimx</a></td></tr>
[210]96
97<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache for rvx.count() <br></td></tr>
[255]98<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="30c45617eec89adeb4ebaa763d093fb0"></a><!-- doxytag: member="OMk1::dimu" ref="30c45617eec89adeb4ebaa763d093fb0" args="" -->
99int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#30c45617eec89adeb4ebaa763d093fb0">dimu</a></td></tr>
[210]100
101<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache for rvu.count() <br></td></tr>
[255]102<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="52156cb4a52a62d51fc7455985797a62"></a><!-- doxytag: member="OMk1::dimy" ref="52156cb4a52a62d51fc7455985797a62" args="" -->
103int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#52156cb4a52a62d51fc7455985797a62">dimy</a></td></tr>
[210]104
105<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Length of the output vector. <br></td></tr>
106</table>
107<hr><a name="_details"></a><h2>Detailed Description</h2>
108model stredni hodnoty pozorovani pro k1 <hr><h2>Member Function Documentation</h2>
109<a class="anchor" name="3a6ff61c818d25f95912351aac201cc7"></a><!-- doxytag: member="OMk1::dfdx_cond" ref="3a6ff61c818d25f95912351aac201cc7" args="(const vec &amp;x0, const vec &amp;u0, mat &amp;A, bool full=true)" -->
110<div class="memitem">
111<div class="memproto">
112      <table class="memname">
113        <tr>
114          <td class="memname">void OMk1::dfdx_cond           </td>
115          <td>(</td>
116          <td class="paramtype">const vec &amp;&nbsp;</td>
117          <td class="paramname"> <em>x0</em>, </td>
118        </tr>
119        <tr>
120          <td class="paramkey"></td>
121          <td></td>
122          <td class="paramtype">const vec &amp;&nbsp;</td>
123          <td class="paramname"> <em>u0</em>, </td>
124        </tr>
125        <tr>
126          <td class="paramkey"></td>
127          <td></td>
128          <td class="paramtype">mat &amp;&nbsp;</td>
129          <td class="paramname"> <em>A</em>, </td>
130        </tr>
131        <tr>
132          <td class="paramkey"></td>
133          <td></td>
134          <td class="paramtype">bool&nbsp;</td>
135          <td class="paramname"> <em>full</em> = <code>true</code></td><td>&nbsp;</td>
136        </tr>
137        <tr>
138          <td></td>
139          <td>)</td>
140          <td></td><td></td><td><code> [inline, virtual]</code></td>
141        </tr>
142      </table>
143</div>
144<div class="memdoc">
145
146<p>
147Evaluates <img class="formulaInl" alt="$A=\frac{d}{dx}f(x,u)|_{x0,u0}$" src="form_1.png"> and writes result into <code>A</code> .
148<p>
149<dl compact><dt><b>Parameters:</b></dt><dd>
150  <table border="0" cellspacing="2" cellpadding="0">
151    <tr><td valign="top"></td><td valign="top"><em>full</em>&nbsp;</td><td>denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. </td></tr>
152    <tr><td valign="top"></td><td valign="top"><em>x0</em>&nbsp;</td><td>numeric value of <img class="formulaInl" alt="$x$" src="form_28.png">, </td></tr>
153    <tr><td valign="top"></td><td valign="top"><em>u0</em>&nbsp;</td><td>numeric value of <img class="formulaInl" alt="$u$" src="form_50.png"> </td></tr>
154    <tr><td valign="top"></td><td valign="top"><em>A</em>&nbsp;</td><td>a place where the result will be stored. </td></tr>
155  </table>
156</dl>
157
[255]158<p>Reimplemented from <a class="el" href="classbdm_1_1diffbifn.html#651184f808a35f236dbfea21aca1b6ac">bdm::diffbifn</a>.</p>
[210]159
[255]160<p>References <a class="el" href="libBM_8h-source.html#l00081">bdm::RV::count()</a>.</p>
[210]161
162</div>
163</div><p>
[255]164<a class="anchor" name="6ea1dc7a482601b29c5ba36a52d20d07"></a><!-- doxytag: member="OMk1::dfdu_cond" ref="6ea1dc7a482601b29c5ba36a52d20d07" args="(const vec &amp;x0, const vec &amp;u0, mat &amp;A, bool full=true)" -->
[210]165<div class="memitem">
166<div class="memproto">
167      <table class="memname">
168        <tr>
[255]169          <td class="memname">virtual void bdm::diffbifn::dfdu_cond           </td>
[210]170          <td>(</td>
171          <td class="paramtype">const vec &amp;&nbsp;</td>
172          <td class="paramname"> <em>x0</em>, </td>
173        </tr>
174        <tr>
175          <td class="paramkey"></td>
176          <td></td>
177          <td class="paramtype">const vec &amp;&nbsp;</td>
178          <td class="paramname"> <em>u0</em>, </td>
179        </tr>
180        <tr>
181          <td class="paramkey"></td>
182          <td></td>
183          <td class="paramtype">mat &amp;&nbsp;</td>
184          <td class="paramname"> <em>A</em>, </td>
185        </tr>
186        <tr>
187          <td class="paramkey"></td>
188          <td></td>
189          <td class="paramtype">bool&nbsp;</td>
190          <td class="paramname"> <em>full</em> = <code>true</code></td><td>&nbsp;</td>
191        </tr>
192        <tr>
193          <td></td>
194          <td>)</td>
195          <td></td><td></td><td><code> [inline, virtual, inherited]</code></td>
196        </tr>
197      </table>
198</div>
199<div class="memdoc">
200
201<p>
202Evaluates <img class="formulaInl" alt="$A=\frac{d}{du}f(x,u)|_{x0,u0}$" src="form_2.png"> and writes result into <code>A</code> .
203<p>
204<dl compact><dt><b>Parameters:</b></dt><dd>
205  <table border="0" cellspacing="2" cellpadding="0">
206    <tr><td valign="top"></td><td valign="top"><em>full</em>&nbsp;</td><td>denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. </td></tr>
207    <tr><td valign="top"></td><td valign="top"><em>x0</em>&nbsp;</td><td>numeric value of <img class="formulaInl" alt="$x$" src="form_28.png">, </td></tr>
208    <tr><td valign="top"></td><td valign="top"><em>u0</em>&nbsp;</td><td>numeric value of <img class="formulaInl" alt="$u$" src="form_50.png"> </td></tr>
209    <tr><td valign="top"></td><td valign="top"><em>A</em>&nbsp;</td><td>a place where the result will be stored. </td></tr>
210  </table>
211</dl>
212
[255]213<p>Reimplemented in <a class="el" href="classbdm_1_1bilinfn.html#9cfe2f1c115ba7c3c75849a10a4f2c08">bdm::bilinfn</a>, <a class="el" href="classIMk1.html#2b85f0984da3fe55849bb7b28f66e50c">IMk1</a>, <a class="el" href="classIMpmsm.html#c3f8dad22ae9855c04a1d593b45c99b5">IMpmsm</a>, <a class="el" href="classIMpmsm2o.html#27f9d89bce832056f747d985df77a726">IMpmsm2o</a>, and <a class="el" href="classIMpmsmStat.html#ff740ee20100ae2a2d03a2538638f8e8">IMpmsmStat</a>.</p>
[210]214
215</div>
216</div><p>
217<hr>The documentation for this class was generated from the following file:<ul>
218<li>work/git/mixpp/doprava/<a class="el" href="model_8h-source.html">model.h</a></ul>
219</div>
[255]220<hr size="1"><address style="text-align: right;"><small>Generated on Tue Jan 27 16:30:32 2009 for mixpp by&nbsp;
[210]221<a href="http://www.doxygen.org/index.html">
222<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
223</body>
224</html>
Note: See TracBrowser for help on using the browser.