root/doc/html/classEKFCh__cond.html @ 255

Revision 255, 30.8 kB (checked in by smidl, 16 years ago)

doc

RevLine 
[33]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">
[224]3<title>mixpp: EKFCh_cond Class Reference</title>
[33]4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
[139]7<!-- Generated by Doxygen 1.5.6 -->
[91]8<div class="navigation" id="top">
9  <div class="tabs">
10    <ul>
11      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
[219]13      <li><a href="modules.html"><span>Modules</span></a></li>
[91]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&nbsp;List</span></a></li>
21      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
22      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
23    </ul>
24  </div>
[33]25</div>
[91]26<div class="contents">
[255]27<h1>EKFCh_cond Class Reference</h1><!-- doxytag: class="EKFCh_cond" --><!-- doxytag: inherits="bdm::EKFCh,bdm::BMcond" -->Extended Kalman filter with unknown <code>Q</code>
[33]28<a href="#_details">More...</a>
29<p>
30<div class="dynheader">
[224]31Inheritance diagram for EKFCh_cond:</div>
[33]32<div class="dynsection">
[224]33<p><center><img src="classEKFCh__cond__inherit__graph.png" border="0" usemap="#EKFCh__cond__inherit__map" alt="Inheritance graph"></center>
34<map name="EKFCh__cond__inherit__map">
[255]35<area shape="rect" href="classbdm_1_1EKFCh.html" title="Extended Kalman Filter in Square root." alt="" coords="45,343,144,369"><area shape="rect" href="classbdm_1_1KalmanCh.html" title="Kalman filter in square root form." alt="" coords="32,263,155,289"><area shape="rect" href="classbdm_1_1Kalman.html" title="bdm::Kalman\&lt; chmat \&gt;" alt="" coords="5,183,181,209"><area shape="rect" href="classbdm_1_1BM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="71,7,148,33"><area shape="rect" href="classbdm_1_1Kalman.html" title="Kalman filter with covariance matrices in square root form." alt="" coords="109,87,275,113"><area shape="rect" href="classbdm_1_1BMcond.html" title="Conditional Bayesian Filter." alt="" coords="168,343,277,369"><area shape="rect" href="classbdm_1_1base.html" title="Root class of BDM objects." alt="" coords="179,263,267,289"></map>
[33]36<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
37<div class="dynheader">
[224]38Collaboration diagram for EKFCh_cond:</div>
[33]39<div class="dynsection">
[224]40<p><center><img src="classEKFCh__cond__coll__graph.png" border="0" usemap="#EKFCh__cond__coll__map" alt="Collaboration graph"></center>
41<map name="EKFCh__cond__coll__map">
[255]42<area shape="rect" href="classbdm_1_1EKFCh.html" title="Extended Kalman Filter in Square root." alt="" coords="204,865,303,892"><area shape="rect" href="classbdm_1_1KalmanCh.html" title="Kalman filter in square root form." alt="" coords="192,785,315,812"><area shape="rect" href="classbdm_1_1Kalman.html" title="bdm::Kalman\&lt; chmat \&gt;" alt="" coords="165,705,341,732"><area shape="rect" href="classbdm_1_1BM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="172,311,249,337"><area shape="rect" href="classbdm_1_1Kalman.html" title="Kalman filter with covariance matrices in square root form." alt="" coords="308,457,473,484"><area shape="rect" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables." alt="" coords="335,87,409,113"><area shape="rect" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="409,199,495,225"><area shape="rect" href="classbdm_1_1diffbifn.html" title="Class representing a differentiable function of two variables ." alt="" coords="5,199,104,225"><area shape="rect" href="classbdm_1_1BMcond.html" title="Conditional Bayesian Filter." alt="" coords="519,199,628,225"><area shape="rect" href="classbdm_1_1base.html" title="Root class of BDM objects." alt="" coords="379,7,467,33"><area shape="rect" href="classbdm_1_1fnc.html" title="Class representing function &#160;of variable &#160;represented by rv." alt="" coords="132,87,209,113"><area shape="rect" href="classchmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky." alt="" coords="223,457,284,484"><area shape="rect" href="classbdm_1_1enorm.html" title="bdm::enorm\&lt; chmat \&gt;" alt="" coords="471,573,641,600"><area shape="rect" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square&#45;root form..." alt="" coords="273,311,335,337"><area shape="rect" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density." alt="" coords="537,311,617,337"><area shape="rect" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="497,457,657,484"></map>
[33]43<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
44
45<p>
[224]46<a href="classEKFCh__cond-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
[33]47<tr><td></td></tr>
48<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
[224]49<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="727af5503bba3063c115994dd6adb059"></a><!-- doxytag: member="EKFCh_cond::EKFCh_cond" ref="727af5503bba3063c115994dd6adb059" args="(RV rx, RV ry, RV ru, RV rC)" -->
[255]50&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEKFCh__cond.html#727af5503bba3063c115994dd6adb059">EKFCh_cond</a> (<a class="el" href="classbdm_1_1RV.html">RV</a> rx, <a class="el" href="classbdm_1_1RV.html">RV</a> ry, <a class="el" href="classbdm_1_1RV.html">RV</a> ru, <a class="el" href="classbdm_1_1RV.html">RV</a> rC)</td></tr>
[33]51
52<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor. <br></td></tr>
[224]53<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="93ccb6731b68f28e0fb43393d8c66e1d"></a><!-- doxytag: member="EKFCh_cond::condition" ref="93ccb6731b68f28e0fb43393d8c66e1d" args="(const vec &amp;val)" -->
54void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEKFCh__cond.html#93ccb6731b68f28e0fb43393d8c66e1d">condition</a> (const vec &amp;val)</td></tr>
[33]55
56<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Substitute <code>val</code> for <code>rvc</code>. <br></td></tr>
[255]57<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="50f9fbffad721f35e5ccb75d0f6b842a"></a><!-- doxytag: member="EKFCh_cond::set_parameters" ref="50f9fbffad721f35e5ccb75d0f6b842a" args="(diffbifn *pfxu, diffbifn *phxu, const chmat Q0, const chmat R0)" -->
58void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFCh.html#50f9fbffad721f35e5ccb75d0f6b842a">set_parameters</a> (diffbifn *<a class="el" href="classbdm_1_1EKFCh.html#e1e895f994398a55bc425551fc275ba3">pfxu</a>, diffbifn *<a class="el" href="classbdm_1_1EKFCh.html#6b34c69641826322467b704e8252f317">phxu</a>, const <a class="el" href="classchmat.html">chmat</a> Q0, const <a class="el" href="classchmat.html">chmat</a> R0)</td></tr>
[33]59
60<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set nonlinear functions for mean values and covariance matrices. <br></td></tr>
[255]61<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ab3a87ba1831e53f193a9dfbaf56a879"></a><!-- doxytag: member="EKFCh_cond::set_parameters" ref="ab3a87ba1831e53f193a9dfbaf56a879" args="(const mat &amp;A0, const mat &amp;B0, const mat &amp;C0, const mat &amp;D0, const chmat &amp;R0, const chmat &amp;Q0)" -->
62void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1KalmanCh.html#ab3a87ba1831e53f193a9dfbaf56a879">set_parameters</a> (const mat &amp;A0, const mat &amp;B0, const mat &amp;C0, const mat &amp;D0, const <a class="el" href="classchmat.html">chmat</a> &amp;R0, const <a class="el" href="classchmat.html">chmat</a> &amp;Q0)</td></tr>
[33]63
64<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set parameters with check of relevance. <br></td></tr>
[255]65<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4c8609c37290b158f88a31dae4047225"></a><!-- doxytag: member="EKFCh_cond::bayes" ref="4c8609c37290b158f88a31dae4047225" args="(const vec &amp;dt)" -->
66void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFCh.html#4c8609c37290b158f88a31dae4047225">bayes</a> (const vec &amp;dt)</td></tr>
[33]67
68<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Here dt = [yt;ut] of appropriate dimensions. <br></td></tr>
[255]69<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f559387dd38bd6002be490cc62987290"></a><!-- doxytag: member="EKFCh_cond::set_est" ref="f559387dd38bd6002be490cc62987290" args="(const vec &amp;mu0, const chmat &amp;P0)" -->
70void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1KalmanCh.html#f559387dd38bd6002be490cc62987290">set_est</a> (const vec &amp;mu0, const <a class="el" href="classchmat.html">chmat</a> &amp;P0)</td></tr>
[33]71
72<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set estimate values, used e.g. in initialization. <br></td></tr>
[255]73<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="93b5936ba397f13c05f52885c545f42d"></a><!-- doxytag: member="EKFCh_cond::_epdf" ref="93b5936ba397f13c05f52885c545f42d" args="() const " -->
74const epdf &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#93b5936ba397f13c05f52885c545f42d">_epdf</a> () const </td></tr>
[33]75
76<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
[255]77<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c34989b1e53c7d4ecdaea63a95ddbd77"></a><!-- doxytag: member="EKFCh_cond::_e" ref="c34989b1e53c7d4ecdaea63a95ddbd77" args="() const " -->
78const enorm&lt; <a class="el" href="classchmat.html">chmat</a> &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#c34989b1e53c7d4ecdaea63a95ddbd77">_e</a> () const </td></tr>
[210]79
[255]80<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a pointer to the epdf representing posterior density on parameters. Use with care! <br></td></tr>
81<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c788ec6e6c6f5f5861ae8a56d8ede277"></a><!-- doxytag: member="EKFCh_cond::__K" ref="c788ec6e6c6f5f5861ae8a56d8ede277" args="()" -->
82mat &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#c788ec6e6c6f5f5861ae8a56d8ede277">__K</a> ()</td></tr>
[79]83
84<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
[255]85<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a250d1dbe7bba861dba2a324520cfa48"></a><!-- doxytag: member="EKFCh_cond::_dP" ref="a250d1dbe7bba861dba2a324520cfa48" args="()" -->
86vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#a250d1dbe7bba861dba2a324520cfa48">_dP</a> ()</td></tr>
[79]87
88<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
[255]89<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1dee3fddaf021e62d925289660a707dc"></a><!-- doxytag: member="EKFCh_cond::bayesB" ref="1dee3fddaf021e62d925289660a707dc" args="(const mat &amp;Dt)" -->
90virtual 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>
[171]91
92<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Batch Bayes rule (columns of Dt are observations). <br></td></tr>
[255]93<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#50257e0c1e5b5c73153ea6e716ad8ae0">logpred</a> (const vec &amp;dt) const </td></tr>
[171]94
[255]95<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0e8ebe61fb14990abe1254bd3dda5fae"></a><!-- doxytag: member="EKFCh_cond::logpred_m" ref="0e8ebe61fb14990abe1254bd3dda5fae" args="(const mat &amp;dt) const " -->
96vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#0e8ebe61fb14990abe1254bd3dda5fae">logpred_m</a> (const mat &amp;dt) const </td></tr>
[180]97
98<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr>
[255]99<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="710e7d69c0d8791fb41a7cd4683cca2c"></a><!-- doxytag: member="EKFCh_cond::predictor" ref="710e7d69c0d8791fb41a7cd4683cca2c" args="(const RV &amp;rv) const " -->
100virtual epdf *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#710e7d69c0d8791fb41a7cd4683cca2c">predictor</a> (const RV &amp;<a class="el" href="classbdm_1_1BM.html#18d6db4af8ee42077741d9e3618153ca">rv</a>) const </td></tr>
[180]101
102<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr>
[255]103<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="40a3c891996391e3135518053a917793"></a><!-- doxytag: member="EKFCh_cond::_rv" ref="40a3c891996391e3135518053a917793" args="() const " -->
104const RV &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#40a3c891996391e3135518053a917793">_rv</a> () const </td></tr>
[33]105
106<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
[255]107<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5be65d37dedfe33a3671e7065f523a70"></a><!-- doxytag: member="EKFCh_cond::_ll" ref="5be65d37dedfe33a3671e7065f523a70" args="() const " -->
108double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#5be65d37dedfe33a3671e7065f523a70">_ll</a> () const </td></tr>
[33]109
110<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
[255]111<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="236b3abbcc93594fc97cd86d82c1a83f"></a><!-- doxytag: member="EKFCh_cond::set_evalll" ref="236b3abbcc93594fc97cd86d82c1a83f" args="(bool evl0)" -->
112void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#236b3abbcc93594fc97cd86d82c1a83f">set_evalll</a> (bool evl0)</td></tr>
[171]113
114<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
[255]115<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual BM *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#3efb3098172f1f67564a312fe732473e">_copy_</a> (bool changerv=false)</td></tr>
[171]116
[255]117<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7506910f93250b44fea505ec4ffb19dc"></a><!-- doxytag: member="EKFCh_cond::_rvc" ref="7506910f93250b44fea505ec4ffb19dc" args="() const " -->
118const RV &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BMcond.html#7506910f93250b44fea505ec4ffb19dc">_rvc</a> () const </td></tr>
[33]119
120<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
121<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
[255]122<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e1e895f994398a55bc425551fc275ba3"></a><!-- doxytag: member="EKFCh_cond::pfxu" ref="e1e895f994398a55bc425551fc275ba3" args="" -->
123diffbifn *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFCh.html#e1e895f994398a55bc425551fc275ba3">pfxu</a></td></tr>
[224]124
125<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal Model f(x,u). <br></td></tr>
[255]126<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6b34c69641826322467b704e8252f317"></a><!-- doxytag: member="EKFCh_cond::phxu" ref="6b34c69641826322467b704e8252f317" args="" -->
127diffbifn *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFCh.html#6b34c69641826322467b704e8252f317">phxu</a></td></tr>
[224]128
129<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Observation Model h(x,u). <br></td></tr>
[255]130<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="48611c8582706cfa62e832be0972e75d"></a><!-- doxytag: member="EKFCh_cond::preA" ref="48611c8582706cfa62e832be0972e75d" args="" -->
131mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1KalmanCh.html#48611c8582706cfa62e832be0972e75d">preA</a></td></tr>
[79]132
133<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">pre array (triangular matrix) <br></td></tr>
[255]134<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bcbd68f51d4b57246e7784ca5900171f"></a><!-- doxytag: member="EKFCh_cond::postA" ref="bcbd68f51d4b57246e7784ca5900171f" args="" -->
135mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1KalmanCh.html#bcbd68f51d4b57246e7784ca5900171f">postA</a></td></tr>
[79]136
137<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">post array (triangular matrix) <br></td></tr>
[255]138<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3fe475a1e920b20b63bb342c0e1571f7"></a><!-- doxytag: member="EKFCh_cond::rvy" ref="3fe475a1e920b20b63bb342c0e1571f7" args="" -->
139RV&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#3fe475a1e920b20b63bb342c0e1571f7">rvy</a></td></tr>
[33]140
141<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indetifier of output rv. <br></td></tr>
[255]142<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="149e27424fd1a7cc1c998ea088618a94"></a><!-- doxytag: member="EKFCh_cond::rvu" ref="149e27424fd1a7cc1c998ea088618a94" args="" -->
143RV&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#149e27424fd1a7cc1c998ea088618a94">rvu</a></td></tr>
[33]144
145<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indetifier of exogeneous rv. <br></td></tr>
[255]146<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ba7699cdb3b1382a54d3e28b9b7517fa"></a><!-- doxytag: member="EKFCh_cond::dimx" ref="ba7699cdb3b1382a54d3e28b9b7517fa" args="" -->
147int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#ba7699cdb3b1382a54d3e28b9b7517fa">dimx</a></td></tr>
[33]148
149<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache of rv.count() <br></td></tr>
[255]150<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d2c36ba01760bf207b985bf321b7817f"></a><!-- doxytag: member="EKFCh_cond::dimy" ref="d2c36ba01760bf207b985bf321b7817f" args="" -->
151int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#d2c36ba01760bf207b985bf321b7817f">dimy</a></td></tr>
[33]152
153<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache of rvy.count() <br></td></tr>
[255]154<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c5136ef617f6ac0e426bea222755d92b"></a><!-- doxytag: member="EKFCh_cond::dimu" ref="c5136ef617f6ac0e426bea222755d92b" args="" -->
155int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#c5136ef617f6ac0e426bea222755d92b">dimu</a></td></tr>
[33]156
157<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache of rvu.count() <br></td></tr>
[255]158<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0a2072e2090c10fac74ad30a023a4ace"></a><!-- doxytag: member="EKFCh_cond::A" ref="0a2072e2090c10fac74ad30a023a4ace" args="" -->
159mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#0a2072e2090c10fac74ad30a023a4ace">A</a></td></tr>
[33]160
161<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix A. <br></td></tr>
[255]162<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5977b2c81857948a35105f0e7840203c"></a><!-- doxytag: member="EKFCh_cond::B" ref="5977b2c81857948a35105f0e7840203c" args="" -->
163mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#5977b2c81857948a35105f0e7840203c">B</a></td></tr>
[33]164
165<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix B. <br></td></tr>
[255]166<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="818eba63a23972786a4579ad30294177"></a><!-- doxytag: member="EKFCh_cond::C" ref="818eba63a23972786a4579ad30294177" args="" -->
167mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#818eba63a23972786a4579ad30294177">C</a></td></tr>
[33]168
169<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix C. <br></td></tr>
[255]170<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7b56ac423d0654b5755e4f852a870456"></a><!-- doxytag: member="EKFCh_cond::D" ref="7b56ac423d0654b5755e4f852a870456" args="" -->
171mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#7b56ac423d0654b5755e4f852a870456">D</a></td></tr>
[33]172
173<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix D. <br></td></tr>
[255]174<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="70f8bf19e81b532c60fd3a7a152425ee"></a><!-- doxytag: member="EKFCh_cond::Q" ref="70f8bf19e81b532c60fd3a7a152425ee" args="" -->
175<a class="el" href="classchmat.html">chmat</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#70f8bf19e81b532c60fd3a7a152425ee">Q</a></td></tr>
[33]176
177<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix Q in square-root form. <br></td></tr>
[255]178<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="475b088287cdfbba4dc60a3d027728b7"></a><!-- doxytag: member="EKFCh_cond::R" ref="475b088287cdfbba4dc60a3d027728b7" args="" -->
179<a class="el" href="classchmat.html">chmat</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#475b088287cdfbba4dc60a3d027728b7">R</a></td></tr>
[33]180
181<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix R in square-root form. <br></td></tr>
[255]182<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="383f329ff18bbe219254c8b3b916f40d"></a><!-- doxytag: member="EKFCh_cond::est" ref="383f329ff18bbe219254c8b3b916f40d" args="" -->
183enorm&lt; <a class="el" href="classchmat.html">chmat</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#383f329ff18bbe219254c8b3b916f40d">est</a></td></tr>
[33]184
185<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">posterior density on $x_t$ <br></td></tr>
[255]186<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ba555c394c429f6831c9bbabfa2c944c"></a><!-- doxytag: member="EKFCh_cond::fy" ref="ba555c394c429f6831c9bbabfa2c944c" args="" -->
187enorm&lt; <a class="el" href="classchmat.html">chmat</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#ba555c394c429f6831c9bbabfa2c944c">fy</a></td></tr>
[33]188
189<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">preditive density on $y_t$ <br></td></tr>
[255]190<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bd69dfb802465f22dd84d73a180d5c92"></a><!-- doxytag: member="EKFCh_cond::_K" ref="bd69dfb802465f22dd84d73a180d5c92" args="" -->
191mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#bd69dfb802465f22dd84d73a180d5c92">_K</a></td></tr>
[33]192
[255]193<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">placeholder for Kalman gain <br></td></tr>
194<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c249d45258c8578b13858ad3e7b729b1"></a><!-- doxytag: member="EKFCh_cond::_yp" ref="c249d45258c8578b13858ad3e7b729b1" args="" -->
195vec &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#c249d45258c8578b13858ad3e7b729b1">_yp</a></td></tr>
[33]196
197<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache of fy.mu <br></td></tr>
[255]198<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2dd268f2d7fbe6382cb8825a1114192a"></a><!-- doxytag: member="EKFCh_cond::_Ry" ref="2dd268f2d7fbe6382cb8825a1114192a" args="" -->
199<a class="el" href="classchmat.html">chmat</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#2dd268f2d7fbe6382cb8825a1114192a">_Ry</a></td></tr>
[33]200
201<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache of fy.R <br></td></tr>
[255]202<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fa172078091e45561343fa513dd573b0"></a><!-- doxytag: member="EKFCh_cond::_mu" ref="fa172078091e45561343fa513dd573b0" args="" -->
203vec &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#fa172078091e45561343fa513dd573b0">_mu</a></td></tr>
[33]204
205<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache of est.mu <br></td></tr>
[255]206<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="00c27b0bf324f0018497921ca23c71ed"></a><!-- doxytag: member="EKFCh_cond::_P" ref="00c27b0bf324f0018497921ca23c71ed" args="" -->
207<a class="el" href="classchmat.html">chmat</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#00c27b0bf324f0018497921ca23c71ed">_P</a></td></tr>
[33]208
209<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache of est.R <br></td></tr>
[255]210<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="18d6db4af8ee42077741d9e3618153ca"></a><!-- doxytag: member="EKFCh_cond::rv" ref="18d6db4af8ee42077741d9e3618153ca" args="" -->
211RV&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#18d6db4af8ee42077741d9e3618153ca">rv</a></td></tr>
[33]212
213<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Random variable of the posterior. <br></td></tr>
[255]214<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4064b6559d962633e4372b12f4cd204a"></a><!-- doxytag: member="EKFCh_cond::ll" ref="4064b6559d962633e4372b12f4cd204a" args="" -->
215double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#4064b6559d962633e4372b12f4cd204a">ll</a></td></tr>
[33]216
217<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Logarithm of marginalized data likelihood. <br></td></tr>
[255]218<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="faff0ad12556fe7dc0e2807d4fd938ee"></a><!-- doxytag: member="EKFCh_cond::evalll" ref="faff0ad12556fe7dc0e2807d4fd938ee" args="" -->
219bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#faff0ad12556fe7dc0e2807d4fd938ee">evalll</a></td></tr>
[33]220
[171]221<tr><td class="mdescLeft">&nbsp;</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>
[255]222<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9a12750776d977408aada06a70093297"></a><!-- doxytag: member="EKFCh_cond::rvc" ref="9a12750776d977408aada06a70093297" args="" -->
223RV&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BMcond.html#9a12750776d977408aada06a70093297">rvc</a></td></tr>
[33]224
225<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Identificator of the conditioning variable. <br></td></tr>
226</table>
227<hr><a name="_details"></a><h2>Detailed Description</h2>
[255]228Extended Kalman filter with unknown <code>Q</code>. <hr><h2>Member Function Documentation</h2>
229<a class="anchor" name="50257e0c1e5b5c73153ea6e716ad8ae0"></a><!-- doxytag: member="EKFCh_cond::logpred" ref="50257e0c1e5b5c73153ea6e716ad8ae0" args="(const vec &amp;dt) const " -->
[171]230<div class="memitem">
231<div class="memproto">
232      <table class="memname">
233        <tr>
[255]234          <td class="memname">virtual double bdm::BM::logpred           </td>
[171]235          <td>(</td>
236          <td class="paramtype">const vec &amp;&nbsp;</td>
237          <td class="paramname"> <em>dt</em>          </td>
238          <td>&nbsp;)&nbsp;</td>
239          <td> const<code> [inline, virtual, inherited]</code></td>
240        </tr>
241      </table>
242</div>
243<div class="memdoc">
244
245<p>
246Evaluates predictive log-likelihood of the given data record I.e. marginal likelihood of the data with the posterior integrated out.
[255]247<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>
[171]248
[255]249<p>Referenced by <a class="el" href="libBM_8h-source.html#l00447">bdm::BM::logpred_m()</a>.</p>
[180]250
[171]251</div>
252</div><p>
[255]253<a class="anchor" name="3efb3098172f1f67564a312fe732473e"></a><!-- doxytag: member="EKFCh_cond::_copy_" ref="3efb3098172f1f67564a312fe732473e" args="(bool changerv=false)" -->
[171]254<div class="memitem">
255<div class="memproto">
256      <table class="memname">
257        <tr>
[255]258          <td class="memname">virtual BM* bdm::BM::_copy_           </td>
[171]259          <td>(</td>
260          <td class="paramtype">bool&nbsp;</td>
261          <td class="paramname"> <em>changerv</em> = <code>false</code>          </td>
262          <td>&nbsp;)&nbsp;</td>
263          <td><code> [inline, virtual, inherited]</code></td>
264        </tr>
265      </table>
266</div>
267<div class="memdoc">
268
269<p>
[255]270Copy function required in vectors, Arrays of <a class="el" href="classbdm_1_1BM.html" title="Bayesian Model of the world, 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 the world, i.e. all uncertainty is modeled by probabilities.">BM</a> Tmp*=new Tmp(this*); return Tmp; }
271<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>
[171]272
273</div>
274</div><p>
[255]275<hr>The documentation for this class was generated from the following file:<ul>
276<li>work/git/mixpp/pmsm/<a class="el" href="mpf__u__weight_8cpp.html">mpf_u_weight.cpp</a></ul>
[91]277</div>
[255]278<hr size="1"><address style="text-align: right;"><small>Generated on Tue Jan 27 16:30:17 2009 for mixpp by&nbsp;
[33]279<a href="http://www.doxygen.org/index.html">
[139]280<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
[33]281</body>
282</html>
Note: See TracBrowser for help on using the browser.