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: bdm::bilinfn 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 | <!-- |
---|
10 | function 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 | } |
---|
22 | function 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 | } |
---|
46 | window.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 Page</span></a></li> |
---|
53 | <li><a href="pages.html"><span>Related 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 List</span></a></li> |
---|
62 | <li><a href="classes.html"><span>Class Index</span></a></li> |
---|
63 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
64 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
65 | </ul> |
---|
66 | </div> |
---|
67 | <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1bilinfn.html">bilinfn</a> |
---|
68 | </div> |
---|
69 | </div> |
---|
70 | <div class="contents"> |
---|
71 | <h1>bdm::bilinfn Class Reference</h1><!-- doxytag: class="bdm::bilinfn" --><!-- doxytag: inherits="bdm::diffbifn" -->Class representing function <img class="formulaInl" alt="$f(x,u) = Ax+Bu$" src="form_90.png">. |
---|
72 | <a href="#_details">More...</a> |
---|
73 | <p> |
---|
74 | <code>#include <<a class="el" href="libFN_8h-source.html">libFN.h</a>></code> |
---|
75 | <p> |
---|
76 | |
---|
77 | <p> |
---|
78 | <a href="classbdm_1_1bilinfn-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
79 | <tr><td></td></tr> |
---|
80 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
81 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="188f31066bd72e1bf0ddacd1eb0e6af3"></a><!-- doxytag: member="bdm::bilinfn::eval" ref="188f31066bd72e1bf0ddacd1eb0e6af3" args="(const vec &cond)" --> |
---|
82 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#188f31066bd72e1bf0ddacd1eb0e6af3">eval</a> (const vec &cond)</td></tr> |
---|
83 | |
---|
84 | <tr><td class="mdescLeft"> </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> |
---|
85 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1b3c8f5949f13d86d2661e191d4b369b"></a><!-- doxytag: member="bdm::bilinfn::_dimx" ref="1b3c8f5949f13d86d2661e191d4b369b" args="() const " --> |
---|
86 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#1b3c8f5949f13d86d2661e191d4b369b">_dimx</a> () const </td></tr> |
---|
87 | |
---|
88 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
89 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="031458f38c97cdb3aecde16f6a06dced"></a><!-- doxytag: member="bdm::bilinfn::_dimu" ref="031458f38c97cdb3aecde16f6a06dced" args="() const " --> |
---|
90 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#031458f38c97cdb3aecde16f6a06dced">_dimu</a> () const </td></tr> |
---|
91 | |
---|
92 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
93 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0786e40fade2663a70d654c1dda5d73e"></a><!-- doxytag: member="bdm::bilinfn::condition" ref="0786e40fade2663a70d654c1dda5d73e" args="(const vec &val)" --> |
---|
94 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#0786e40fade2663a70d654c1dda5d73e">condition</a> (const vec &val)</td></tr> |
---|
95 | |
---|
96 | <tr><td class="mdescLeft"> </td><td class="mdescRight">function substitutes given value into an appropriate position <br></td></tr> |
---|
97 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="083832294da9d1e40804158b979c4341"></a><!-- doxytag: member="bdm::bilinfn::dimension" ref="083832294da9d1e40804158b979c4341" args="() const " --> |
---|
98 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#083832294da9d1e40804158b979c4341">dimension</a> () const </td></tr> |
---|
99 | |
---|
100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
101 | <tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr> |
---|
102 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dc263f8d8d1876023a9d161d17a3c621"></a><!-- doxytag: member="bdm::bilinfn::bilinfn" ref="dc263f8d8d1876023a9d161d17a3c621" args="()" --> |
---|
103 | </td><td class="memItemRight" valign="bottom"><b>bilinfn</b> ()</td></tr> |
---|
104 | |
---|
105 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="91d7d9fcd6146ddf7eef13f02df10f79"></a><!-- doxytag: member="bdm::bilinfn::bilinfn" ref="91d7d9fcd6146ddf7eef13f02df10f79" args="(const mat A0, const mat B0)" --> |
---|
106 | </td><td class="memItemRight" valign="bottom"><b>bilinfn</b> (const mat A0, const mat B0)</td></tr> |
---|
107 | |
---|
108 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5a508fbb5fc013904d9b62b2231442de"></a><!-- doxytag: member="bdm::bilinfn::set_parameters" ref="5a508fbb5fc013904d9b62b2231442de" args="(const mat A0, const mat B0)" --> |
---|
109 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bilinfn.html#5a508fbb5fc013904d9b62b2231442de">set_parameters</a> (const mat A0, const mat B0)</td></tr> |
---|
110 | |
---|
111 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Alternative constructor. <br></td></tr> |
---|
112 | <tr><td colspan="2"><div class="groupHeader">Mathematical operations</div></td></tr> |
---|
113 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="846c21e8e8d41555eb7c075f5ff86ffd"></a><!-- doxytag: member="bdm::bilinfn::eval" ref="846c21e8e8d41555eb7c075f5ff86ffd" args="(const vec &x0, const vec &u0)" --> |
---|
114 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bilinfn.html#846c21e8e8d41555eb7c075f5ff86ffd">eval</a> (const vec &x0, const vec &u0)</td></tr> |
---|
115 | |
---|
116 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$f(x0,u0)$" src="form_91.png">. <br></td></tr> |
---|
117 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bilinfn.html#33066f1054dd259df2ec5fafae4b46e6">dfdx_cond</a> (const vec &x0, const vec &u0, mat &F, bool full)</td></tr> |
---|
118 | |
---|
119 | <tr><td class="mdescLeft"> </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="#33066f1054dd259df2ec5fafae4b46e6"></a><br></td></tr> |
---|
120 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bilinfn.html#9cfe2f1c115ba7c3c75849a10a4f2c08">dfdu_cond</a> (const vec &x0, const vec &u0, mat &F, bool full=true)</td></tr> |
---|
121 | |
---|
122 | <tr><td class="mdescLeft"> </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="#9cfe2f1c115ba7c3c75849a10a4f2c08"></a><br></td></tr> |
---|
123 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
124 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5f56547d8e9378b669d3cc19d7831cbb"></a><!-- doxytag: member="bdm::bilinfn::rvx" ref="5f56547d8e9378b669d3cc19d7831cbb" args="" --> |
---|
125 | <a class="el" href="classbdm_1_1RV.html">RV</a> </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"> </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="bdm::bilinfn::rvu" ref="a8e3e861d5ec2a7ae9524e6338e58320" args="" --> |
---|
129 | <a class="el" href="classbdm_1_1RV.html">RV</a> </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"> </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="bdm::bilinfn::dimx" ref="a193aa2c4a500139c0c4b669691e588e" args="" --> |
---|
133 | int </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"> </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="bdm::bilinfn::dimu" ref="30c45617eec89adeb4ebaa763d093fb0" args="" --> |
---|
137 | int </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"> </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="bdm::bilinfn::dimy" ref="52156cb4a52a62d51fc7455985797a62" args="" --> |
---|
141 | int </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"> </td><td class="mdescRight">Length of the output vector. <br></td></tr> |
---|
144 | </table> |
---|
145 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
146 | Class representing function <img class="formulaInl" alt="$f(x,u) = Ax+Bu$" src="form_90.png">. <hr><h2>Member Function Documentation</h2> |
---|
147 | <a class="anchor" name="9cfe2f1c115ba7c3c75849a10a4f2c08"></a><!-- doxytag: member="bdm::bilinfn::dfdu_cond" ref="9cfe2f1c115ba7c3c75849a10a4f2c08" args="(const vec &x0, const vec &u0, mat &F, bool full=true)" --> |
---|
148 | <div class="memitem"> |
---|
149 | <div class="memproto"> |
---|
150 | <table class="memname"> |
---|
151 | <tr> |
---|
152 | <td class="memname">void bdm::bilinfn::dfdu_cond </td> |
---|
153 | <td>(</td> |
---|
154 | <td class="paramtype">const vec & </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 & </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 & </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 </td> |
---|
173 | <td class="paramname"> <em>full</em> = <code>true</code></td><td> </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> |
---|
185 | 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> . |
---|
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> </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> </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> </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> </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="33066f1054dd259df2ec5fafae4b46e6"></a><!-- doxytag: member="bdm::bilinfn::dfdx_cond" ref="33066f1054dd259df2ec5fafae4b46e6" args="(const vec &x0, const vec &u0, mat &F, bool full)" --> |
---|
201 | <div class="memitem"> |
---|
202 | <div class="memproto"> |
---|
203 | <table class="memname"> |
---|
204 | <tr> |
---|
205 | <td class="memname">void bdm::bilinfn::dfdx_cond </td> |
---|
206 | <td>(</td> |
---|
207 | <td class="paramtype">const vec & </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 & </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 & </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 </td> |
---|
226 | <td class="paramname"> <em>full</em></td><td> </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> |
---|
238 | 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> . |
---|
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> </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> </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> </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> </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 | </div> |
---|
252 | </div><p> |
---|
253 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
254 | <li><a class="el" href="libFN_8h-source.html">libFN.h</a></ul> |
---|
255 | </div> |
---|
256 | <hr size="1"><address style="text-align: right;"><small>Generated on Thu Apr 23 21:06:46 2009 for mixpp by |
---|
257 | <a href="http://www.doxygen.org/index.html"> |
---|
258 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
---|
259 | </body> |
---|
260 | </html> |
---|