root/library/doc/html/classbdm_1_1EKFful__unQR.html @ 652

Revision 651, 37.1 kB (checked in by mido, 15 years ago)

\doc directory cleaned a bit

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3<title>mixpp: bdm::EKFful_unQR Class Reference</title>
4<link href="tabs.css" rel="stylesheet" type="text/css">
5<link href="doxygen.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.9 -->
8<script type="text/javascript">
9<!--
10function changeDisplayState (e){
11  var num=this.id.replace(/[^[0-9]/g,'');
12  var button=this.firstChild;
13  var sectionDiv=document.getElementById('dynsection'+num);
14  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
15    sectionDiv.style.display='block';
16    button.src='open.gif';
17  }else{
18    sectionDiv.style.display='none';
19    button.src='closed.gif';
20  }
21}
22function initDynSections(){
23  var divs=document.getElementsByTagName('div');
24  var sectionCounter=1;
25  for(var i=0;i<divs.length-1;i++){
26    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
27      var header=divs[i];
28      var section=divs[i+1];
29      var button=header.firstChild;
30      if (button!='IMG'){
31        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
32        button=document.createElement('img');
33        divs[i].insertBefore(button,divs[i].firstChild);
34      }
35      header.style.cursor='pointer';
36      header.onclick=changeDisplayState;
37      header.id='dynheader'+sectionCounter;
38      button.src='closed.gif';
39      section.id='dynsection'+sectionCounter;
40      section.style.display='none';
41      section.style.marginLeft='14px';
42      sectionCounter++;
43    }
44  }
45}
46window.onload = initDynSections;
47-->
48</script>
49<div class="navigation" id="top">
50  <div class="tabs">
51    <ul>
52      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
53      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
54      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
55      <li><a href="files.html"><span>Files</span></a></li>
56    </ul>
57  </div>
58  <div class="tabs">
59    <ul>
60      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
61      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
62      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
63      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
64    </ul>
65  </div>
66  <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1EKFful__unQR.html">EKFful_unQR</a>
67  </div>
68</div>
69<div class="contents">
70<h1>bdm::EKFful_unQR Class Reference</h1><!-- doxytag: class="bdm::EKFful_unQR" --><!-- doxytag: inherits="bdm::EKFfull" -->Extended <a class="el" href="classbdm_1_1Kalman.html" title="Common abstract base for Kalman filters.">Kalman</a> filter with unknown <code>Q</code> and <code>R</code>
71<a href="#_details">More...</a>
72<p>
73<code>#include &lt;<a class="el" href="ekf__template_8h_source.html">ekf_template.h</a>&gt;</code>
74<p>
75
76<p>
77<a href="classbdm_1_1EKFful__unQR-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
78<tr><td></td></tr>
79<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
80<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="17a98c06f5efe38e0da0beb96d6f9584"></a><!-- doxytag: member="bdm::EKFful_unQR::condition" ref="17a98c06f5efe38e0da0beb96d6f9584" args="(const vec &amp;QR0)" -->
81void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFful__unQR.html#17a98c06f5efe38e0da0beb96d6f9584">condition</a> (const vec &amp;QR0)</td></tr>
82
83<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Substitute <code>val</code> for <code>rvc</code>. <br></td></tr>
84<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8a68f95124a4b01f9ce23225f3c736a4"></a><!-- doxytag: member="bdm::EKFful_unQR::set_parameters" ref="8a68f95124a4b01f9ce23225f3c736a4" args="(const shared_ptr&lt; diffbifn &gt; &amp;pfxu, const shared_ptr&lt; diffbifn &gt; &amp;phxu, const mat Q0, const mat R0)" -->
85void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFfull.html#8a68f95124a4b01f9ce23225f3c736a4">set_parameters</a> (const <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1diffbifn.html">diffbifn</a> &gt; &amp;<a class="el" href="classbdm_1_1EKFfull.html#ee5bfb3f09dfa994596c5bc68306f7d6">pfxu</a>, const <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1diffbifn.html">diffbifn</a> &gt; &amp;<a class="el" href="classbdm_1_1EKFfull.html#6432c675b1a9b83898b4ff19eab9b45c">phxu</a>, const mat Q0, const mat R0)</td></tr>
86
87<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set nonlinear functions for mean values and covariance matrices. <br></td></tr>
88<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7a053883a11a93a979c28c3e6792ce20"></a><!-- doxytag: member="bdm::EKFful_unQR::set_parameters" ref="7a053883a11a93a979c28c3e6792ce20" args="(const mat &amp;A0, const mat &amp;B0, const mat &amp;C0, const mat &amp;D0, const fsqmat &amp;Q0, const fsqmat &amp;R0)" -->
89void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (const mat &amp;A0, const mat &amp;B0, const mat &amp;C0, const mat &amp;D0, const <a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a> &amp;Q0, const <a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a> &amp;R0)</td></tr>
90
91<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f149ae8e9ce14d9931a7bb2850736699"></a><!-- doxytag: member="bdm::EKFful_unQR::bayes" ref="f149ae8e9ce14d9931a7bb2850736699" args="(const vec &amp;dt)" -->
92void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFfull.html#f149ae8e9ce14d9931a7bb2850736699">bayes</a> (const vec &amp;dt)</td></tr>
93
94<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Here dt = [yt;ut] of appropriate dimensions. <br></td></tr>
95<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="44986d667c19bcf7708495a4a5afc841"></a><!-- doxytag: member="bdm::EKFful_unQR::set_statistics" ref="44986d667c19bcf7708495a4a5afc841" args="(const vec &amp;mu0, const mat &amp;P0)" -->
96void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFfull.html#44986d667c19bcf7708495a4a5afc841">set_statistics</a> (const vec &amp;mu0, const mat &amp;P0)</td></tr>
97
98<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set estimates <br></td></tr>
99<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="28cded9e5f44f654cd383503e4e9694c"></a><!-- doxytag: member="bdm::EKFful_unQR::set_statistics" ref="28cded9e5f44f654cd383503e4e9694c" args="(const vec &amp;mu0, const fsqmat &amp;P0)" -->
100void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_statistics</b> (const vec &amp;mu0, const <a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a> &amp;P0)</td></tr>
101
102<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d4f57cb8af64b06c530f528c32596d4d"></a><!-- doxytag: member="bdm::EKFful_unQR::_R" ref="d4f57cb8af64b06c530f528c32596d4d" args="()" -->
103const mat&nbsp;</td><td class="memItemRight" valign="bottom"><b>_R</b> ()</td></tr>
104
105<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="69ddac45b7a4efbf83b2232d0d5595ba"></a><!-- doxytag: member="bdm::EKFful_unQR::_R" ref="69ddac45b7a4efbf83b2232d0d5595ba" args="() const" -->
106const <a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#69ddac45b7a4efbf83b2232d0d5595ba">_R</a> () const</td></tr>
107
108<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
109<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8b0c3db41eb292edb20b826832c9b5fa"></a><!-- doxytag: member="bdm::EKFful_unQR::posterior" ref="8b0c3db41eb292edb20b826832c9b5fa" args="() const" -->
110const <a class="el" href="classbdm_1_1enorm.html">enorm</a>&lt; <a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#8b0c3db41eb292edb20b826832c9b5fa">posterior</a> () const</td></tr>
111
112<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">posterior <br></td></tr>
113<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4da2fdd01e9b335b133def9814eb0620"></a><!-- doxytag: member="bdm::EKFful_unQR::shared_posterior" ref="4da2fdd01e9b335b133def9814eb0620" args="()" -->
114<a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1epdf.html">epdf</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#4da2fdd01e9b335b133def9814eb0620">shared_posterior</a> ()</td></tr>
115
116<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">shared posterior <br></td></tr>
117<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7fe88fc3471cab1911707bcdb6b4690a"></a><!-- doxytag: member="bdm::EKFful_unQR::from_setting" ref="7fe88fc3471cab1911707bcdb6b4690a" args="(const Setting &amp;set)" -->
118void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#7fe88fc3471cab1911707bcdb6b4690a">from_setting</a> (const Setting &amp;set)</td></tr>
119
120<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">load basic elements of Kalman from structure <br></td></tr>
121<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="34c508e3a9081be46e57634c2079bff4"></a><!-- doxytag: member="bdm::EKFful_unQR::validate" ref="34c508e3a9081be46e57634c2079bff4" args="()" -->
122void&nbsp;</td><td class="memItemRight" valign="bottom"><b>validate</b> ()</td></tr>
123
124<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::EKFful_unQR::to_string" ref="af0e6941ba5919cae1bc530e2181b109" args="()" -->
125virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#af0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr>
126
127<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr>
128<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::EKFful_unQR::to_setting" ref="67d954d255ede776eade7334d4895790" args="(Setting &amp;set) const " -->
129virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#67d954d255ede776eade7334d4895790">to_setting</a> (Setting &amp;set) const </td></tr>
130
131<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr>
132<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b1972e00d9b9dd22a0f983c7cb0b8b40"></a><!-- doxytag: member="bdm::EKFful_unQR::_dimx" ref="b1972e00d9b9dd22a0f983c7cb0b8b40" args="()" -->
133int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#b1972e00d9b9dd22a0f983c7cb0b8b40">_dimx</a> ()</td></tr>
134
135<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
136<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f3d83a4b39e05df9fb4246fd6ddc2a60"></a><!-- doxytag: member="bdm::EKFful_unQR::_dimy" ref="f3d83a4b39e05df9fb4246fd6ddc2a60" args="()" -->
137int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#f3d83a4b39e05df9fb4246fd6ddc2a60">_dimy</a> ()</td></tr>
138
139<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
140<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a238842025a0eaade26d5d79a0e9000e"></a><!-- doxytag: member="bdm::EKFful_unQR::_dimu" ref="a238842025a0eaade26d5d79a0e9000e" args="()" -->
141int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#a238842025a0eaade26d5d79a0e9000e">_dimu</a> ()</td></tr>
142
143<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
144<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ae0dd610bf28f52c4c7acec87e39ed5e"></a><!-- doxytag: member="bdm::EKFful_unQR::_A" ref="ae0dd610bf28f52c4c7acec87e39ed5e" args="() const" -->
145const mat &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#ae0dd610bf28f52c4c7acec87e39ed5e">_A</a> () const</td></tr>
146
147<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
148<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="19cabf296793357c130778fe74df54a4"></a><!-- doxytag: member="bdm::EKFful_unQR::_B" ref="19cabf296793357c130778fe74df54a4" args="() const" -->
149const mat &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#19cabf296793357c130778fe74df54a4">_B</a> () const</td></tr>
150
151<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
152<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5731f429df4a70dc0d0d1e6ea8e35125"></a><!-- doxytag: member="bdm::EKFful_unQR::_C" ref="5731f429df4a70dc0d0d1e6ea8e35125" args="() const" -->
153const mat &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#5731f429df4a70dc0d0d1e6ea8e35125">_C</a> () const</td></tr>
154
155<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
156<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="286286acb308f9ee596cab9af503b252"></a><!-- doxytag: member="bdm::EKFful_unQR::_D" ref="286286acb308f9ee596cab9af503b252" args="() const" -->
157const mat &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#286286acb308f9ee596cab9af503b252">_D</a> () const</td></tr>
158
159<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
160<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="38a71e31f22f5459d10c3cbee1e4d977"></a><!-- doxytag: member="bdm::EKFful_unQR::_Q" ref="38a71e31f22f5459d10c3cbee1e4d977" args="() const" -->
161const <a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#38a71e31f22f5459d10c3cbee1e4d977">_Q</a> () const</td></tr>
162
163<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
164<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
165<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#40f01563651c1e4fe926189e41a6b8ab">_copy_</a> () const </td></tr>
166
167<tr><td colspan="2"><div class="groupHeader">Mathematical operations</div></td></tr>
168<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1dee3fddaf021e62d925289660a707dc"></a><!-- doxytag: member="bdm::EKFful_unQR::bayesB" ref="1dee3fddaf021e62d925289660a707dc" args="(const mat &amp;Dt)" -->
169virtual 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>
170
171<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Batch Bayes rule (columns of Dt are observations). <br></td></tr>
172<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>
173
174<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0e8ebe61fb14990abe1254bd3dda5fae"></a><!-- doxytag: member="bdm::EKFful_unQR::logpred_m" ref="0e8ebe61fb14990abe1254bd3dda5fae" args="(const mat &amp;dt) const " -->
175vec&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>
176
177<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr>
178<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="688d7a2aced1e06aa1c468d73a9e5eba"></a><!-- doxytag: member="bdm::EKFful_unQR::epredictor" ref="688d7a2aced1e06aa1c468d73a9e5eba" args="() const " -->
179virtual <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>
180
181<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_20.png">. <br></td></tr>
182<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="598b25e3f3d96a5bc00a5faeb5b3c912"></a><!-- doxytag: member="bdm::EKFful_unQR::predictor" ref="598b25e3f3d96a5bc00a5faeb5b3c912" args="() const " -->
183virtual <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>
184
185<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs conditional density of 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_21.png">. <br></td></tr>
186<tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr>
187<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::EKFful_unQR::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " -->
188const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>_drv</b> () const </td></tr>
189
190<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f135ae6dce7e9f30c9f88229c7930b96"></a><!-- doxytag: member="bdm::EKFful_unQR::set_drv" ref="f135ae6dce7e9f30c9f88229c7930b96" args="(const RV &amp;rv)" -->
191void&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>
192
193<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b38d92f17620813ad872d86e01a26e5e"></a><!-- doxytag: member="bdm::EKFful_unQR::set_rv" ref="b38d92f17620813ad872d86e01a26e5e" args="(const RV &amp;rv)" -->
194void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_rv</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;rv)</td></tr>
195
196<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5be65d37dedfe33a3671e7065f523a70"></a><!-- doxytag: member="bdm::EKFful_unQR::_ll" ref="5be65d37dedfe33a3671e7065f523a70" args="() const " -->
197double&nbsp;</td><td class="memItemRight" valign="bottom"><b>_ll</b> () const </td></tr>
198
199<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="236b3abbcc93594fc97cd86d82c1a83f"></a><!-- doxytag: member="bdm::EKFful_unQR::set_evalll" ref="236b3abbcc93594fc97cd86d82c1a83f" args="(bool evl0)" -->
200void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_evalll</b> (bool evl0)</td></tr>
201
202<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
203<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ee5bfb3f09dfa994596c5bc68306f7d6"></a><!-- doxytag: member="bdm::EKFful_unQR::pfxu" ref="ee5bfb3f09dfa994596c5bc68306f7d6" args="" -->
204<a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1diffbifn.html">diffbifn</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFfull.html#ee5bfb3f09dfa994596c5bc68306f7d6">pfxu</a></td></tr>
205
206<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal Model f(x,u). <br></td></tr>
207<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6432c675b1a9b83898b4ff19eab9b45c"></a><!-- doxytag: member="bdm::EKFful_unQR::phxu" ref="6432c675b1a9b83898b4ff19eab9b45c" args="" -->
208<a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1diffbifn.html">diffbifn</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFfull.html#6432c675b1a9b83898b4ff19eab9b45c">phxu</a></td></tr>
209
210<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Observation Model h(x,u). <br></td></tr>
211<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aac28e226fe6cbff5a9ae38d8d025d7a"></a><!-- doxytag: member="bdm::EKFful_unQR::yrv" ref="aac28e226fe6cbff5a9ae38d8d025d7a" args="" -->
212<a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#aac28e226fe6cbff5a9ae38d8d025d7a">yrv</a></td></tr>
213
214<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">id of output <br></td></tr>
215<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="44d4a8ab05d5311286e1da78b831633e"></a><!-- doxytag: member="bdm::EKFful_unQR::urv" ref="44d4a8ab05d5311286e1da78b831633e" args="" -->
216<a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#44d4a8ab05d5311286e1da78b831633e">urv</a></td></tr>
217
218<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">id of input <br></td></tr>
219<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bd69dfb802465f22dd84d73a180d5c92"></a><!-- doxytag: member="bdm::EKFful_unQR::_K" ref="bd69dfb802465f22dd84d73a180d5c92" args="" -->
220mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#bd69dfb802465f22dd84d73a180d5c92">_K</a></td></tr>
221
222<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Kalman gain. <br></td></tr>
223<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c83599f2541eb01de329f7b0bb35bf43"></a><!-- doxytag: member="bdm::EKFful_unQR::est" ref="c83599f2541eb01de329f7b0bb35bf43" args="" -->
224<a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1enorm.html">enorm</a>&lt; <a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a> &gt; &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#c83599f2541eb01de329f7b0bb35bf43">est</a></td></tr>
225
226<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">posterior <br></td></tr>
227<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ba555c394c429f6831c9bbabfa2c944c"></a><!-- doxytag: member="bdm::EKFful_unQR::fy" ref="ba555c394c429f6831c9bbabfa2c944c" args="" -->
228<a class="el" href="classbdm_1_1enorm.html">enorm</a>&lt; <a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#ba555c394c429f6831c9bbabfa2c944c">fy</a></td></tr>
229
230<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">marginal on data f(y|y) <br></td></tr>
231<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c400357e37d27a4834b2b1d9211009ed"></a><!-- doxytag: member="bdm::EKFful_unQR::drv" ref="c400357e37d27a4834b2b1d9211009ed" args="" -->
232<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>
233
234<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Random variable of the data (optional). <br></td></tr>
235<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4064b6559d962633e4372b12f4cd204a"></a><!-- doxytag: member="bdm::EKFful_unQR::ll" ref="4064b6559d962633e4372b12f4cd204a" args="" -->
236double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#4064b6559d962633e4372b12f4cd204a">ll</a></td></tr>
237
238<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Logarithm of marginalized data likelihood. <br></td></tr>
239<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="faff0ad12556fe7dc0e2807d4fd938ee"></a><!-- doxytag: member="bdm::EKFful_unQR::evalll" ref="faff0ad12556fe7dc0e2807d4fd938ee" args="" -->
240bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#faff0ad12556fe7dc0e2807d4fd938ee">evalll</a></td></tr>
241
242<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>
243<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c3120f1c9cd7c3a0ba9944e4a2381f21"></a><!-- doxytag: member="bdm::EKFful_unQR::dimx" ref="c3120f1c9cd7c3a0ba9944e4a2381f21" args="" -->
244int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#c3120f1c9cd7c3a0ba9944e4a2381f21">dimx</a></td></tr>
245
246<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache of rv.count() <br></td></tr>
247<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3b784d85ca911866225a79193ae1441f"></a><!-- doxytag: member="bdm::EKFful_unQR::dimy" ref="3b784d85ca911866225a79193ae1441f" args="" -->
248int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#3b784d85ca911866225a79193ae1441f">dimy</a></td></tr>
249
250<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache of rvy.count() <br></td></tr>
251<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="95bb59ffbfd34c55d03d4d7a2a9b4faf"></a><!-- doxytag: member="bdm::EKFful_unQR::dimu" ref="95bb59ffbfd34c55d03d4d7a2a9b4faf" args="" -->
252int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#95bb59ffbfd34c55d03d4d7a2a9b4faf">dimu</a></td></tr>
253
254<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache of rvu.count() <br></td></tr>
255<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="de7d828a8d06cbbd5ac45afeaf9f0c7b"></a><!-- doxytag: member="bdm::EKFful_unQR::A" ref="de7d828a8d06cbbd5ac45afeaf9f0c7b" args="" -->
256mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#de7d828a8d06cbbd5ac45afeaf9f0c7b">A</a></td></tr>
257
258<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix A. <br></td></tr>
259<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0cdaa906550290b759a1584d02b3ca51"></a><!-- doxytag: member="bdm::EKFful_unQR::B" ref="0cdaa906550290b759a1584d02b3ca51" args="" -->
260mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#0cdaa906550290b759a1584d02b3ca51">B</a></td></tr>
261
262<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix B. <br></td></tr>
263<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c7ec82d2200c956cff6dff559bd32ff9"></a><!-- doxytag: member="bdm::EKFful_unQR::C" ref="c7ec82d2200c956cff6dff559bd32ff9" args="" -->
264mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#c7ec82d2200c956cff6dff559bd32ff9">C</a></td></tr>
265
266<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix C. <br></td></tr>
267<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d5769a41b34eb518716120cf04dbc23f"></a><!-- doxytag: member="bdm::EKFful_unQR::D" ref="d5769a41b34eb518716120cf04dbc23f" args="" -->
268mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#d5769a41b34eb518716120cf04dbc23f">D</a></td></tr>
269
270<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix D. <br></td></tr>
271<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="66248c83836424f1cd7c1b5b9a92cf1f"></a><!-- doxytag: member="bdm::EKFful_unQR::Q" ref="66248c83836424f1cd7c1b5b9a92cf1f" args="" -->
272<a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#66248c83836424f1cd7c1b5b9a92cf1f">Q</a></td></tr>
273
274<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix Q in square-root form. <br></td></tr>
275<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="11dd3493d62ec9329860386adb3e6084"></a><!-- doxytag: member="bdm::EKFful_unQR::R" ref="11dd3493d62ec9329860386adb3e6084" args="" -->
276<a class="el" href="classbdm_1_1fsqmat.html">fsqmat</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#11dd3493d62ec9329860386adb3e6084">R</a></td></tr>
277
278<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix R in square-root form. <br></td></tr>
279<tr><td colspan="2"><br><h2>Extension to conditional BM</h2></td></tr>
280<tr><td colspan="2">This extension is useful e.g. in Marginalized Particle Filter (<a class="el" href="classbdm_1_1MPF.html">bdm::MPF</a>). Alternatively, it can be used for automated connection to <a class="el" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data.">DS</a> when the condition is observed <br><br></td></tr>
281<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b5e8e016be16e4029c789063cb3f3b33"></a><!-- doxytag: member="bdm::EKFful_unQR::_rvc" ref="b5e8e016be16e4029c789063cb3f3b33" args="() const " -->
282const <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#b5e8e016be16e4029c789063cb3f3b33">_rvc</a> () const </td></tr>
283
284<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
285<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="de95c590d650b2db423d53992f0906cb"></a><!-- doxytag: member="bdm::EKFful_unQR::rvc" ref="de95c590d650b2db423d53992f0906cb" args="" -->
286<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#de95c590d650b2db423d53992f0906cb">rvc</a></td></tr>
287
288<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Name of extension variable. <br></td></tr>
289<tr><td colspan="2"><br><h2>Logging of results</h2></td></tr>
290<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="adb539fa2585c8a2a91c54e5aebf330e"></a><!-- doxytag: member="bdm::EKFful_unQR::set_options" ref="adb539fa2585c8a2a91c54e5aebf330e" args="(const string &amp;opt)" -->
291virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#adb539fa2585c8a2a91c54e5aebf330e">set_options</a> (const string &amp;opt)</td></tr>
292
293<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set boolean options from a string, recognized are: "logbounds,logll". <br></td></tr>
294<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2298ca6af9b13a78a4c9e18ab43f1827"></a><!-- doxytag: member="bdm::EKFful_unQR::log_add" ref="2298ca6af9b13a78a4c9e18ab43f1827" args="(logger &amp;L, const string &amp;name=&quot;&quot;)" -->
295virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#2298ca6af9b13a78a4c9e18ab43f1827">log_add</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &amp;L, const string &amp;name=&quot;&quot;)</td></tr>
296
297<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add all logged variables to a <a class="el" href="classbdm_1_1logger.html" title="Class for storing results (and semi-results) of an experiment.">logger</a>. <br></td></tr>
298<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b517e1679eaa94e803ea4cd0b8efbcd7"></a><!-- doxytag: member="bdm::EKFful_unQR::logit" ref="b517e1679eaa94e803ea4cd0b8efbcd7" args="(logger &amp;L)" -->
299virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>logit</b> (<a class="el" href="classbdm_1_1logger.html">logger</a> &amp;L)</td></tr>
300
301<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="109c1a626a69031658e3a44e9e500cca"></a><!-- doxytag: member="bdm::EKFful_unQR::LIDs" ref="109c1a626a69031658e3a44e9e500cca" args="" -->
302ivec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#109c1a626a69031658e3a44e9e500cca">LIDs</a></td></tr>
303
304<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">IDs of storages in loggers 4:[1=mean,2=lb,3=ub,4=ll]. <br></td></tr>
305<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="398b7e7a162cf37d0022d6126495f207"></a><!-- doxytag: member="bdm::EKFful_unQR::LFlags" ref="398b7e7a162cf37d0022d6126495f207" args="" -->
306ivec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#398b7e7a162cf37d0022d6126495f207">LFlags</a></td></tr>
307
308<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Flags for logging - same size as LIDs, each entry correspond to the same in LIDs. <br></td></tr>
309</table>
310<hr><a name="_details"></a><h2>Detailed Description</h2>
311Extended <a class="el" href="classbdm_1_1Kalman.html" title="Common abstract base for Kalman filters.">Kalman</a> filter with unknown <code>Q</code> and <code>R</code>. <hr><h2>Member Function Documentation</h2>
312<a class="anchor" name="40f01563651c1e4fe926189e41a6b8ab"></a><!-- doxytag: member="bdm::EKFful_unQR::_copy_" ref="40f01563651c1e4fe926189e41a6b8ab" args="() const " -->
313<div class="memitem">
314<div class="memproto">
315      <table class="memname">
316        <tr>
317          <td class="memname">virtual <a class="el" href="classbdm_1_1BM.html">BM</a>* bdm::BM::_copy_           </td>
318          <td>(</td>
319          <td class="paramname">          </td>
320          <td>&nbsp;)&nbsp;</td>
321          <td> const<code> [inline, virtual, inherited]</code></td>
322        </tr>
323      </table>
324</div>
325<div class="memdoc">
326
327<p>
328Copy 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#40f01563651c1e4fe926189e41a6b8ab">_copy_</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <span class="keyword">new</span> BM(*<span class="keyword">this</span>);}
329</pre></div> 
330<p>Reimplemented in <a class="el" href="classbdm_1_1ARX.html#ca0b54c0997cfd567f49377af5def106">bdm::ARX</a>, <a class="el" href="classbdm_1_1ARXfrg.html#420f3f195d231723f2f2329ec900de60">bdm::ARXfrg</a>, <a class="el" href="classbdm_1_1KalmanCh.html#24ce65bdaa538d4d5153d709a929b996">bdm::KalmanCh</a>, <a class="el" href="classbdm_1_1EKFCh.html#1d1d91400e3f177de9fe7962ea17adc4">bdm::EKFCh</a>, and <a class="el" href="classbdm_1_1BMEF.html#62d2e4691bed41a1efa6b9c2e35e5c67">bdm::BMEF</a>.</p>
331
332</div>
333</div><p>
334<a class="anchor" name="50257e0c1e5b5c73153ea6e716ad8ae0"></a><!-- doxytag: member="bdm::EKFful_unQR::logpred" ref="50257e0c1e5b5c73153ea6e716ad8ae0" args="(const vec &amp;dt) const " -->
335<div class="memitem">
336<div class="memproto">
337      <table class="memname">
338        <tr>
339          <td class="memname">virtual double bdm::BM::logpred           </td>
340          <td>(</td>
341          <td class="paramtype">const vec &amp;&nbsp;</td>
342          <td class="paramname"> <em>dt</em>          </td>
343          <td>&nbsp;)&nbsp;</td>
344          <td> const<code> [inline, virtual, inherited]</code></td>
345        </tr>
346      </table>
347</div>
348<div class="memdoc">
349
350<p>
351Evaluates predictive log-likelihood of the given data record I.e. marginal likelihood of the data with the posterior integrated out.
352<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>
353
354<p>References <a class="el" href="bdmerror_8h_source.html#l00051">bdm_error</a>.</p>
355
356<p>Referenced by <a class="el" href="bdmbase_8h_source.html#l01098">bdm::BM::logpred_m()</a>.</p>
357
358</div>
359</div><p>
360<hr>The documentation for this class was generated from the following file:<ul>
361<li><a class="el" href="ekf__template_8h_source.html">ekf_template.h</a></ul>
362</div>
363<hr size="1"><address style="text-align: right;"><small>Generated on Wed Oct 7 17:34:46 2009 for mixpp by&nbsp;
364<a href="http://www.doxygen.org/index.html">
365<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
366</body>
367</html>
Note: See TracBrowser for help on using the browser.