root/doc/html/classIMk1.html @ 323

Revision 323, 16.0 kB (checked in by smidl, 16 years ago)

doc

Line 
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: IMk1 Class Reference</title>
4<link href="tabs.css" rel="stylesheet" type="text/css">
5<link href="doxygen.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.8 -->
8<script type="text/javascript">
9<!--
10function changeDisplayState (e){
11  var num=this.id.replace(/[^[0-9]/g,'');
12  var button=this.firstChild;
13  var sectionDiv=document.getElementById('dynsection'+num);
14  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
15    sectionDiv.style.display='block';
16    button.src='open.gif';
17  }else{
18    sectionDiv.style.display='none';
19    button.src='closed.gif';
20  }
21}
22function initDynSections(){
23  var divs=document.getElementsByTagName('div');
24  var sectionCounter=1;
25  for(var i=0;i<divs.length-1;i++){
26    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
27      var header=divs[i];
28      var section=divs[i+1];
29      var button=header.firstChild;
30      if (button!='IMG'){
31        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
32        button=document.createElement('img');
33        divs[i].insertBefore(button,divs[i].firstChild);
34      }
35      header.style.cursor='pointer';
36      header.onclick=changeDisplayState;
37      header.id='dynheader'+sectionCounter;
38      button.src='closed.gif';
39      section.id='dynsection'+sectionCounter;
40      section.style.display='none';
41      section.style.marginLeft='14px';
42      sectionCounter++;
43    }
44  }
45}
46window.onload = initDynSections;
47-->
48</script>
49<div class="navigation" id="top">
50  <div class="tabs">
51    <ul>
52      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
53      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
54      <li><a href="modules.html"><span>Modules</span></a></li>
55      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
56      <li><a href="files.html"><span>Files</span></a></li>
57    </ul>
58  </div>
59  <div class="tabs">
60    <ul>
61      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
62      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
63      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
64      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
65    </ul>
66  </div>
67</div>
68<div class="contents">
69<h1>IMk1 Class Reference</h1><!-- doxytag: class="IMk1" --><!-- doxytag: inherits="bdm::diffbifn" -->Model stredni hodnoty vyvoje stavu pro k1. 
70<a href="#_details">More...</a>
71<p>
72<code>#include &lt;<a class="el" href="model_8h-source.html">model.h</a>&gt;</code>
73<p>
74
75<p>
76<a href="classIMk1-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
77<tr><td></td></tr>
78<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
79<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c440a205745a09c2c903c4bdf7f5f9fc"></a><!-- doxytag: member="IMk1::IMk1" ref="c440a205745a09c2c903c4bdf7f5f9fc" args="()" -->
80&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIMk1.html#c440a205745a09c2c903c4bdf7f5f9fc">IMk1</a> ()</td></tr>
81
82<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <br></td></tr>
83<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="75f9d12716a3648a838477186b49aff1"></a><!-- doxytag: member="IMk1::set_parameters" ref="75f9d12716a3648a838477186b49aff1" args="(double alp10, double alp20)" -->
84void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIMk1.html#75f9d12716a3648a838477186b49aff1">set_parameters</a> (double alp10, double alp20)</td></tr>
85
86<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set CONSTANT parameters <br></td></tr>
87<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8957f00622352dcacd64518136c7da33"></a><!-- doxytag: member="IMk1::eval" ref="8957f00622352dcacd64518136c7da33" args="(const vec &amp;x0, const vec &amp;u0)" -->
88vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIMk1.html#8957f00622352dcacd64518136c7da33">eval</a> (const vec &amp;x0, const vec &amp;u0)</td></tr>
89
90<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$f(x0,u0)$" src="form_91.png">. <br></td></tr>
91<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIMk1.html#463177c0fdffdf4951761959160cc682">dfdx_cond</a> (const vec &amp;x0, const vec &amp;u0, mat &amp;A, bool full=true)</td></tr>
92
93<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_92.png"> and writes result into <code>A</code> .  <a href="#463177c0fdffdf4951761959160cc682"></a><br></td></tr>
94<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIMk1.html#2b85f0984da3fe55849bb7b28f66e50c">dfdu_cond</a> (const vec &amp;x0, const vec &amp;u0, mat &amp;A, bool full=true)</td></tr>
95
96<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_94.png"> and writes result into <code>A</code> .  <a href="#2b85f0984da3fe55849bb7b28f66e50c"></a><br></td></tr>
97<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="188f31066bd72e1bf0ddacd1eb0e6af3"></a><!-- doxytag: member="IMk1::eval" ref="188f31066bd72e1bf0ddacd1eb0e6af3" args="(const vec &amp;cond)" -->
98vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#188f31066bd72e1bf0ddacd1eb0e6af3">eval</a> (const vec &amp;cond)</td></tr>
99
100<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$f(x0,u0)$" src="form_91.png"> (VS: Do we really need common eval? ). <br></td></tr>
101<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1b3c8f5949f13d86d2661e191d4b369b"></a><!-- doxytag: member="IMk1::_dimx" ref="1b3c8f5949f13d86d2661e191d4b369b" args="() const " -->
102int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#1b3c8f5949f13d86d2661e191d4b369b">_dimx</a> () const </td></tr>
103
104<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
105<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="031458f38c97cdb3aecde16f6a06dced"></a><!-- doxytag: member="IMk1::_dimu" ref="031458f38c97cdb3aecde16f6a06dced" args="() const " -->
106int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#031458f38c97cdb3aecde16f6a06dced">_dimu</a> () const </td></tr>
107
108<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
109<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0786e40fade2663a70d654c1dda5d73e"></a><!-- doxytag: member="IMk1::condition" ref="0786e40fade2663a70d654c1dda5d73e" args="(const vec &amp;val)" -->
110virtual 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>
111
112<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">function substitutes given value into an appropriate position <br></td></tr>
113<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="083832294da9d1e40804158b979c4341"></a><!-- doxytag: member="IMk1::dimension" ref="083832294da9d1e40804158b979c4341" args="() const " -->
114int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#083832294da9d1e40804158b979c4341">dimension</a> () const </td></tr>
115
116<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
117<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
118<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="269fe6e6deaac454858cb1ae69fb2c9f"></a><!-- doxytag: member="IMk1::alp1" ref="269fe6e6deaac454858cb1ae69fb2c9f" args="" -->
119double&nbsp;</td><td class="memItemRight" valign="bottom"><b>alp1</b></td></tr>
120
121<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="441759a33d2a4f452ea5cc9fb25c5f68"></a><!-- doxytag: member="IMk1::alp2" ref="441759a33d2a4f452ea5cc9fb25c5f68" args="" -->
122double&nbsp;</td><td class="memItemRight" valign="bottom"><b>alp2</b></td></tr>
123
124<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5f56547d8e9378b669d3cc19d7831cbb"></a><!-- doxytag: member="IMk1::rvx" ref="5f56547d8e9378b669d3cc19d7831cbb" args="" -->
125RV&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#5f56547d8e9378b669d3cc19d7831cbb">rvx</a></td></tr>
126
127<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indentifier of the first rv. <br></td></tr>
128<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a8e3e861d5ec2a7ae9524e6338e58320"></a><!-- doxytag: member="IMk1::rvu" ref="a8e3e861d5ec2a7ae9524e6338e58320" args="" -->
129RV&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#a8e3e861d5ec2a7ae9524e6338e58320">rvu</a></td></tr>
130
131<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indentifier of the second rv. <br></td></tr>
132<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a193aa2c4a500139c0c4b669691e588e"></a><!-- doxytag: member="IMk1::dimx" ref="a193aa2c4a500139c0c4b669691e588e" args="" -->
133int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#a193aa2c4a500139c0c4b669691e588e">dimx</a></td></tr>
134
135<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache for rvx.count() <br></td></tr>
136<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="30c45617eec89adeb4ebaa763d093fb0"></a><!-- doxytag: member="IMk1::dimu" ref="30c45617eec89adeb4ebaa763d093fb0" args="" -->
137int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#30c45617eec89adeb4ebaa763d093fb0">dimu</a></td></tr>
138
139<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache for rvu.count() <br></td></tr>
140<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="52156cb4a52a62d51fc7455985797a62"></a><!-- doxytag: member="IMk1::dimy" ref="52156cb4a52a62d51fc7455985797a62" args="" -->
141int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#52156cb4a52a62d51fc7455985797a62">dimy</a></td></tr>
142
143<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Length of the output vector. <br></td></tr>
144</table>
145<hr><a name="_details"></a><h2>Detailed Description</h2>
146Model stredni hodnoty vyvoje stavu pro k1. <hr><h2>Member Function Documentation</h2>
147<a class="anchor" name="2b85f0984da3fe55849bb7b28f66e50c"></a><!-- doxytag: member="IMk1::dfdu_cond" ref="2b85f0984da3fe55849bb7b28f66e50c" args="(const vec &amp;x0, const vec &amp;u0, mat &amp;A, bool full=true)" -->
148<div class="memitem">
149<div class="memproto">
150      <table class="memname">
151        <tr>
152          <td class="memname">void IMk1::dfdu_cond           </td>
153          <td>(</td>
154          <td class="paramtype">const vec &amp;&nbsp;</td>
155          <td class="paramname"> <em>x0</em>, </td>
156        </tr>
157        <tr>
158          <td class="paramkey"></td>
159          <td></td>
160          <td class="paramtype">const vec &amp;&nbsp;</td>
161          <td class="paramname"> <em>u0</em>, </td>
162        </tr>
163        <tr>
164          <td class="paramkey"></td>
165          <td></td>
166          <td class="paramtype">mat &amp;&nbsp;</td>
167          <td class="paramname"> <em>A</em>, </td>
168        </tr>
169        <tr>
170          <td class="paramkey"></td>
171          <td></td>
172          <td class="paramtype">bool&nbsp;</td>
173          <td class="paramname"> <em>full</em> = <code>true</code></td><td>&nbsp;</td>
174        </tr>
175        <tr>
176          <td></td>
177          <td>)</td>
178          <td></td><td></td><td><code> [inline, virtual]</code></td>
179        </tr>
180      </table>
181</div>
182<div class="memdoc">
183
184<p>
185Evaluates <img class="formulaInl" alt="$A=\frac{d}{du}f(x,u)|_{x0,u0}$" src="form_94.png"> and writes result into <code>A</code> .
186<p>
187<dl compact><dt><b>Parameters:</b></dt><dd>
188  <table border="0" cellspacing="2" cellpadding="0">
189    <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>
190    <tr><td valign="top"></td><td valign="top"><em>x0</em>&nbsp;</td><td>numeric value of <img class="formulaInl" alt="$x$" src="form_0.png">, </td></tr>
191    <tr><td valign="top"></td><td valign="top"><em>u0</em>&nbsp;</td><td>numeric value of <img class="formulaInl" alt="$u$" src="form_93.png"> </td></tr>
192    <tr><td valign="top"></td><td valign="top"><em>A</em>&nbsp;</td><td>a place where the result will be stored. </td></tr>
193  </table>
194</dl>
195
196<p>Reimplemented from <a class="el" href="classbdm_1_1diffbifn.html#6ea1dc7a482601b29c5ba36a52d20d07">bdm::diffbifn</a>.</p>
197
198</div>
199</div><p>
200<a class="anchor" name="463177c0fdffdf4951761959160cc682"></a><!-- doxytag: member="IMk1::dfdx_cond" ref="463177c0fdffdf4951761959160cc682" args="(const vec &amp;x0, const vec &amp;u0, mat &amp;A, bool full=true)" -->
201<div class="memitem">
202<div class="memproto">
203      <table class="memname">
204        <tr>
205          <td class="memname">void IMk1::dfdx_cond           </td>
206          <td>(</td>
207          <td class="paramtype">const vec &amp;&nbsp;</td>
208          <td class="paramname"> <em>x0</em>, </td>
209        </tr>
210        <tr>
211          <td class="paramkey"></td>
212          <td></td>
213          <td class="paramtype">const vec &amp;&nbsp;</td>
214          <td class="paramname"> <em>u0</em>, </td>
215        </tr>
216        <tr>
217          <td class="paramkey"></td>
218          <td></td>
219          <td class="paramtype">mat &amp;&nbsp;</td>
220          <td class="paramname"> <em>A</em>, </td>
221        </tr>
222        <tr>
223          <td class="paramkey"></td>
224          <td></td>
225          <td class="paramtype">bool&nbsp;</td>
226          <td class="paramname"> <em>full</em> = <code>true</code></td><td>&nbsp;</td>
227        </tr>
228        <tr>
229          <td></td>
230          <td>)</td>
231          <td></td><td></td><td><code> [inline, virtual]</code></td>
232        </tr>
233      </table>
234</div>
235<div class="memdoc">
236
237<p>
238Evaluates <img class="formulaInl" alt="$A=\frac{d}{dx}f(x,u)|_{x0,u0}$" src="form_92.png"> and writes result into <code>A</code> .
239<p>
240<dl compact><dt><b>Parameters:</b></dt><dd>
241  <table border="0" cellspacing="2" cellpadding="0">
242    <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>
243    <tr><td valign="top"></td><td valign="top"><em>x0</em>&nbsp;</td><td>numeric value of <img class="formulaInl" alt="$x$" src="form_0.png">, </td></tr>
244    <tr><td valign="top"></td><td valign="top"><em>u0</em>&nbsp;</td><td>numeric value of <img class="formulaInl" alt="$u$" src="form_93.png"> </td></tr>
245    <tr><td valign="top"></td><td valign="top"><em>A</em>&nbsp;</td><td>a place where the result will be stored. </td></tr>
246  </table>
247</dl>
248
249<p>Reimplemented from <a class="el" href="classbdm_1_1diffbifn.html#651184f808a35f236dbfea21aca1b6ac">bdm::diffbifn</a>.</p>
250
251<p>References <a class="el" href="libBM_8h-source.html#l00193">bdm::fnc::dimy</a>.</p>
252
253</div>
254</div><p>
255<hr>The documentation for this class was generated from the following file:<ul>
256<li><a class="el" href="model_8h-source.html">model.h</a></ul>
257</div>
258<hr size="1"><address style="text-align: right;"><small>Generated on Thu Apr 23 21:06:44 2009 for mixpp by&nbsp;
259<a href="http://www.doxygen.org/index.html">
260<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
261</body>
262</html>
Note: See TracBrowser for help on using the browser.