root/doc/html/classEKF__unQ.html @ 255

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