root/library/doc/html/classbdm_1_1EKFCh__cond.html @ 616

Revision 616, 37.3 kB (checked in by smidl, 15 years ago)

doc, sorted related pages

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<title>mixpp: bdm::EKFCh_cond Class Reference</title>
6<link href="tabs.css" rel="stylesheet" type="text/css"/>
7<link href="doxygen.css" rel="stylesheet" type="text/css"/>
8</head>
9<body>
10<!-- Generated by Doxygen 1.6.1 -->
11<script type="text/javascript">
12<!--
13function changeDisplayState (e){
14  var num=this.id.replace(/[^[0-9]/g,'');
15  var button=this.firstChild;
16  var sectionDiv=document.getElementById('dynsection'+num);
17  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
18    sectionDiv.style.display='block';
19    button.src='open.gif';
20  }else{
21    sectionDiv.style.display='none';
22    button.src='closed.gif';
23  }
24}
25function initDynSections(){
26  var divs=document.getElementsByTagName('div');
27  var sectionCounter=1;
28  for(var i=0;i<divs.length-1;i++){
29    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
30      var header=divs[i];
31      var section=divs[i+1];
32      var button=header.firstChild;
33      if (button!='IMG'){
34        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
35        button=document.createElement('img');
36        divs[i].insertBefore(button,divs[i].firstChild);
37      }
38      header.style.cursor='pointer';
39      header.onclick=changeDisplayState;
40      header.id='dynheader'+sectionCounter;
41      button.src='closed.gif';
42      section.id='dynsection'+sectionCounter;
43      section.style.display='none';
44      section.style.marginLeft='14px';
45      sectionCounter++;
46    }
47  }
48}
49window.onload = initDynSections;
50-->
51</script>
52<div class="navigation" id="top">
53  <div class="tabs">
54    <ul>
55      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
56      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
57      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
58      <li><a href="files.html"><span>Files</span></a></li>
59    </ul>
60  </div>
61  <div class="tabs">
62    <ul>
63      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
64      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
65      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
66      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
67    </ul>
68  </div>
69  <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1EKFCh__cond.html">EKFCh_cond</a>
70  </div>
71</div>
72<div class="contents">
73<h1>bdm::EKFCh_cond Class Reference</h1><!-- doxytag: class="bdm::EKFCh_cond" --><!-- doxytag: inherits="bdm::EKFCh" -->
74<p>Extended <a class="el" href="classbdm_1_1Kalman.html" title="Common abstract base for Kalman filters.">Kalman</a> filter with unknown parameters in <code>IM</code>
75<a href="#_details">More...</a></p>
76<hr/><a name="_details"></a><h2>Detailed Description</h2>
77<p>Extended <a class="el" href="classbdm_1_1Kalman.html" title="Common abstract base for Kalman filters.">Kalman</a> filter with unknown parameters in <code>IM</code>. </p>
78
79<p><code>#include &lt;<a class="el" href="ekf__template_8h_source.html">ekf_template.h</a>&gt;</code></p>
80
81<p><a href="classbdm_1_1EKFCh__cond-members.html">List of all members.</a></p>
82<table border="0" cellpadding="0" cellspacing="0">
83<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
84<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8c792fe284f4a26e6af9de251323fc52"></a><!-- doxytag: member="bdm::EKFCh_cond::condition" ref="a8c792fe284f4a26e6af9de251323fc52" args="(const vec &amp;val)" -->
85void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFCh__cond.html#a8c792fe284f4a26e6af9de251323fc52">condition</a> (const vec &amp;val)</td></tr>
86<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Substitute <code>val</code> for <code>rvc</code>. <br/></td></tr>
87<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1d1d91400e3f177de9fe7962ea17adc4"></a><!-- doxytag: member="bdm::EKFCh_cond::_copy_" ref="a1d1d91400e3f177de9fe7962ea17adc4" args="() const " -->
88<a class="el" href="classbdm_1_1BM.html">BM</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFCh.html#a1d1d91400e3f177de9fe7962ea17adc4">_copy_</a> () const </td></tr>
89<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">copy constructor duplicated - calls different set_parameters <br/></td></tr>
90<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acd1697a0b3ac2e17c0c56a90a4dbfad1"></a><!-- doxytag: member="bdm::EKFCh_cond::set_parameters" ref="acd1697a0b3ac2e17c0c56a90a4dbfad1" args="(const shared_ptr&lt; diffbifn &gt; &amp;pfxu, const shared_ptr&lt; diffbifn &gt; &amp;phxu, const chmat Q0, const chmat R0)" -->
91void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFCh.html#acd1697a0b3ac2e17c0c56a90a4dbfad1">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_1EKFCh.html#a5dc1964a6058057c9e17ea3c2f33bd2a">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_1EKFCh.html#a27c29351b2cc8248c011af506208e8d1">phxu</a>, const <a class="el" href="classbdm_1_1chmat.html">chmat</a> Q0, const <a class="el" href="classbdm_1_1chmat.html">chmat</a> R0)</td></tr>
92<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set nonlinear functions for mean values and covariance matrices. <br/></td></tr>
93<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a20a4d4c664e8ac8a3f1bb7b0d11c6d87"></a><!-- doxytag: member="bdm::EKFCh_cond::set_parameters" ref="a20a4d4c664e8ac8a3f1bb7b0d11c6d87" args="(const mat &amp;A0, const mat &amp;B0, const mat &amp;C0, const mat &amp;D0, const chmat &amp;Q0, const chmat &amp;R0)" -->
94void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1KalmanCh.html#a20a4d4c664e8ac8a3f1bb7b0d11c6d87">set_parameters</a> (const mat &amp;A0, const mat &amp;B0, const mat &amp;C0, const mat &amp;D0, const <a class="el" href="classbdm_1_1chmat.html">chmat</a> &amp;Q0, const <a class="el" href="classbdm_1_1chmat.html">chmat</a> &amp;R0)</td></tr>
95<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set parameters for adapt from <a class="el" href="classbdm_1_1Kalman.html" title="Common abstract base for Kalman filters.">Kalman</a> <br/></td></tr>
96<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4c8609c37290b158f88a31dae4047225"></a><!-- doxytag: member="bdm::EKFCh_cond::bayes" ref="a4c8609c37290b158f88a31dae4047225" args="(const vec &amp;dt)" -->
97void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFCh.html#a4c8609c37290b158f88a31dae4047225">bayes</a> (const vec &amp;dt)</td></tr>
98<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Here dt = [yt;ut] of appropriate dimensions. <br/></td></tr>
99<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3952e181ef0cf230c325ad3be1f002df"></a><!-- doxytag: member="bdm::EKFCh_cond::from_setting" ref="a3952e181ef0cf230c325ad3be1f002df" args="(const Setting &amp;set)" -->
100void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFCh.html#a3952e181ef0cf230c325ad3be1f002df">from_setting</a> (const Setting &amp;set)</td></tr>
101<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">load basic elements of <a class="el" href="classbdm_1_1Kalman.html" title="Common abstract base for Kalman filters.">Kalman</a> from structure <br/></td></tr>
102<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac983b1a2687312ab733d4c859cf83c1e"></a><!-- doxytag: member="bdm::EKFCh_cond::initialize" ref="ac983b1a2687312ab733d4c859cf83c1e" args="()" -->
103void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1KalmanCh.html#ac983b1a2687312ab733d4c859cf83c1e">initialize</a> ()</td></tr>
104<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">initialize internal parametetrs <br/></td></tr>
105<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad9107617cd5482272ab046849cbfff49"></a><!-- doxytag: member="bdm::EKFCh_cond::set_statistics" ref="ad9107617cd5482272ab046849cbfff49" args="(const vec &amp;mu0, const mat &amp;P0)" -->
106void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_statistics</b> (const vec &amp;mu0, const mat &amp;P0)</td></tr>
107<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a28cded9e5f44f654cd383503e4e9694c"></a><!-- doxytag: member="bdm::EKFCh_cond::set_statistics" ref="a28cded9e5f44f654cd383503e4e9694c" args="(const vec &amp;mu0, const chmat &amp;P0)" -->
108void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_statistics</b> (const vec &amp;mu0, const <a class="el" href="classbdm_1_1chmat.html">chmat</a> &amp;P0)</td></tr>
109<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8b0c3db41eb292edb20b826832c9b5fa"></a><!-- doxytag: member="bdm::EKFCh_cond::posterior" ref="a8b0c3db41eb292edb20b826832c9b5fa" args="() const" -->
110const <a class="el" href="classbdm_1_1enorm.html">enorm</a>&lt; <a class="el" href="classbdm_1_1chmat.html">chmat</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#a8b0c3db41eb292edb20b826832c9b5fa">posterior</a> () const</td></tr>
111<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">posterior <br/></td></tr>
112<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4da2fdd01e9b335b133def9814eb0620"></a><!-- doxytag: member="bdm::EKFCh_cond::shared_posterior" ref="a4da2fdd01e9b335b133def9814eb0620" args="()" -->
113<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#a4da2fdd01e9b335b133def9814eb0620">shared_posterior</a> ()</td></tr>
114<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">shared posterior <br/></td></tr>
115<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a34c508e3a9081be46e57634c2079bff4"></a><!-- doxytag: member="bdm::EKFCh_cond::validate" ref="a34c508e3a9081be46e57634c2079bff4" args="()" -->
116void&nbsp;</td><td class="memItemRight" valign="bottom"><b>validate</b> ()</td></tr>
117<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::EKFCh_cond::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" -->
118virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr>
119<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns a basic info about the current instance. <br/></td></tr>
120<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::EKFCh_cond::to_setting" ref="a67d954d255ede776eade7334d4895790" args="(Setting &amp;set) const " -->
121virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a67d954d255ede776eade7334d4895790">to_setting</a> (Setting &amp;set) const </td></tr>
122<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br/></td></tr>
123<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab1972e00d9b9dd22a0f983c7cb0b8b40"></a><!-- doxytag: member="bdm::EKFCh_cond::_dimx" ref="ab1972e00d9b9dd22a0f983c7cb0b8b40" args="()" -->
124int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#ab1972e00d9b9dd22a0f983c7cb0b8b40">_dimx</a> ()</td></tr>
125<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br/></td></tr>
126<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af3d83a4b39e05df9fb4246fd6ddc2a60"></a><!-- doxytag: member="bdm::EKFCh_cond::_dimy" ref="af3d83a4b39e05df9fb4246fd6ddc2a60" args="()" -->
127int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#af3d83a4b39e05df9fb4246fd6ddc2a60">_dimy</a> ()</td></tr>
128<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br/></td></tr>
129<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa238842025a0eaade26d5d79a0e9000e"></a><!-- doxytag: member="bdm::EKFCh_cond::_dimu" ref="aa238842025a0eaade26d5d79a0e9000e" args="()" -->
130int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#aa238842025a0eaade26d5d79a0e9000e">_dimu</a> ()</td></tr>
131<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br/></td></tr>
132<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aae0dd610bf28f52c4c7acec87e39ed5e"></a><!-- doxytag: member="bdm::EKFCh_cond::_A" ref="aae0dd610bf28f52c4c7acec87e39ed5e" args="() const" -->
133const mat &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#aae0dd610bf28f52c4c7acec87e39ed5e">_A</a> () const</td></tr>
134<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br/></td></tr>
135<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a19cabf296793357c130778fe74df54a4"></a><!-- doxytag: member="bdm::EKFCh_cond::_B" ref="a19cabf296793357c130778fe74df54a4" args="() const" -->
136const mat &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#a19cabf296793357c130778fe74df54a4">_B</a> () const</td></tr>
137<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br/></td></tr>
138<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5731f429df4a70dc0d0d1e6ea8e35125"></a><!-- doxytag: member="bdm::EKFCh_cond::_C" ref="a5731f429df4a70dc0d0d1e6ea8e35125" args="() const" -->
139const mat &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#a5731f429df4a70dc0d0d1e6ea8e35125">_C</a> () const</td></tr>
140<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br/></td></tr>
141<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a286286acb308f9ee596cab9af503b252"></a><!-- doxytag: member="bdm::EKFCh_cond::_D" ref="a286286acb308f9ee596cab9af503b252" args="() const" -->
142const mat &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#a286286acb308f9ee596cab9af503b252">_D</a> () const</td></tr>
143<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br/></td></tr>
144<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a38a71e31f22f5459d10c3cbee1e4d977"></a><!-- doxytag: member="bdm::EKFCh_cond::_Q" ref="a38a71e31f22f5459d10c3cbee1e4d977" args="() const" -->
145const <a class="el" href="classbdm_1_1chmat.html">chmat</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#a38a71e31f22f5459d10c3cbee1e4d977">_Q</a> () const</td></tr>
146<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br/></td></tr>
147<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a69ddac45b7a4efbf83b2232d0d5595ba"></a><!-- doxytag: member="bdm::EKFCh_cond::_R" ref="a69ddac45b7a4efbf83b2232d0d5595ba" args="() const" -->
148const <a class="el" href="classbdm_1_1chmat.html">chmat</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#a69ddac45b7a4efbf83b2232d0d5595ba">_R</a> () const</td></tr>
149<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br/></td></tr>
150<tr><td colspan="2"><div class="groupHeader">Mathematical operations</div></td></tr>
151<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpfb3595af27ed8bd142c95323c0dab340"></a> </p>
152<br/><br/></div></td></tr>
153<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1dee3fddaf021e62d925289660a707dc"></a><!-- doxytag: member="bdm::EKFCh_cond::bayesB" ref="a1dee3fddaf021e62d925289660a707dc" args="(const mat &amp;Dt)" -->
154virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a1dee3fddaf021e62d925289660a707dc">bayesB</a> (const mat &amp;Dt)</td></tr>
155<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Batch Bayes rule (columns of Dt are observations). <br/></td></tr>
156<tr><td class="memItemLeft" align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a50257e0c1e5b5c73153ea6e716ad8ae0">logpred</a> (const vec &amp;dt) const </td></tr>
157<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e8ebe61fb14990abe1254bd3dda5fae"></a><!-- doxytag: member="bdm::EKFCh_cond::logpred_m" ref="a0e8ebe61fb14990abe1254bd3dda5fae" args="(const mat &amp;dt) const " -->
158vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a0e8ebe61fb14990abe1254bd3dda5fae">logpred_m</a> (const mat &amp;dt) const </td></tr>
159<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br/></td></tr>
160<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a688d7a2aced1e06aa1c468d73a9e5eba"></a><!-- doxytag: member="bdm::EKFCh_cond::epredictor" ref="a688d7a2aced1e06aa1c468d73a9e5eba" args="() const " -->
161virtual <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#a688d7a2aced1e06aa1c468d73a9e5eba">epredictor</a> () const </td></tr>
162<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>
163<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a598b25e3f3d96a5bc00a5faeb5b3c912"></a><!-- doxytag: member="bdm::EKFCh_cond::predictor" ref="a598b25e3f3d96a5bc00a5faeb5b3c912" args="() const " -->
164virtual <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#a598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr>
165<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>
166<tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr>
167<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpb6eb094f9e6af11f8a7d9efa9d8e3623"></a> </p>
168<br/><br/></div></td></tr>
169<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::EKFCh_cond::_drv" ref="aff2d8755ba0b3def927d31305c03b09c" args="() const " -->
170const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>_drv</b> () const </td></tr>
171<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af135ae6dce7e9f30c9f88229c7930b96"></a><!-- doxytag: member="bdm::EKFCh_cond::set_drv" ref="af135ae6dce7e9f30c9f88229c7930b96" args="(const RV &amp;rv)" -->
172void&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>
173<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab38d92f17620813ad872d86e01a26e5e"></a><!-- doxytag: member="bdm::EKFCh_cond::set_rv" ref="ab38d92f17620813ad872d86e01a26e5e" args="(const RV &amp;rv)" -->
174void&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>
175<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5be65d37dedfe33a3671e7065f523a70"></a><!-- doxytag: member="bdm::EKFCh_cond::_ll" ref="a5be65d37dedfe33a3671e7065f523a70" args="() const " -->
176double&nbsp;</td><td class="memItemRight" valign="bottom"><b>_ll</b> () const </td></tr>
177<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a236b3abbcc93594fc97cd86d82c1a83f"></a><!-- doxytag: member="bdm::EKFCh_cond::set_evalll" ref="a236b3abbcc93594fc97cd86d82c1a83f" args="(bool evl0)" -->
178void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_evalll</b> (bool evl0)</td></tr>
179<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
180<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5dc1964a6058057c9e17ea3c2f33bd2a"></a><!-- doxytag: member="bdm::EKFCh_cond::pfxu" ref="a5dc1964a6058057c9e17ea3c2f33bd2a" args="" -->
181<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_1EKFCh.html#a5dc1964a6058057c9e17ea3c2f33bd2a">pfxu</a></td></tr>
182<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal Model f(x,u). <br/></td></tr>
183<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a27c29351b2cc8248c011af506208e8d1"></a><!-- doxytag: member="bdm::EKFCh_cond::phxu" ref="a27c29351b2cc8248c011af506208e8d1" args="" -->
184<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_1EKFCh.html#a27c29351b2cc8248c011af506208e8d1">phxu</a></td></tr>
185<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Observation Model h(x,u). <br/></td></tr>
186<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaac28e226fe6cbff5a9ae38d8d025d7a"></a><!-- doxytag: member="bdm::EKFCh_cond::yrv" ref="aaac28e226fe6cbff5a9ae38d8d025d7a" args="" -->
187<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#aaac28e226fe6cbff5a9ae38d8d025d7a">yrv</a></td></tr>
188<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">id of output <br/></td></tr>
189<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a44d4a8ab05d5311286e1da78b831633e"></a><!-- doxytag: member="bdm::EKFCh_cond::urv" ref="a44d4a8ab05d5311286e1da78b831633e" args="" -->
190<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#a44d4a8ab05d5311286e1da78b831633e">urv</a></td></tr>
191<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">id of input <br/></td></tr>
192<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abd69dfb802465f22dd84d73a180d5c92"></a><!-- doxytag: member="bdm::EKFCh_cond::_K" ref="abd69dfb802465f22dd84d73a180d5c92" args="" -->
193mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#abd69dfb802465f22dd84d73a180d5c92">_K</a></td></tr>
194<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Kalman gain. <br/></td></tr>
195<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac83599f2541eb01de329f7b0bb35bf43"></a><!-- doxytag: member="bdm::EKFCh_cond::est" ref="ac83599f2541eb01de329f7b0bb35bf43" args="" -->
196<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_1chmat.html">chmat</a> &gt; &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#ac83599f2541eb01de329f7b0bb35bf43">est</a></td></tr>
197<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">posterior <br/></td></tr>
198<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aba555c394c429f6831c9bbabfa2c944c"></a><!-- doxytag: member="bdm::EKFCh_cond::fy" ref="aba555c394c429f6831c9bbabfa2c944c" args="" -->
199<a class="el" href="classbdm_1_1enorm.html">enorm</a>&lt; <a class="el" href="classbdm_1_1chmat.html">chmat</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#aba555c394c429f6831c9bbabfa2c944c">fy</a></td></tr>
200<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">marginal on data f(y|y) <br/></td></tr>
201<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac400357e37d27a4834b2b1d9211009ed"></a><!-- doxytag: member="bdm::EKFCh_cond::drv" ref="ac400357e37d27a4834b2b1d9211009ed" args="" -->
202<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#ac400357e37d27a4834b2b1d9211009ed">drv</a></td></tr>
203<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Random variable of the data (optional). <br/></td></tr>
204<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4064b6559d962633e4372b12f4cd204a"></a><!-- doxytag: member="bdm::EKFCh_cond::ll" ref="a4064b6559d962633e4372b12f4cd204a" args="" -->
205double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a4064b6559d962633e4372b12f4cd204a">ll</a></td></tr>
206<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Logarithm of marginalized data likelihood. <br/></td></tr>
207<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afaff0ad12556fe7dc0e2807d4fd938ee"></a><!-- doxytag: member="bdm::EKFCh_cond::evalll" ref="afaff0ad12556fe7dc0e2807d4fd938ee" args="" -->
208bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#afaff0ad12556fe7dc0e2807d4fd938ee">evalll</a></td></tr>
209<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>
210<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac3120f1c9cd7c3a0ba9944e4a2381f21"></a><!-- doxytag: member="bdm::EKFCh_cond::dimx" ref="ac3120f1c9cd7c3a0ba9944e4a2381f21" args="" -->
211int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#ac3120f1c9cd7c3a0ba9944e4a2381f21">dimx</a></td></tr>
212<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache of rv.count() <br/></td></tr>
213<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3b784d85ca911866225a79193ae1441f"></a><!-- doxytag: member="bdm::EKFCh_cond::dimy" ref="a3b784d85ca911866225a79193ae1441f" args="" -->
214int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#a3b784d85ca911866225a79193ae1441f">dimy</a></td></tr>
215<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache of rvy.count() <br/></td></tr>
216<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a95bb59ffbfd34c55d03d4d7a2a9b4faf"></a><!-- doxytag: member="bdm::EKFCh_cond::dimu" ref="a95bb59ffbfd34c55d03d4d7a2a9b4faf" args="" -->
217int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#a95bb59ffbfd34c55d03d4d7a2a9b4faf">dimu</a></td></tr>
218<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache of rvu.count() <br/></td></tr>
219<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ade7d828a8d06cbbd5ac45afeaf9f0c7b"></a><!-- doxytag: member="bdm::EKFCh_cond::A" ref="ade7d828a8d06cbbd5ac45afeaf9f0c7b" args="" -->
220mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#ade7d828a8d06cbbd5ac45afeaf9f0c7b">A</a></td></tr>
221<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix A. <br/></td></tr>
222<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0cdaa906550290b759a1584d02b3ca51"></a><!-- doxytag: member="bdm::EKFCh_cond::B" ref="a0cdaa906550290b759a1584d02b3ca51" args="" -->
223mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#a0cdaa906550290b759a1584d02b3ca51">B</a></td></tr>
224<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix B. <br/></td></tr>
225<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac7ec82d2200c956cff6dff559bd32ff9"></a><!-- doxytag: member="bdm::EKFCh_cond::C" ref="ac7ec82d2200c956cff6dff559bd32ff9" args="" -->
226mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#ac7ec82d2200c956cff6dff559bd32ff9">C</a></td></tr>
227<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix C. <br/></td></tr>
228<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad5769a41b34eb518716120cf04dbc23f"></a><!-- doxytag: member="bdm::EKFCh_cond::D" ref="ad5769a41b34eb518716120cf04dbc23f" args="" -->
229mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#ad5769a41b34eb518716120cf04dbc23f">D</a></td></tr>
230<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix D. <br/></td></tr>
231<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a66248c83836424f1cd7c1b5b9a92cf1f"></a><!-- doxytag: member="bdm::EKFCh_cond::Q" ref="a66248c83836424f1cd7c1b5b9a92cf1f" args="" -->
232<a class="el" href="classbdm_1_1chmat.html">chmat</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#a66248c83836424f1cd7c1b5b9a92cf1f">Q</a></td></tr>
233<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix Q in square-root form. <br/></td></tr>
234<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a11dd3493d62ec9329860386adb3e6084"></a><!-- doxytag: member="bdm::EKFCh_cond::R" ref="a11dd3493d62ec9329860386adb3e6084" args="" -->
235<a class="el" href="classbdm_1_1chmat.html">chmat</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1StateSpace.html#a11dd3493d62ec9329860386adb3e6084">R</a></td></tr>
236<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix R in square-root form. <br/></td></tr>
237<tr><td colspan="2"><div class="groupHeader">Internal storage - needs initialize()</div></td></tr>
238<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp8e7cc8660ce5a5290690101f4a487179"></a> pre array (triangular matrix) </p>
239<br/><br/></div></td></tr>
240<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a48611c8582706cfa62e832be0972e75d"></a><!-- doxytag: member="bdm::EKFCh_cond::preA" ref="a48611c8582706cfa62e832be0972e75d" args="" -->
241mat&nbsp;</td><td class="memItemRight" valign="bottom"><b>preA</b></td></tr>
242<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abcbd68f51d4b57246e7784ca5900171f"></a><!-- doxytag: member="bdm::EKFCh_cond::postA" ref="abcbd68f51d4b57246e7784ca5900171f" args="" -->
243mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1KalmanCh.html#abcbd68f51d4b57246e7784ca5900171f">postA</a></td></tr>
244<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">post array (triangular matrix) <br/></td></tr>
245<tr><td colspan="2"><h2>Extension to conditional BM</h2></td></tr>
246<tr><td colspan="2"><p><a class="anchor" id="amgrp74e1db869c28ea37aac65bd658ff5da4"></a> 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 </p>
247<br/><br/></td></tr>
248<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab5e8e016be16e4029c789063cb3f3b33"></a><!-- doxytag: member="bdm::EKFCh_cond::_rvc" ref="ab5e8e016be16e4029c789063cb3f3b33" args="() const " -->
249const <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#ab5e8e016be16e4029c789063cb3f3b33">_rvc</a> () const </td></tr>
250<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br/></td></tr>
251<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ade95c590d650b2db423d53992f0906cb"></a><!-- doxytag: member="bdm::EKFCh_cond::rvc" ref="ade95c590d650b2db423d53992f0906cb" args="" -->
252<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#ade95c590d650b2db423d53992f0906cb">rvc</a></td></tr>
253<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Name of extension variable. <br/></td></tr>
254<tr><td colspan="2"><h2>Logging of results</h2></td></tr>
255<tr><td colspan="2"><p><a class="anchor" id="amgrp5b751fa78120752d90ae4487df3bfa73"></a> </p>
256<br/><br/></td></tr>
257<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aadb539fa2585c8a2a91c54e5aebf330e"></a><!-- doxytag: member="bdm::EKFCh_cond::set_options" ref="aadb539fa2585c8a2a91c54e5aebf330e" args="(const string &amp;opt)" -->
258virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#aadb539fa2585c8a2a91c54e5aebf330e">set_options</a> (const string &amp;opt)</td></tr>
259<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set boolean options from a string, recognized are: "logbounds,logll". <br/></td></tr>
260<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2298ca6af9b13a78a4c9e18ab43f1827"></a><!-- doxytag: member="bdm::EKFCh_cond::log_add" ref="a2298ca6af9b13a78a4c9e18ab43f1827" args="(logger &amp;L, const string &amp;name=&quot;&quot;)" -->
261virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a2298ca6af9b13a78a4c9e18ab43f1827">log_add</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &amp;L, const string &amp;name=&quot;&quot;)</td></tr>
262<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>
263<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab517e1679eaa94e803ea4cd0b8efbcd7"></a><!-- doxytag: member="bdm::EKFCh_cond::logit" ref="ab517e1679eaa94e803ea4cd0b8efbcd7" args="(logger &amp;L)" -->
264virtual 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>
265<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a109c1a626a69031658e3a44e9e500cca"></a><!-- doxytag: member="bdm::EKFCh_cond::LIDs" ref="a109c1a626a69031658e3a44e9e500cca" args="" -->
266ivec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a109c1a626a69031658e3a44e9e500cca">LIDs</a></td></tr>
267<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>
268<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a398b7e7a162cf37d0022d6126495f207"></a><!-- doxytag: member="bdm::EKFCh_cond::LFlags" ref="a398b7e7a162cf37d0022d6126495f207" args="" -->
269ivec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a398b7e7a162cf37d0022d6126495f207">LFlags</a></td></tr>
270<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>
271</table>
272<hr/><h2>Member Function Documentation</h2>
273<a class="anchor" id="a50257e0c1e5b5c73153ea6e716ad8ae0"></a><!-- doxytag: member="bdm::EKFCh_cond::logpred" ref="a50257e0c1e5b5c73153ea6e716ad8ae0" args="(const vec &amp;dt) const " -->
274<div class="memitem">
275<div class="memproto">
276      <table class="memname">
277        <tr>
278          <td class="memname">virtual double bdm::BM::logpred </td>
279          <td>(</td>
280          <td class="paramtype">const vec &amp;&nbsp;</td>
281          <td class="paramname"> <em>dt</em></td>
282          <td>&nbsp;)&nbsp;</td>
283          <td> const<code> [inline, virtual, inherited]</code></td>
284        </tr>
285      </table>
286</div>
287<div class="memdoc">
288<p>Evaluates predictive log-likelihood of the given data record I.e. marginal likelihood of the data with the posterior integrated out. </p>
289
290<p>Reimplemented in <a class="el" href="classbdm_1_1ARX.html#a080a7e531e3aa06694112863b15bc6a4">bdm::ARX</a>, <a class="el" href="classbdm_1_1MixEF.html#ada724da464a75e07521941e430929efa">bdm::MixEF</a>, and <a class="el" href="classbdm_1_1multiBM.html#ae157b607c1e3fa91d42aeea44458e2bf">bdm::multiBM</a>.</p>
291
292<p>References <a class="el" href="bdmerror_8h_source.html#l00051">bdm_error</a>.</p>
293
294<p>Referenced by <a class="el" href="bdmbase_8h_source.html#l01093">bdm::BM::logpred_m()</a>.</p>
295
296</div>
297</div>
298<hr/>The documentation for this class was generated from the following file:<ul>
299<li><a class="el" href="ekf__template_8h_source.html">ekf_template.h</a></li>
300</ul>
301</div>
302<hr size="1"/><address style="text-align: right;"><small>Generated on Sun Sep 13 23:08:56 2009 for mixpp by&nbsp;
303<a href="http://www.doxygen.org/index.html">
304<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
305</body>
306</html>
Note: See TracBrowser for help on using the browser.