Changeset 270 for doc/html/classbdm_1_1EKFCh.html
- Timestamp:
- 02/16/09 10:02:08 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/classbdm_1_1EKFCh.html
r269 r270 29 29 </div> 30 30 <div class="contents"> 31 <h1>bdm::EKFCh Class Reference</h1><!-- doxytag: class="bdm::EKFCh" --><!-- doxytag: inherits="bdm::KalmanCh" -->Extended <a class="el" href="classbdm_1_1Kalman.html" title="Kalman filter with covariance matrices in square root form.">Kalman</a> Filter in Square root. 32 <a href="#_details">More...</a> 33 <p> 34 <code>#include <<a class="el" href="libKF_8h-source.html">libKF.h</a>></code> 31 <h1>bdm::EKFCh Class Reference</h1><!-- doxytag: class="bdm::EKFCh" --><!-- doxytag: inherits="bdm::KalmanCh" --><code>#include <<a class="el" href="libKF_8h-source.html">libKF.h</a>></code> 35 32 <p> 36 33 <div class="dynheader"> … … 41 38 <area shape="rect" href="classbdm_1_1EKFCh__cond.html" title="Extended Kalman filter with unknown parameters in IM." alt="" coords="5,503,141,529"><area shape="rect" href="classbdm_1_1EKFCh__unQ.html" title="Extended Kalman filter in Choleski form with unknown Q." alt="" coords="165,503,296,529"><area shape="rect" href="classbdm_1_1KalmanCh.html" title="Kalman filter in square root form." alt="" coords="91,343,213,369"><area shape="rect" href="classbdm_1_1Kalman.html" title="bdm::Kalman\< chmat \>" alt="" coords="64,263,240,289"><area shape="rect" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities." alt="" coords="89,87,167,113"><area shape="rect" href="classbdm_1_1Kalman.html" title="Kalman filter with covariance matrices in square root form." alt="" coords="149,167,315,193"><area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="72,7,184,33"></map> 42 39 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 43 <div class="dynheader"> 44 Collaboration diagram for bdm::EKFCh:</div> 45 <div class="dynsection"> 46 <p><center><img src="classbdm_1_1EKFCh__coll__graph.png" border="0" usemap="#bdm_1_1EKFCh__coll__map" alt="Collaboration graph"></center> 47 <map name="bdm_1_1EKFCh__coll__map"> 48 <area shape="rect" href="classbdm_1_1KalmanCh.html" title="Kalman filter in square root form." alt="" coords="424,791,547,817"><area shape="rect" href="classbdm_1_1Kalman.html" title="bdm::Kalman\< chmat \>" alt="" coords="292,711,468,737"><area shape="rect" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities." alt="" coords="431,201,508,228"><area shape="rect" href="classbdm_1_1Kalman.html" title="Kalman filter with covariance matrices in square root form." alt="" coords="355,351,520,377"><area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="420,7,532,33"><area shape="rect" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables." alt="" coords="363,87,437,113"><area shape="rect" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="120,201,205,228"><area shape="rect" href="classbdm_1_1fnc.html" title="Class representing function  of variable  represented by rv." alt="" coords="551,87,628,113"><area shape="rect" href="classbdm_1_1diffbifn.html" title="Class representing a differentiable function of two variables ." alt="" coords="540,201,639,228"><area shape="rect" href="classchmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky." alt="" coords="5,463,67,489"><area shape="rect" href="classbdm_1_1enorm.html" title="bdm::enorm\< chmat \>" alt="" coords="107,579,277,605"><area shape="rect" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form..." alt="" coords="5,351,67,377"><area shape="rect" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density." alt="" coords="104,351,184,377"><area shape="rect" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="144,463,304,489"></map> 49 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 50 51 <p> 52 <a href="classbdm_1_1EKFCh-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> 40 41 <p> 42 <a href="classbdm_1_1EKFCh-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> 43 Extended <a class="el" href="classbdm_1_1Kalman.html" title="Kalman filter with covariance matrices in square root form.">Kalman</a> Filter in Square root. 44 <p> 45 An approximation of the exact Bayesian filter with Gaussian noices and non-linear evolutions of their mean. <table border="0" cellpadding="0" cellspacing="0"> 53 46 <tr><td></td></tr> 54 47 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> 55 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 7be4021e63a87dc52f7651e52ba05565"></a><!-- doxytag: member="bdm::EKFCh::EKFCh" ref="7be4021e63a87dc52f7651e52ba05565" args="(RV rvx, RV rvy, RV rvu)" -->56 </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFCh.html# 7be4021e63a87dc52f7651e52ba05565">EKFCh</a> (<a class="el" href="classbdm_1_1RV.html">RV</a> rvx, <a class="el" href="classbdm_1_1RV.html">RV</a> <a class="el" href="classbdm_1_1Kalman.html#3fe475a1e920b20b63bb342c0e1571f7">rvy</a>, <a class="el" href="classbdm_1_1RV.html">RV</a> <a class="el" href="classbdm_1_1Kalman.html#149e27424fd1a7cc1c998ea088618a94">rvu</a>)</td></tr>48 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8b3228a594532b6a0db0fdc065bc5b9f"></a><!-- doxytag: member="bdm::EKFCh::EKFCh" ref="8b3228a594532b6a0db0fdc065bc5b9f" args="()" --> 49 </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFCh.html#8b3228a594532b6a0db0fdc065bc5b9f">EKFCh</a> ()</td></tr> 57 50 58 51 <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> … … 78 71 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 79 72 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c34989b1e53c7d4ecdaea63a95ddbd77"></a><!-- doxytag: member="bdm::EKFCh::_e" ref="c34989b1e53c7d4ecdaea63a95ddbd77" args="() const " --> 80 const <a class="el" href="classbdm_1_1enorm.html">enorm</a>< <a class="el" href="classchmat.html">chmat</a> > * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#c34989b1e53c7d4ecdaea63a95ddbd77">_e</a> () const </td></tr> 81 82 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a pointer to the epdf representing posterior density on parameters. Use with care! <br></td></tr> 73 const <a class="el" href="classbdm_1_1enorm.html">enorm</a>< <a class="el" href="classchmat.html">chmat</a> > * </td><td class="memItemRight" valign="bottom"><b>_e</b> () const </td></tr> 74 83 75 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c788ec6e6c6f5f5861ae8a56d8ede277"></a><!-- doxytag: member="bdm::EKFCh::__K" ref="c788ec6e6c6f5f5861ae8a56d8ede277" args="()" --> 84 76 mat & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#c788ec6e6c6f5f5861ae8a56d8ede277">__K</a> ()</td></tr> … … 89 81 90 82 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 83 <tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr> 84 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classbdm_1_1BM.html">BM</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#c0f027ff91d8459937c6f60ff8e553ff">_copy_</a> ()</td></tr> 85 86 <tr><td colspan="2"><div class="groupHeader">Mathematical operations</div></td></tr> 91 87 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1dee3fddaf021e62d925289660a707dc"></a><!-- doxytag: member="bdm::EKFCh::bayesB" ref="1dee3fddaf021e62d925289660a707dc" args="(const mat &Dt)" --> 92 88 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#1dee3fddaf021e62d925289660a707dc">bayesB</a> (const mat &Dt)</td></tr> … … 99 95 100 96 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 101 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="710e7d69c0d8791fb41a7cd4683cca2c"></a><!-- doxytag: member="bdm::EKFCh::predictor" ref="710e7d69c0d8791fb41a7cd4683cca2c" args="(const RV &rv) const " --> 102 virtual <a class="el" href="classbdm_1_1epdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#710e7d69c0d8791fb41a7cd4683cca2c">predictor</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &<a class="el" href="classbdm_1_1BM.html#18d6db4af8ee42077741d9e3618153ca">rv</a>) const </td></tr> 103 104 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 105 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="40a3c891996391e3135518053a917793"></a><!-- doxytag: member="bdm::EKFCh::_rv" ref="40a3c891996391e3135518053a917793" args="() const " --> 106 const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#40a3c891996391e3135518053a917793">_rv</a> () const </td></tr> 107 108 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 97 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="688d7a2aced1e06aa1c468d73a9e5eba"></a><!-- doxytag: member="bdm::EKFCh::epredictor" ref="688d7a2aced1e06aa1c468d73a9e5eba" args="() const " --> 98 virtual <a class="el" href="classbdm_1_1epdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#688d7a2aced1e06aa1c468d73a9e5eba">epredictor</a> () const </td></tr> 99 100 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density <img class="formulaInl" alt="$ f(d_{t+1} |d_{t}, \ldots d_{0}) $" src="form_112.png">. <br></td></tr> 101 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="598b25e3f3d96a5bc00a5faeb5b3c912"></a><!-- doxytag: member="bdm::EKFCh::predictor" ref="598b25e3f3d96a5bc00a5faeb5b3c912" args="() const " --> 102 virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 103 104 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor. <br></td></tr> 105 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 109 106 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::EKFCh::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> 110 const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#ff2d8755ba0b3def927d31305c03b09c">_drv</a> () const </td></tr> 111 112 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 107 const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><b>_drv</b> () const </td></tr> 108 113 109 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f135ae6dce7e9f30c9f88229c7930b96"></a><!-- doxytag: member="bdm::EKFCh::set_drv" ref="f135ae6dce7e9f30c9f88229c7930b96" args="(const RV &rv)" --> 114 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#f135ae6dce7e9f30c9f88229c7930b96">set_drv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &<a class="el" href="classbdm_1_1BM.html#18d6db4af8ee42077741d9e3618153ca">rv</a>)</td></tr> 115 116 <tr><td class="mdescLeft"> </td><td class="mdescRight">set drv <br></td></tr> 110 void </td><td class="memItemRight" valign="bottom"><b>set_drv</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv)</td></tr> 111 117 112 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5be65d37dedfe33a3671e7065f523a70"></a><!-- doxytag: member="bdm::EKFCh::_ll" ref="5be65d37dedfe33a3671e7065f523a70" args="() const " --> 118 double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#5be65d37dedfe33a3671e7065f523a70">_ll</a> () const </td></tr> 119 120 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 113 double </td><td class="memItemRight" valign="bottom"><b>_ll</b> () const </td></tr> 114 121 115 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="236b3abbcc93594fc97cd86d82c1a83f"></a><!-- doxytag: member="bdm::EKFCh::set_evalll" ref="236b3abbcc93594fc97cd86d82c1a83f" args="(bool evl0)" --> 122 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#236b3abbcc93594fc97cd86d82c1a83f">set_evalll</a> (bool evl0)</td></tr> 123 124 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 125 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classbdm_1_1BM.html">BM</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#3efb3098172f1f67564a312fe732473e">_copy_</a> (bool changerv=false)</td></tr> 116 void </td><td class="memItemRight" valign="bottom"><b>set_evalll</b> (bool evl0)</td></tr> 126 117 127 118 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> … … 214 205 215 206 <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of est.R <br></td></tr> 216 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="18d6db4af8ee42077741d9e3618153ca"></a><!-- doxytag: member="bdm::EKFCh::rv" ref="18d6db4af8ee42077741d9e3618153ca" args="" -->217 <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#18d6db4af8ee42077741d9e3618153ca">rv</a></td></tr>218 219 <tr><td class="mdescLeft"> </td><td class="mdescRight">Random variable of the posterior. <br></td></tr>220 207 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c400357e37d27a4834b2b1d9211009ed"></a><!-- doxytag: member="bdm::EKFCh::drv" ref="c400357e37d27a4834b2b1d9211009ed" args="" --> 221 208 <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#c400357e37d27a4834b2b1d9211009ed">drv</a></td></tr> … … 231 218 <tr><td class="mdescLeft"> </td><td class="mdescRight">If true, the filter will compute likelihood of the data record and store it in <code>ll</code> . Set to false if you want to save computational time. <br></td></tr> 232 219 </table> 233 <hr><a name="_details"></a><h2>Detailed Description</h2> 234 Extended <a class="el" href="classbdm_1_1Kalman.html" title="Kalman filter with covariance matrices in square root form.">Kalman</a> Filter in Square root. 235 <p> 236 An approximation of the exact Bayesian filter with Gaussian noices and non-linear evolutions of their mean. <hr><h2>Member Function Documentation</h2> 220 <hr><h2>Member Function Documentation</h2> 221 <a class="anchor" name="c0f027ff91d8459937c6f60ff8e553ff"></a><!-- doxytag: member="bdm::EKFCh::_copy_" ref="c0f027ff91d8459937c6f60ff8e553ff" args="()" --> 222 <div class="memitem"> 223 <div class="memproto"> 224 <table class="memname"> 225 <tr> 226 <td class="memname">virtual <a class="el" href="classbdm_1_1BM.html">BM</a>* bdm::BM::_copy_ </td> 227 <td>(</td> 228 <td class="paramname"> </td> 229 <td> ) </td> 230 <td><code> [inline, virtual, inherited]</code></td> 231 </tr> 232 </table> 233 </div> 234 <div class="memdoc"> 235 236 <p> 237 Copy function required in vectors, Arrays of <a class="el" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities.">BM</a> etc. Have to be DELETED manually! Prototype: <div class="fragment"><pre class="fragment"> BM* <a class="code" href="classbdm_1_1BM.html#c0f027ff91d8459937c6f60ff8e553ff">_copy_</a>(){<span class="keywordflow">return</span> <span class="keyword">new</span> BM(*<span class="keyword">this</span>);} 238 </pre></div> 239 <p>Reimplemented in <a class="el" href="classbdm_1_1ARX.html#60c40b5c6abc4c7e464b4ccae64a5a61">bdm::ARX</a>.</p> 240 241 </div> 242 </div><p> 237 243 <a class="anchor" name="50257e0c1e5b5c73153ea6e716ad8ae0"></a><!-- doxytag: member="bdm::EKFCh::logpred" ref="50257e0c1e5b5c73153ea6e716ad8ae0" args="(const vec &dt) const " --> 238 244 <div class="memitem"> … … 255 261 <p>Reimplemented in <a class="el" href="classbdm_1_1ARX.html#080a7e531e3aa06694112863b15bc6a4">bdm::ARX</a>, <a class="el" href="classbdm_1_1MixEF.html#da724da464a75e07521941e430929efa">bdm::MixEF</a>, and <a class="el" href="classbdm_1_1multiBM.html#e157b607c1e3fa91d42aeea44458e2bf">bdm::multiBM</a>.</p> 256 262 257 <p>Referenced by <a class="el" href="libBM_8h-source.html#l00535">bdm::BM::logpred_m()</a>.</p> 258 259 </div> 260 </div><p> 261 <a class="anchor" name="3efb3098172f1f67564a312fe732473e"></a><!-- doxytag: member="bdm::EKFCh::_copy_" ref="3efb3098172f1f67564a312fe732473e" args="(bool changerv=false)" --> 262 <div class="memitem"> 263 <div class="memproto"> 264 <table class="memname"> 265 <tr> 266 <td class="memname">virtual <a class="el" href="classbdm_1_1BM.html">BM</a>* bdm::BM::_copy_ </td> 267 <td>(</td> 268 <td class="paramtype">bool </td> 269 <td class="paramname"> <em>changerv</em> = <code>false</code> </td> 270 <td> ) </td> 271 <td><code> [inline, virtual, inherited]</code></td> 272 </tr> 273 </table> 274 </div> 275 <div class="memdoc"> 276 277 <p> 278 Copy function required in vectors, Arrays of <a class="el" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities.">BM</a> etc. Have to be DELETED manually! Prototype: BM* <a class="el" href="classbdm_1_1BM.html#3efb3098172f1f67564a312fe732473e">_copy_()</a>{<a class="el" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities.">BM</a> Tmp*=new Tmp(this*); return Tmp; } 279 <p>Reimplemented in <a class="el" href="classbdm_1_1ARX.html#20ff2de8d862f28de7da83444d65bcdb">bdm::ARX</a>, and <a class="el" href="classbdm_1_1BMEF.html#5912dbcf28ae711e30b08c2fa766a3e6">bdm::BMEF</a>.</p> 263 <p>Referenced by <a class="el" href="libBM_8h-source.html#l00608">bdm::BM::logpred_m()</a>.</p> 280 264 281 265 </div> … … 284 268 <li><a class="el" href="libKF_8h-source.html">libKF.h</a><li>libKF.cpp</ul> 285 269 </div> 286 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 11 10:20:412009 for mixpp by 270 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 11 23:34:02 2009 for mixpp by 287 271 <a href="http://www.doxygen.org/index.html"> 288 272 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>