root/doc/html/classbilinfn.html @ 79

Revision 79, 15.0 kB (checked in by smidl, 17 years ago)

oprava dokumentace

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: bilinfn 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.3 -->
8<div class="tabs">
9  <ul>
10    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11    <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
12    <li><a href="files.html"><span>Files</span></a></li>
13    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
14  </ul>
15</div>
16<div class="tabs">
17  <ul>
18    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
19    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
20    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
21  </ul>
22</div>
23<h1>bilinfn Class Reference</h1><!-- doxytag: class="bilinfn" --><!-- doxytag: inherits="diffbifn" -->Class representing function $f(x,u) = Ax+Bu$. 
24<a href="#_details">More...</a>
25<p>
26<code>#include &lt;<a class="el" href="libFN_8h-source.html">libFN.h</a>&gt;</code>
27<p>
28<div class="dynheader">
29Inheritance diagram for bilinfn:</div>
30<div class="dynsection">
31<p><center><img src="classbilinfn__inherit__graph.png" border="0" usemap="#bilinfn__inherit__map" alt="Inheritance graph"></center>
32<map name="bilinfn__inherit__map">
33<area shape="rect" href="classdiffbifn.html" title="Class representing a differentiable function of two variables $f(x,u)$." alt="" coords="5,84,72,111"><area shape="rect" href="classfnc.html" title="Class representing function $f(x)$ of variable $x$ represented by rv." alt="" coords="19,7,59,33"></map>
34<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
35<div class="dynheader">
36Collaboration diagram for bilinfn:</div>
37<div class="dynsection">
38<p><center><img src="classbilinfn__coll__graph.png" border="0" usemap="#bilinfn__coll__map" alt="Collaboration graph"></center>
39<map name="bilinfn__coll__map">
40<area shape="rect" href="classdiffbifn.html" title="Class representing a differentiable function of two variables $f(x,u)$." alt="" coords="23,119,89,145"><area shape="rect" href="classfnc.html" title="Class representing function $f(x)$ of variable $x$ 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"><area shape="rect" title="rvu\nrvx" alt="" coords="80,31,88,39"><area shape="rect" title="rvu\nrvx" alt="" coords="56,115,64,123"></map>
41<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
42
43<p>
44<a href="classbilinfn-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
45<tr><td></td></tr>
46<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
47<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e36a16e72e7f9fedf3cb18d2d5505a24"></a><!-- doxytag: member="bilinfn::eval" ref="e36a16e72e7f9fedf3cb18d2d5505a24" args="(const vec &amp;x0, const vec &amp;u0)" -->
48vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbilinfn.html#e36a16e72e7f9fedf3cb18d2d5505a24">eval</a> (const vec &amp;x0, const vec &amp;u0)</td></tr>
49
50<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates $f(x0,u0)$. <br></td></tr>
51<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af9f36282730d910a41b95f4d1fb8221"></a><!-- doxytag: member="bilinfn::bilinfn" ref="af9f36282730d910a41b95f4d1fb8221" args="(const RV &amp;rvx0, const RV &amp;rvu0)" -->
52&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbilinfn.html#af9f36282730d910a41b95f4d1fb8221">bilinfn</a> (const <a class="el" href="classRV.html">RV</a> &amp;rvx0, const <a class="el" href="classRV.html">RV</a> &amp;rvu0)</td></tr>
53
54<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor. <br></td></tr>
55<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c99f91d7752e131275b219df731868bd"></a><!-- doxytag: member="bilinfn::bilinfn" ref="c99f91d7752e131275b219df731868bd" args="(const RV &amp;rvx0, const RV &amp;rvu0, const mat &amp;A0, const mat &amp;B0)" -->
56&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbilinfn.html#c99f91d7752e131275b219df731868bd">bilinfn</a> (const <a class="el" href="classRV.html">RV</a> &amp;rvx0, const <a class="el" href="classRV.html">RV</a> &amp;rvu0, const mat &amp;A0, const mat &amp;B0)</td></tr>
57
58<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Alternative constructor. <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="classbilinfn.html#79c022de8dbe2b054bb9cc49345f3ef5">dfdx_cond</a> (const vec &amp;x0, const vec &amp;u0, mat &amp;F, bool full)</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="#79c022de8dbe2b054bb9cc49345f3ef5"></a><br></td></tr>
62<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbilinfn.html#90f2b15612b14883d6ed2b0e295cb82b">dfdu_cond</a> (const vec &amp;x0, const vec &amp;u0, mat &amp;F, bool full=true)</td></tr>
63
64<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="#90f2b15612b14883d6ed2b0e295cb82b"></a><br></td></tr>
65<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ad7673e16aa1a046b131b24c731c4632"></a><!-- doxytag: member="bilinfn::eval" ref="ad7673e16aa1a046b131b24c731c4632" args="(const vec &amp;cond)" -->
66vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#ad7673e16aa1a046b131b24c731c4632">eval</a> (const vec &amp;cond)</td></tr>
67
68<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates $f(x0,u0)$ (VS: Do we really need common eval? ). <br></td></tr>
69<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="436de7a7301ea9eac7d6081b893bbf57"></a><!-- doxytag: member="bilinfn::_dimx" ref="436de7a7301ea9eac7d6081b893bbf57" args="() const " -->
70int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#436de7a7301ea9eac7d6081b893bbf57">_dimx</a> () const </td></tr>
71
72<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
73<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fc8779acbff170611aff0ee70cee3879"></a><!-- doxytag: member="bilinfn::_dimu" ref="fc8779acbff170611aff0ee70cee3879" args="() const " -->
74int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#fc8779acbff170611aff0ee70cee3879">_dimu</a> () const </td></tr>
75
76<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
77<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a8891973d0ca48ce38e1886df45ca298"></a><!-- doxytag: member="bilinfn::_dimy" ref="a8891973d0ca48ce38e1886df45ca298" args="() const " -->
78int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfnc.html#a8891973d0ca48ce38e1886df45ca298">_dimy</a> () const </td></tr>
79
80<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
81<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
82<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bcf96b86250c3cbd465ba5ee62474b75"></a><!-- doxytag: member="bilinfn::rvx" ref="bcf96b86250c3cbd465ba5ee62474b75" args="" -->
83<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#bcf96b86250c3cbd465ba5ee62474b75">rvx</a></td></tr>
84
85<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indentifier of the first rv. <br></td></tr>
86<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c41c74c7942dba51ef0b0bfed963447d"></a><!-- doxytag: member="bilinfn::rvu" ref="c41c74c7942dba51ef0b0bfed963447d" args="" -->
87<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#c41c74c7942dba51ef0b0bfed963447d">rvu</a></td></tr>
88
89<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indentifier of the second rv. <br></td></tr>
90<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f6918bc0a9dad656b4cddc028137eb78"></a><!-- doxytag: member="bilinfn::dimx" ref="f6918bc0a9dad656b4cddc028137eb78" args="" -->
91int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#f6918bc0a9dad656b4cddc028137eb78">dimx</a></td></tr>
92
93<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache for rvx.count() <br></td></tr>
94<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2e07ce491e973f03d763e37624d0fe79"></a><!-- doxytag: member="bilinfn::dimu" ref="2e07ce491e973f03d763e37624d0fe79" args="" -->
95int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdiffbifn.html#2e07ce491e973f03d763e37624d0fe79">dimu</a></td></tr>
96
97<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache for rvu.count() <br></td></tr>
98<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="22d51d10a7901331167f64f80d1af8e9"></a><!-- doxytag: member="bilinfn::dimy" ref="22d51d10a7901331167f64f80d1af8e9" args="" -->
99int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfnc.html#22d51d10a7901331167f64f80d1af8e9">dimy</a></td></tr>
100
101<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Length of the output vector. <br></td></tr>
102</table>
103<hr><a name="_details"></a><h2>Detailed Description</h2>
104Class representing function $f(x,u) = Ax+Bu$. <hr><h2>Member Function Documentation</h2>
105<a class="anchor" name="79c022de8dbe2b054bb9cc49345f3ef5"></a><!-- doxytag: member="bilinfn::dfdx_cond" ref="79c022de8dbe2b054bb9cc49345f3ef5" args="(const vec &amp;x0, const vec &amp;u0, mat &amp;F, bool full)" -->
106<div class="memitem">
107<div class="memproto">
108      <table class="memname">
109        <tr>
110          <td class="memname">void bilinfn::dfdx_cond           </td>
111          <td>(</td>
112          <td class="paramtype">const vec &amp;&nbsp;</td>
113          <td class="paramname"> <em>x0</em>, </td>
114        </tr>
115        <tr>
116          <td class="paramkey"></td>
117          <td></td>
118          <td class="paramtype">const vec &amp;&nbsp;</td>
119          <td class="paramname"> <em>u0</em>, </td>
120        </tr>
121        <tr>
122          <td class="paramkey"></td>
123          <td></td>
124          <td class="paramtype">mat &amp;&nbsp;</td>
125          <td class="paramname"> <em>A</em>, </td>
126        </tr>
127        <tr>
128          <td class="paramkey"></td>
129          <td></td>
130          <td class="paramtype">bool&nbsp;</td>
131          <td class="paramname"> <em>full</em></td><td>&nbsp;</td>
132        </tr>
133        <tr>
134          <td></td>
135          <td>)</td>
136          <td></td><td></td><td width="100%"><code> [inline, virtual]</code></td>
137        </tr>
138      </table>
139</div>
140<div class="memdoc">
141
142<p>
143Evaluates <img class="formulaInl" alt="$A=\frac{d}{dx}f(x,u)|_{x0,u0}$" src="form_1.png"> and writes result into <code>A</code> .
144<p>
145<dl compact><dt><b>Parameters:</b></dt><dd>
146  <table border="0" cellspacing="2" cellpadding="0">
147    <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>
148    <tr><td valign="top"></td><td valign="top"><em>x0</em>&nbsp;</td><td>numeric value of $x$, </td></tr>
149    <tr><td valign="top"></td><td valign="top"><em>u0</em>&nbsp;</td><td>numeric value of $u$ </td></tr>
150    <tr><td valign="top"></td><td valign="top"><em>A</em>&nbsp;</td><td>a place where the result will be stored. </td></tr>
151  </table>
152</dl>
153
154<p>Reimplemented from <a class="el" href="classdiffbifn.html#6d217a02d4fa13931258d4bebdd0feb4">diffbifn</a>.</p>
155
156</div>
157</div><p>
158<a class="anchor" name="90f2b15612b14883d6ed2b0e295cb82b"></a><!-- doxytag: member="bilinfn::dfdu_cond" ref="90f2b15612b14883d6ed2b0e295cb82b" args="(const vec &amp;x0, const vec &amp;u0, mat &amp;F, bool full=true)" -->
159<div class="memitem">
160<div class="memproto">
161      <table class="memname">
162        <tr>
163          <td class="memname">void bilinfn::dfdu_cond           </td>
164          <td>(</td>
165          <td class="paramtype">const vec &amp;&nbsp;</td>
166          <td class="paramname"> <em>x0</em>, </td>
167        </tr>
168        <tr>
169          <td class="paramkey"></td>
170          <td></td>
171          <td class="paramtype">const vec &amp;&nbsp;</td>
172          <td class="paramname"> <em>u0</em>, </td>
173        </tr>
174        <tr>
175          <td class="paramkey"></td>
176          <td></td>
177          <td class="paramtype">mat &amp;&nbsp;</td>
178          <td class="paramname"> <em>A</em>, </td>
179        </tr>
180        <tr>
181          <td class="paramkey"></td>
182          <td></td>
183          <td class="paramtype">bool&nbsp;</td>
184          <td class="paramname"> <em>full</em> = <code>true</code></td><td>&nbsp;</td>
185        </tr>
186        <tr>
187          <td></td>
188          <td>)</td>
189          <td></td><td></td><td width="100%"><code> [inline, virtual]</code></td>
190        </tr>
191      </table>
192</div>
193<div class="memdoc">
194
195<p>
196Evaluates <img class="formulaInl" alt="$A=\frac{d}{du}f(x,u)|_{x0,u0}$" src="form_2.png"> and writes result into <code>A</code> .
197<p>
198<dl compact><dt><b>Parameters:</b></dt><dd>
199  <table border="0" cellspacing="2" cellpadding="0">
200    <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>
201    <tr><td valign="top"></td><td valign="top"><em>x0</em>&nbsp;</td><td>numeric value of $x$, </td></tr>
202    <tr><td valign="top"></td><td valign="top"><em>u0</em>&nbsp;</td><td>numeric value of $u$ </td></tr>
203    <tr><td valign="top"></td><td valign="top"><em>A</em>&nbsp;</td><td>a place where the result will be stored. </td></tr>
204  </table>
205</dl>
206
207<p>Reimplemented from <a class="el" href="classdiffbifn.html#1978bafd7909d15c139a08c495c24aa0">diffbifn</a>.</p>
208
209</div>
210</div><p>
211<hr>The documentation for this class was generated from the following files:<ul>
212<li>work/mixpp/bdm/stat/<a class="el" href="libFN_8h-source.html">libFN.h</a><li>work/mixpp/bdm/stat/libFN.cpp</ul>
213<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 18 11:15:18 2008 for mixpp by&nbsp;
214<a href="http://www.doxygen.org/index.html">
215<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
216</body>
217</html>
Note: See TracBrowser for help on using the browser.