Show
Ignore:
Timestamp:
02/16/09 10:02:08 (16 years ago)
Author:
smidl
Message:

Changes in the very root classes!
* rv and rvc are no longer compulsory,
* samplecond does not return ll
* BM has drv

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/html/classbdm_1_1EKFfull.html

    r269 r270  
    2929</div> 
    3030<div class="contents"> 
    31 <h1>bdm::EKFfull Class Reference</h1><!-- doxytag: class="bdm::EKFfull" --><!-- doxytag: inherits="bdm::KalmanFull,bdm::BM" -->Extended <a class="el" href="classbdm_1_1Kalman.html" title="Kalman filter with covariance matrices in square root form.">Kalman</a> Filter in full matrices.   
    32 <a href="#_details">More...</a> 
    33 <p> 
    34 <code>#include &lt;<a class="el" href="libKF_8h-source.html">libKF.h</a>&gt;</code> 
     31<h1>bdm::EKFfull Class Reference</h1><!-- doxytag: class="bdm::EKFfull" --><!-- doxytag: inherits="bdm::KalmanFull,bdm::BM" --><code>#include &lt;<a class="el" href="libKF_8h-source.html">libKF.h</a>&gt;</code> 
    3532<p> 
    3633<div class="dynheader"> 
     
    4138<area shape="rect" href="classbdm_1_1EKFful__unQR.html" title="Extended Kalman filter with unknown Q and R." alt="" coords="63,239,199,265"><area shape="rect" href="classbdm_1_1KalmanFull.html" title="Basic Kalman filter with full matrices (education purpose only)! Will be deleted..." alt="" coords="5,84,131,111"><area shape="rect" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities." alt="" coords="155,84,232,111"><area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="137,7,249,33"></map> 
    4239<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 
    43 <div class="dynheader"> 
    44 Collaboration diagram for bdm::EKFfull:</div> 
    45 <div class="dynsection"> 
    46 <p><center><img src="classbdm_1_1EKFfull__coll__graph.png" border="0" usemap="#bdm_1_1EKFfull__coll__map" alt="Collaboration graph"></center> 
    47 <map name="bdm_1_1EKFfull__coll__map"> 
    48 <area shape="rect" href="classbdm_1_1KalmanFull.html" title="Basic Kalman filter with full matrices (education purpose only)! Will be deleted..." alt="" coords="5,476,131,503"><area shape="rect" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities." alt="" coords="129,199,207,225"><area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="237,7,349,33"><area shape="rect" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables." alt="" coords="307,87,381,113"><area shape="rect" href="classbdm_1_1fnc.html" title="Class representing function &#160;of variable &#160;represented by rv." alt="" coords="205,87,283,113"><area shape="rect" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="379,199,464,225"><area shape="rect" href="classbdm_1_1diffbifn.html" title="Class representing a differentiable function of two variables ." alt="" coords="231,199,329,225"><area shape="rect" href="classbdm_1_1enorm.html" title="bdm::enorm\&lt; fsqmat \&gt;" alt="" coords="292,476,468,503"><area shape="rect" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density." alt="" coords="483,279,563,305"><area shape="rect" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="375,377,535,404"><area shape="rect" href="classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix." alt="" coords="284,377,351,404"><area shape="rect" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square&#45;root form..." alt="" coords="287,279,348,305"></map> 
    49 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 
    50  
    51 <p> 
    52 <a href="classbdm_1_1EKFfull-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> 
     40 
     41<p> 
     42<a href="classbdm_1_1EKFfull-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> 
     43Extended <a class="el" href="classbdm_1_1Kalman.html" title="Kalman filter with covariance matrices in square root form.">Kalman</a> Filter in full matrices.  
     44<p> 
     45An approximation of the exact Bayesian filter with Gaussian noices and non-linear evolutions of their mean. <table border="0" cellpadding="0" cellspacing="0"> 
    5346<tr><td></td></tr> 
    5447<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="38c0465c9edac6cedfe611373b0cce01"></a><!-- doxytag: member="bdm::EKFfull::EKFfull" ref="38c0465c9edac6cedfe611373b0cce01" args="(RV rvx, RV rvy, RV rvu)" --> 
    56 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFfull.html#38c0465c9edac6cedfe611373b0cce01">EKFfull</a> (<a class="el" href="classbdm_1_1RV.html">RV</a> rvx, <a class="el" href="classbdm_1_1RV.html">RV</a> rvy, <a class="el" href="classbdm_1_1RV.html">RV</a> rvu)</td></tr> 
     48<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6939c345389abb8b2481457b4cfe1165"></a><!-- doxytag: member="bdm::EKFfull::EKFfull" ref="6939c345389abb8b2481457b4cfe1165" args="()" --> 
     49&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFfull.html#6939c345389abb8b2481457b4cfe1165">EKFfull</a> ()</td></tr> 
    5750 
    5851<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor. <br></td></tr> 
     
    7467<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dummy! <br></td></tr> 
    7568<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3d0e427d4d2fb7ac20358ce629f5d510"></a><!-- doxytag: member="bdm::EKFfull::_e" ref="3d0e427d4d2fb7ac20358ce629f5d510" args="() const " --> 
    76 const <a class="el" href="classbdm_1_1enorm.html">enorm</a>&lt; <a class="el" href="classfsqmat.html">fsqmat</a> &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFfull.html#3d0e427d4d2fb7ac20358ce629f5d510">_e</a> () const </td></tr> 
    77  
    78 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a pointer to the <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> representing posterior density on parameters. Use with care! <br></td></tr> 
     69const <a class="el" href="classbdm_1_1enorm.html">enorm</a>&lt; <a class="el" href="classfsqmat.html">fsqmat</a> &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><b>_e</b> () const </td></tr> 
     70 
    7971<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d4f57cb8af64b06c530f528c32596d4d"></a><!-- doxytag: member="bdm::EKFfull::_R" ref="d4f57cb8af64b06c530f528c32596d4d" args="()" --> 
    8072const mat&nbsp;</td><td class="memItemRight" valign="bottom"><b>_R</b> ()</td></tr> 
    8173 
     74<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr> 
     75<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classbdm_1_1BM.html">BM</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#c0f027ff91d8459937c6f60ff8e553ff">_copy_</a> ()</td></tr> 
     76 
     77<tr><td colspan="2"><div class="groupHeader">Mathematical operations</div></td></tr> 
    8278<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1dee3fddaf021e62d925289660a707dc"></a><!-- doxytag: member="bdm::EKFfull::bayesB" ref="1dee3fddaf021e62d925289660a707dc" args="(const mat &amp;Dt)" --> 
    8379virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#1dee3fddaf021e62d925289660a707dc">bayesB</a> (const mat &amp;Dt)</td></tr> 
     
    9086 
    9187<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 
    92 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="710e7d69c0d8791fb41a7cd4683cca2c"></a><!-- doxytag: member="bdm::EKFfull::predictor" ref="710e7d69c0d8791fb41a7cd4683cca2c" args="(const RV &amp;rv) const " --> 
    93 virtual <a class="el" href="classbdm_1_1epdf.html">epdf</a> *&nbsp;</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> &amp;<a class="el" href="classbdm_1_1BM.html#18d6db4af8ee42077741d9e3618153ca">rv</a>) const </td></tr> 
    94  
    95 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 
    96 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="40a3c891996391e3135518053a917793"></a><!-- doxytag: member="bdm::EKFfull::_rv" ref="40a3c891996391e3135518053a917793" args="() const " --> 
    97 const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#40a3c891996391e3135518053a917793">_rv</a> () const </td></tr> 
    98  
    99 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr> 
     88<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="688d7a2aced1e06aa1c468d73a9e5eba"></a><!-- doxytag: member="bdm::EKFfull::epredictor" ref="688d7a2aced1e06aa1c468d73a9e5eba" args="() const " --> 
     89virtual <a class="el" href="classbdm_1_1epdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#688d7a2aced1e06aa1c468d73a9e5eba">epredictor</a> () const </td></tr> 
     90 
     91<tr><td class="mdescLeft">&nbsp;</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> 
     92<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="598b25e3f3d96a5bc00a5faeb5b3c912"></a><!-- doxytag: member="bdm::EKFfull::predictor" ref="598b25e3f3d96a5bc00a5faeb5b3c912" args="() const " --> 
     93virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 
     94 
     95<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor. <br></td></tr> 
     96<tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 
    10097<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::EKFfull::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> 
    101 const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#ff2d8755ba0b3def927d31305c03b09c">_drv</a> () const </td></tr> 
    102  
    103 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr> 
     98const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>_drv</b> () const </td></tr> 
     99 
    104100<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f135ae6dce7e9f30c9f88229c7930b96"></a><!-- doxytag: member="bdm::EKFfull::set_drv" ref="f135ae6dce7e9f30c9f88229c7930b96" args="(const RV &amp;rv)" --> 
    105 void&nbsp;</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> &amp;<a class="el" href="classbdm_1_1BM.html#18d6db4af8ee42077741d9e3618153ca">rv</a>)</td></tr> 
    106  
    107 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set drv <br></td></tr> 
     101void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_drv</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;rv)</td></tr> 
     102 
    108103<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5be65d37dedfe33a3671e7065f523a70"></a><!-- doxytag: member="bdm::EKFfull::_ll" ref="5be65d37dedfe33a3671e7065f523a70" args="() const " --> 
    109 double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#5be65d37dedfe33a3671e7065f523a70">_ll</a> () const </td></tr> 
    110  
    111 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr> 
     104double&nbsp;</td><td class="memItemRight" valign="bottom"><b>_ll</b> () const </td></tr> 
     105 
    112106<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="236b3abbcc93594fc97cd86d82c1a83f"></a><!-- doxytag: member="bdm::EKFfull::set_evalll" ref="236b3abbcc93594fc97cd86d82c1a83f" args="(bool evl0)" --> 
    113 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#236b3abbcc93594fc97cd86d82c1a83f">set_evalll</a> (bool evl0)</td></tr> 
    114  
    115 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr> 
    116 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classbdm_1_1BM.html">BM</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#3efb3098172f1f67564a312fe732473e">_copy_</a> (bool changerv=false)</td></tr> 
     107void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_evalll</b> (bool evl0)</td></tr> 
    117108 
    118109<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> 
     
    171162mat&nbsp;</td><td class="memItemRight" valign="bottom"><b>_K</b></td></tr> 
    172163 
    173 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="18d6db4af8ee42077741d9e3618153ca"></a><!-- doxytag: member="bdm::EKFfull::rv" ref="18d6db4af8ee42077741d9e3618153ca" args="" --> 
    174 <a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#18d6db4af8ee42077741d9e3618153ca">rv</a></td></tr> 
    175  
    176 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Random variable of the posterior. <br></td></tr> 
    177164<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c400357e37d27a4834b2b1d9211009ed"></a><!-- doxytag: member="bdm::EKFfull::drv" ref="c400357e37d27a4834b2b1d9211009ed" args="" --> 
    178165<a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#c400357e37d27a4834b2b1d9211009ed">drv</a></td></tr> 
     
    193180<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">print elements of KF <br></td></tr> 
    194181</table> 
    195 <hr><a name="_details"></a><h2>Detailed Description</h2> 
    196 Extended <a class="el" href="classbdm_1_1Kalman.html" title="Kalman filter with covariance matrices in square root form.">Kalman</a> Filter in full matrices.  
    197 <p> 
    198 An approximation of the exact Bayesian filter with Gaussian noices and non-linear evolutions of their mean. <hr><h2>Member Function Documentation</h2> 
     182<hr><h2>Member Function Documentation</h2> 
     183<a class="anchor" name="c0f027ff91d8459937c6f60ff8e553ff"></a><!-- doxytag: member="bdm::EKFfull::_copy_" ref="c0f027ff91d8459937c6f60ff8e553ff" args="()" --> 
     184<div class="memitem"> 
     185<div class="memproto"> 
     186      <table class="memname"> 
     187        <tr> 
     188          <td class="memname">virtual <a class="el" href="classbdm_1_1BM.html">BM</a>* bdm::BM::_copy_           </td> 
     189          <td>(</td> 
     190          <td class="paramname">          </td> 
     191          <td>&nbsp;)&nbsp;</td> 
     192          <td><code> [inline, virtual, inherited]</code></td> 
     193        </tr> 
     194      </table> 
     195</div> 
     196<div class="memdoc"> 
     197 
     198<p> 
     199Copy 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>);}  
     200</pre></div>  
     201<p>Reimplemented in <a class="el" href="classbdm_1_1ARX.html#60c40b5c6abc4c7e464b4ccae64a5a61">bdm::ARX</a>.</p> 
     202 
     203</div> 
     204</div><p> 
    199205<a class="anchor" name="50257e0c1e5b5c73153ea6e716ad8ae0"></a><!-- doxytag: member="bdm::EKFfull::logpred" ref="50257e0c1e5b5c73153ea6e716ad8ae0" args="(const vec &amp;dt) const " --> 
    200206<div class="memitem"> 
     
    217223<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> 
    218224 
    219 <p>Referenced by <a class="el" href="libBM_8h-source.html#l00535">bdm::BM::logpred_m()</a>.</p> 
    220  
    221 </div> 
    222 </div><p> 
    223 <a class="anchor" name="3efb3098172f1f67564a312fe732473e"></a><!-- doxytag: member="bdm::EKFfull::_copy_" ref="3efb3098172f1f67564a312fe732473e" args="(bool changerv=false)" --> 
    224 <div class="memitem"> 
    225 <div class="memproto"> 
    226       <table class="memname"> 
    227         <tr> 
    228           <td class="memname">virtual <a class="el" href="classbdm_1_1BM.html">BM</a>* bdm::BM::_copy_           </td> 
    229           <td>(</td> 
    230           <td class="paramtype">bool&nbsp;</td> 
    231           <td class="paramname"> <em>changerv</em> = <code>false</code>          </td> 
    232           <td>&nbsp;)&nbsp;</td> 
    233           <td><code> [inline, virtual, inherited]</code></td> 
    234         </tr> 
    235       </table> 
    236 </div> 
    237 <div class="memdoc"> 
    238  
    239 <p> 
    240 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; }  
    241 <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> 
     225<p>Referenced by <a class="el" href="libBM_8h-source.html#l00608">bdm::BM::logpred_m()</a>.</p> 
    242226 
    243227</div> 
     
    246230<li><a class="el" href="libKF_8h-source.html">libKF.h</a><li>libKF.cpp</ul> 
    247231</div> 
    248 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 11 10:20:37 2009 for mixpp by&nbsp; 
     232<hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 11 23:34:02 2009 for mixpp by&nbsp; 
    249233<a href="http://www.doxygen.org/index.html"> 
    250234<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>