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="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 Page</span></a></li> |
---|
12 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
13 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
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 List</span></a></li> |
---|
21 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
22 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
23 | </ul> |
---|
24 | </div> |
---|
25 | </div> |
---|
26 | <div class="contents"> |
---|
27 | <h1>IMk1 Class Reference</h1><!-- doxytag: class="IMk1" --><!-- doxytag: inherits="diffbifn" -->Model stredni hodnoty vyvoje stavu pro k1. |
---|
28 | <a href="#_details">More...</a> |
---|
29 | <p> |
---|
30 | <code>#include <<a class="el" href="model_8h-source.html">model.h</a>></code> |
---|
31 | <p> |
---|
32 | <div class="dynheader"> |
---|
33 | Inheritance diagram for IMk1:</div> |
---|
34 | <div class="dynsection"> |
---|
35 | <p><center><img src="classIMk1__inherit__graph.png" border="0" usemap="#IMk1__inherit__map" alt="Inheritance graph"></center> |
---|
36 | <map name="IMk1__inherit__map"> |
---|
37 | <area shape="rect" href="classdiffbifn.html" title="Class representing a differentiable function of two variables ." alt="" coords="5,84,69,111"><area shape="rect" href="classfnc.html" title="Class representing function  of variable  represented by rv." alt="" coords="17,7,57,33"></map> |
---|
38 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
39 | <div class="dynheader"> |
---|
40 | Collaboration diagram for IMk1:</div> |
---|
41 | <div class="dynsection"> |
---|
42 | <p><center><img src="classIMk1__coll__graph.png" border="0" usemap="#IMk1__coll__map" alt="Collaboration graph"></center> |
---|
43 | <map name="IMk1__coll__map"> |
---|
44 | <area shape="rect" href="classdiffbifn.html" title="Class representing a differentiable function of two variables ." alt="" coords="24,119,88,145"><area shape="rect" href="classfnc.html" title="Class representing function  of variable  represented by rv." alt="" coords="5,7,45,33"><area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="69,7,107,33"></map> |
---|
45 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
46 | |
---|
47 | <p> |
---|
48 | <a href="classIMk1-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="c440a205745a09c2c903c4bdf7f5f9fc"></a><!-- doxytag: member="IMk1::IMk1" ref="c440a205745a09c2c903c4bdf7f5f9fc" args="()" --> |
---|
52 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classIMk1.html#c440a205745a09c2c903c4bdf7f5f9fc">IMk1</a> ()</td></tr> |
---|
53 | |
---|
54 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br></td></tr> |
---|
55 | <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)" --> |
---|
56 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIMk1.html#75f9d12716a3648a838477186b49aff1">set_parameters</a> (double alp10, double alp20)</td></tr> |
---|
57 | |
---|
58 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set CONSTANT parameters <br></td></tr> |
---|
59 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8957f00622352dcacd64518136c7da33"></a><!-- doxytag: member="IMk1::eval" ref="8957f00622352dcacd64518136c7da33" args="(const vec &x0, const vec &u0)" --> |
---|
60 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classIMk1.html#8957f00622352dcacd64518136c7da33">eval</a> (const vec &x0, const vec &u0)</td></tr> |
---|
61 | |
---|
62 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$f(x0,u0)$" src="form_49.png">. <br></td></tr> |
---|
63 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIMk1.html#463177c0fdffdf4951761959160cc682">dfdx_cond</a> (const vec &x0, const vec &u0, mat &A, bool full=true)</td></tr> |
---|
64 | |
---|
65 | <tr><td class="mdescLeft"> </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="#463177c0fdffdf4951761959160cc682"></a><br></td></tr> |
---|
66 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIMk1.html#2b85f0984da3fe55849bb7b28f66e50c">dfdu_cond</a> (const vec &x0, const vec &u0, mat &A, bool full=true)</td></tr> |
---|
67 | |
---|
68 | <tr><td class="mdescLeft"> </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="#2b85f0984da3fe55849bb7b28f66e50c"></a><br></td></tr> |
---|
69 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ad7673e16aa1a046b131b24c731c4632"></a><!-- doxytag: member="IMk1::eval" ref="ad7673e16aa1a046b131b24c731c4632" args="(const vec &cond)" --> |
---|
70 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#ad7673e16aa1a046b131b24c731c4632">eval</a> (const vec &cond)</td></tr> |
---|
71 | |
---|
72 | <tr><td class="mdescLeft"> </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> |
---|
73 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="436de7a7301ea9eac7d6081b893bbf57"></a><!-- doxytag: member="IMk1::_dimx" ref="436de7a7301ea9eac7d6081b893bbf57" args="() const " --> |
---|
74 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#436de7a7301ea9eac7d6081b893bbf57">_dimx</a> () const </td></tr> |
---|
75 | |
---|
76 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
77 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fc8779acbff170611aff0ee70cee3879"></a><!-- doxytag: member="IMk1::_dimu" ref="fc8779acbff170611aff0ee70cee3879" args="() const " --> |
---|
78 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#fc8779acbff170611aff0ee70cee3879">_dimu</a> () const </td></tr> |
---|
79 | |
---|
80 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
81 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d28babf615a7240c34ee57779250f602"></a><!-- doxytag: member="IMk1::condition" ref="d28babf615a7240c34ee57779250f602" args="(const vec &val)" --> |
---|
82 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classfnc.html#d28babf615a7240c34ee57779250f602">condition</a> (const vec &val)</td></tr> |
---|
83 | |
---|
84 | <tr><td class="mdescLeft"> </td><td class="mdescRight">function substitutes given value into an appropriate position <br></td></tr> |
---|
85 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a8891973d0ca48ce38e1886df45ca298"></a><!-- doxytag: member="IMk1::_dimy" ref="a8891973d0ca48ce38e1886df45ca298" args="() const " --> |
---|
86 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classfnc.html#a8891973d0ca48ce38e1886df45ca298">_dimy</a> () const </td></tr> |
---|
87 | |
---|
88 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
89 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
90 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="269fe6e6deaac454858cb1ae69fb2c9f"></a><!-- doxytag: member="IMk1::alp1" ref="269fe6e6deaac454858cb1ae69fb2c9f" args="" --> |
---|
91 | double </td><td class="memItemRight" valign="bottom"><b>alp1</b></td></tr> |
---|
92 | |
---|
93 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="441759a33d2a4f452ea5cc9fb25c5f68"></a><!-- doxytag: member="IMk1::alp2" ref="441759a33d2a4f452ea5cc9fb25c5f68" args="" --> |
---|
94 | double </td><td class="memItemRight" valign="bottom"><b>alp2</b></td></tr> |
---|
95 | |
---|
96 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bcf96b86250c3cbd465ba5ee62474b75"></a><!-- doxytag: member="IMk1::rvx" ref="bcf96b86250c3cbd465ba5ee62474b75" args="" --> |
---|
97 | <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#bcf96b86250c3cbd465ba5ee62474b75">rvx</a></td></tr> |
---|
98 | |
---|
99 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Indentifier of the first rv. <br></td></tr> |
---|
100 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c41c74c7942dba51ef0b0bfed963447d"></a><!-- doxytag: member="IMk1::rvu" ref="c41c74c7942dba51ef0b0bfed963447d" args="" --> |
---|
101 | <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#c41c74c7942dba51ef0b0bfed963447d">rvu</a></td></tr> |
---|
102 | |
---|
103 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Indentifier of the second rv. <br></td></tr> |
---|
104 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f6918bc0a9dad656b4cddc028137eb78"></a><!-- doxytag: member="IMk1::dimx" ref="f6918bc0a9dad656b4cddc028137eb78" args="" --> |
---|
105 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#f6918bc0a9dad656b4cddc028137eb78">dimx</a></td></tr> |
---|
106 | |
---|
107 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache for rvx.count() <br></td></tr> |
---|
108 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2e07ce491e973f03d763e37624d0fe79"></a><!-- doxytag: member="IMk1::dimu" ref="2e07ce491e973f03d763e37624d0fe79" args="" --> |
---|
109 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#2e07ce491e973f03d763e37624d0fe79">dimu</a></td></tr> |
---|
110 | |
---|
111 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache for rvu.count() <br></td></tr> |
---|
112 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="22d51d10a7901331167f64f80d1af8e9"></a><!-- doxytag: member="IMk1::dimy" ref="22d51d10a7901331167f64f80d1af8e9" args="" --> |
---|
113 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classfnc.html#22d51d10a7901331167f64f80d1af8e9">dimy</a></td></tr> |
---|
114 | |
---|
115 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Length of the output vector. <br></td></tr> |
---|
116 | </table> |
---|
117 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
118 | Model stredni hodnoty vyvoje stavu pro k1. <hr><h2>Member Function Documentation</h2> |
---|
119 | <a class="anchor" name="463177c0fdffdf4951761959160cc682"></a><!-- doxytag: member="IMk1::dfdx_cond" ref="463177c0fdffdf4951761959160cc682" args="(const vec &x0, const vec &u0, mat &A, bool full=true)" --> |
---|
120 | <div class="memitem"> |
---|
121 | <div class="memproto"> |
---|
122 | <table class="memname"> |
---|
123 | <tr> |
---|
124 | <td class="memname">void IMk1::dfdx_cond </td> |
---|
125 | <td>(</td> |
---|
126 | <td class="paramtype">const vec & </td> |
---|
127 | <td class="paramname"> <em>x0</em>, </td> |
---|
128 | </tr> |
---|
129 | <tr> |
---|
130 | <td class="paramkey"></td> |
---|
131 | <td></td> |
---|
132 | <td class="paramtype">const vec & </td> |
---|
133 | <td class="paramname"> <em>u0</em>, </td> |
---|
134 | </tr> |
---|
135 | <tr> |
---|
136 | <td class="paramkey"></td> |
---|
137 | <td></td> |
---|
138 | <td class="paramtype">mat & </td> |
---|
139 | <td class="paramname"> <em>A</em>, </td> |
---|
140 | </tr> |
---|
141 | <tr> |
---|
142 | <td class="paramkey"></td> |
---|
143 | <td></td> |
---|
144 | <td class="paramtype">bool </td> |
---|
145 | <td class="paramname"> <em>full</em> = <code>true</code></td><td> </td> |
---|
146 | </tr> |
---|
147 | <tr> |
---|
148 | <td></td> |
---|
149 | <td>)</td> |
---|
150 | <td></td><td></td><td><code> [inline, virtual]</code></td> |
---|
151 | </tr> |
---|
152 | </table> |
---|
153 | </div> |
---|
154 | <div class="memdoc"> |
---|
155 | |
---|
156 | <p> |
---|
157 | 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> . |
---|
158 | <p> |
---|
159 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
160 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
161 | <tr><td valign="top"></td><td valign="top"><em>full</em> </td><td>denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. </td></tr> |
---|
162 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>numeric value of <img class="formulaInl" alt="$x$" src="form_28.png">, </td></tr> |
---|
163 | <tr><td valign="top"></td><td valign="top"><em>u0</em> </td><td>numeric value of <img class="formulaInl" alt="$u$" src="form_50.png"> </td></tr> |
---|
164 | <tr><td valign="top"></td><td valign="top"><em>A</em> </td><td>a place where the result will be stored. </td></tr> |
---|
165 | </table> |
---|
166 | </dl> |
---|
167 | |
---|
168 | <p>Reimplemented from <a class="el" href="classdiffbifn.html#6d217a02d4fa13931258d4bebdd0feb4">diffbifn</a>.</p> |
---|
169 | |
---|
170 | <p>References <a class="el" href="libBM_8h-source.html#l00077">RV::count()</a>.</p> |
---|
171 | |
---|
172 | </div> |
---|
173 | </div><p> |
---|
174 | <a class="anchor" name="2b85f0984da3fe55849bb7b28f66e50c"></a><!-- doxytag: member="IMk1::dfdu_cond" ref="2b85f0984da3fe55849bb7b28f66e50c" args="(const vec &x0, const vec &u0, mat &A, bool full=true)" --> |
---|
175 | <div class="memitem"> |
---|
176 | <div class="memproto"> |
---|
177 | <table class="memname"> |
---|
178 | <tr> |
---|
179 | <td class="memname">void IMk1::dfdu_cond </td> |
---|
180 | <td>(</td> |
---|
181 | <td class="paramtype">const vec & </td> |
---|
182 | <td class="paramname"> <em>x0</em>, </td> |
---|
183 | </tr> |
---|
184 | <tr> |
---|
185 | <td class="paramkey"></td> |
---|
186 | <td></td> |
---|
187 | <td class="paramtype">const vec & </td> |
---|
188 | <td class="paramname"> <em>u0</em>, </td> |
---|
189 | </tr> |
---|
190 | <tr> |
---|
191 | <td class="paramkey"></td> |
---|
192 | <td></td> |
---|
193 | <td class="paramtype">mat & </td> |
---|
194 | <td class="paramname"> <em>A</em>, </td> |
---|
195 | </tr> |
---|
196 | <tr> |
---|
197 | <td class="paramkey"></td> |
---|
198 | <td></td> |
---|
199 | <td class="paramtype">bool </td> |
---|
200 | <td class="paramname"> <em>full</em> = <code>true</code></td><td> </td> |
---|
201 | </tr> |
---|
202 | <tr> |
---|
203 | <td></td> |
---|
204 | <td>)</td> |
---|
205 | <td></td><td></td><td><code> [inline, virtual]</code></td> |
---|
206 | </tr> |
---|
207 | </table> |
---|
208 | </div> |
---|
209 | <div class="memdoc"> |
---|
210 | |
---|
211 | <p> |
---|
212 | 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> . |
---|
213 | <p> |
---|
214 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
215 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
216 | <tr><td valign="top"></td><td valign="top"><em>full</em> </td><td>denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. </td></tr> |
---|
217 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>numeric value of <img class="formulaInl" alt="$x$" src="form_28.png">, </td></tr> |
---|
218 | <tr><td valign="top"></td><td valign="top"><em>u0</em> </td><td>numeric value of <img class="formulaInl" alt="$u$" src="form_50.png"> </td></tr> |
---|
219 | <tr><td valign="top"></td><td valign="top"><em>A</em> </td><td>a place where the result will be stored. </td></tr> |
---|
220 | </table> |
---|
221 | </dl> |
---|
222 | |
---|
223 | <p>Reimplemented from <a class="el" href="classdiffbifn.html#1978bafd7909d15c139a08c495c24aa0">diffbifn</a>.</p> |
---|
224 | |
---|
225 | </div> |
---|
226 | </div><p> |
---|
227 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
228 | <li>work/git/mixpp/doprava/<a class="el" href="model_8h-source.html">model.h</a></ul> |
---|
229 | </div> |
---|
230 | <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jan 5 19:29:16 2009 for mixpp by |
---|
231 | <a href="http://www.doxygen.org/index.html"> |
---|
232 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> |
---|
233 | </body> |
---|
234 | </html> |
---|