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::EKFCh_cond 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.8 --> |
---|
8 | <script type="text/javascript"> |
---|
9 | <!-- |
---|
10 | function 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 | } |
---|
22 | function 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 | } |
---|
46 | window.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 Page</span></a></li> |
---|
53 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
54 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
55 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
56 | <li><a href="files.html"><span>Files</span></a></li> |
---|
57 | </ul> |
---|
58 | </div> |
---|
59 | <div class="tabs"> |
---|
60 | <ul> |
---|
61 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
62 | <li><a href="classes.html"><span>Class Index</span></a></li> |
---|
63 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
64 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
65 | </ul> |
---|
66 | </div> |
---|
67 | <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1EKFCh__cond.html">EKFCh_cond</a> |
---|
68 | </div> |
---|
69 | </div> |
---|
70 | <div class="contents"> |
---|
71 | <h1>bdm::EKFCh_cond Class Reference</h1><!-- doxytag: class="bdm::EKFCh_cond" --><!-- doxytag: inherits="bdm::EKFCh" -->Extended <a class="el" href="classbdm_1_1Kalman.html" title="Kalman filter with covariance matrices in square root form.">Kalman</a> filter with unknown parameters in <code>IM</code>. |
---|
72 | <a href="#_details">More...</a> |
---|
73 | <p> |
---|
74 | <code>#include <<a class="el" href="ekf__templ_8h-source.html">ekf_templ.h</a>></code> |
---|
75 | <p> |
---|
76 | |
---|
77 | <p> |
---|
78 | <a href="classbdm_1_1EKFCh__cond-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
79 | <tr><td></td></tr> |
---|
80 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
81 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8c792fe284f4a26e6af9de251323fc52"></a><!-- doxytag: member="bdm::EKFCh_cond::condition" ref="8c792fe284f4a26e6af9de251323fc52" args="(const vec &val)" --> |
---|
82 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFCh__cond.html#8c792fe284f4a26e6af9de251323fc52">condition</a> (const vec &val)</td></tr> |
---|
83 | |
---|
84 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Substitute <code>val</code> for <code>rvc</code>. <br></td></tr> |
---|
85 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1d1d91400e3f177de9fe7962ea17adc4"></a><!-- doxytag: member="bdm::EKFCh_cond::_copy_" ref="1d1d91400e3f177de9fe7962ea17adc4" args="() const " --> |
---|
86 | <a class="el" href="classbdm_1_1BM.html">BM</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFCh.html#1d1d91400e3f177de9fe7962ea17adc4">_copy_</a> () const </td></tr> |
---|
87 | |
---|
88 | <tr><td class="mdescLeft"> </td><td class="mdescRight">copy constructor duplicated - calls different set_parameters <br></td></tr> |
---|
89 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="50f9fbffad721f35e5ccb75d0f6b842a"></a><!-- doxytag: member="bdm::EKFCh_cond::set_parameters" ref="50f9fbffad721f35e5ccb75d0f6b842a" args="(diffbifn *pfxu, diffbifn *phxu, const chmat Q0, const chmat R0)" --> |
---|
90 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFCh.html#50f9fbffad721f35e5ccb75d0f6b842a">set_parameters</a> (<a class="el" href="classbdm_1_1diffbifn.html">diffbifn</a> *<a class="el" href="classbdm_1_1EKFCh.html#e1e895f994398a55bc425551fc275ba3">pfxu</a>, <a class="el" href="classbdm_1_1diffbifn.html">diffbifn</a> *<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> |
---|
91 | |
---|
92 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set nonlinear functions for mean values and covariance matrices. <br></td></tr> |
---|
93 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="20a4d4c664e8ac8a3f1bb7b0d11c6d87"></a><!-- doxytag: member="bdm::EKFCh_cond::set_parameters" ref="20a4d4c664e8ac8a3f1bb7b0d11c6d87" args="(const mat &A0, const mat &B0, const mat &C0, const mat &D0, const chmat &Q0, const chmat &R0)" --> |
---|
94 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1KalmanCh.html#20a4d4c664e8ac8a3f1bb7b0d11c6d87">set_parameters</a> (const mat &A0, const mat &B0, const mat &C0, const mat &D0, const <a class="el" href="classchmat.html">chmat</a> &Q0, const <a class="el" href="classchmat.html">chmat</a> &R0)</td></tr> |
---|
95 | |
---|
96 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set parameters with check of relevance. <br></td></tr> |
---|
97 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4c8609c37290b158f88a31dae4047225"></a><!-- doxytag: member="bdm::EKFCh_cond::bayes" ref="4c8609c37290b158f88a31dae4047225" args="(const vec &dt)" --> |
---|
98 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFCh.html#4c8609c37290b158f88a31dae4047225">bayes</a> (const vec &dt)</td></tr> |
---|
99 | |
---|
100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Here dt = [yt;ut] of appropriate dimensions. <br></td></tr> |
---|
101 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0c2d3a9d57f23b998c53d7c12fa2a724"></a><!-- doxytag: member="bdm::EKFCh_cond::from_setting" ref="0c2d3a9d57f23b998c53d7c12fa2a724" args="(const Setting &root)" --> |
---|
102 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFCh.html#0c2d3a9d57f23b998c53d7c12fa2a724">from_setting</a> (const Setting &root)</td></tr> |
---|
103 | |
---|
104 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method arrange instance properties according the data stored in the Setting structure. <br></td></tr> |
---|
105 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6e169272657ed101f3d128b49c59b890"></a><!-- doxytag: member="bdm::EKFCh_cond::set_statistics" ref="6e169272657ed101f3d128b49c59b890" args="(const vec &mu0, const chmat &P0)" --> |
---|
106 | void </td><td class="memItemRight" valign="bottom"><b>set_statistics</b> (const vec &mu0, const <a class="el" href="classchmat.html">chmat</a> &P0)</td></tr> |
---|
107 | |
---|
108 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9264fc6b173ecb803d2684b883f32c68"></a><!-- doxytag: member="bdm::EKFCh_cond::set_est" ref="9264fc6b173ecb803d2684b883f32c68" args="(const vec &mu0, const chmat &P0)" --> |
---|
109 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#9264fc6b173ecb803d2684b883f32c68">set_est</a> (const vec &mu0, const <a class="el" href="classchmat.html">chmat</a> &P0)</td></tr> |
---|
110 | |
---|
111 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set estimate values, used e.g. in initialization. <br></td></tr> |
---|
112 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f75e487ff6c129d7012d702030f8c890"></a><!-- doxytag: member="bdm::EKFCh_cond::posterior" ref="f75e487ff6c129d7012d702030f8c890" args="() const" --> |
---|
113 | const <a class="el" href="classbdm_1_1epdf.html">epdf</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#f75e487ff6c129d7012d702030f8c890">posterior</a> () const</td></tr> |
---|
114 | |
---|
115 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
116 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c34989b1e53c7d4ecdaea63a95ddbd77"></a><!-- doxytag: member="bdm::EKFCh_cond::_e" ref="c34989b1e53c7d4ecdaea63a95ddbd77" args="() const" --> |
---|
117 | const <a class="el" href="classbdm_1_1enorm.html">enorm</a>< <a class="el" href="classchmat.html">chmat</a> > * </td><td class="memItemRight" valign="bottom"><b>_e</b> () const</td></tr> |
---|
118 | |
---|
119 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c788ec6e6c6f5f5861ae8a56d8ede277"></a><!-- doxytag: member="bdm::EKFCh_cond::__K" ref="c788ec6e6c6f5f5861ae8a56d8ede277" args="()" --> |
---|
120 | mat & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#c788ec6e6c6f5f5861ae8a56d8ede277">__K</a> ()</td></tr> |
---|
121 | |
---|
122 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
123 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a250d1dbe7bba861dba2a324520cfa48"></a><!-- doxytag: member="bdm::EKFCh_cond::_dP" ref="a250d1dbe7bba861dba2a324520cfa48" args="()" --> |
---|
124 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#a250d1dbe7bba861dba2a324520cfa48">_dP</a> ()</td></tr> |
---|
125 | |
---|
126 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
127 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e47a8bd9337478fa4e46d5a2a4336f9a"></a><!-- doxytag: member="bdm::EKFCh_cond::to_string" ref="e47a8bd9337478fa4e46d5a2a4336f9a" args="()" --> |
---|
128 | virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bdmroot.html#e47a8bd9337478fa4e46d5a2a4336f9a">to_string</a> ()</td></tr> |
---|
129 | |
---|
130 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr> |
---|
131 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dd74cb898b22b95b7ee528e040a07618"></a><!-- doxytag: member="bdm::EKFCh_cond::to_setting" ref="dd74cb898b22b95b7ee528e040a07618" args="(Setting &root) const " --> |
---|
132 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bdmroot.html#dd74cb898b22b95b7ee528e040a07618">to_setting</a> (Setting &root) const </td></tr> |
---|
133 | |
---|
134 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr> |
---|
135 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d8cc21ea15fc723065eed5f3100757a5"></a><!-- doxytag: member="bdm::EKFCh_cond::validate" ref="d8cc21ea15fc723065eed5f3100757a5" args="()" --> |
---|
136 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bdmroot.html#d8cc21ea15fc723065eed5f3100757a5">validate</a> ()</td></tr> |
---|
137 | |
---|
138 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br></td></tr> |
---|
139 | <tr><td colspan="2"><div class="groupHeader">Mathematical operations</div></td></tr> |
---|
140 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1dee3fddaf021e62d925289660a707dc"></a><!-- doxytag: member="bdm::EKFCh_cond::bayesB" ref="1dee3fddaf021e62d925289660a707dc" args="(const mat &Dt)" --> |
---|
141 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#1dee3fddaf021e62d925289660a707dc">bayesB</a> (const mat &Dt)</td></tr> |
---|
142 | |
---|
143 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Batch Bayes rule (columns of Dt are observations). <br></td></tr> |
---|
144 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#50257e0c1e5b5c73153ea6e716ad8ae0">logpred</a> (const vec &dt) const </td></tr> |
---|
145 | |
---|
146 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0e8ebe61fb14990abe1254bd3dda5fae"></a><!-- doxytag: member="bdm::EKFCh_cond::logpred_m" ref="0e8ebe61fb14990abe1254bd3dda5fae" args="(const mat &dt) const " --> |
---|
147 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#0e8ebe61fb14990abe1254bd3dda5fae">logpred_m</a> (const mat &dt) const </td></tr> |
---|
148 | |
---|
149 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> |
---|
150 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="688d7a2aced1e06aa1c468d73a9e5eba"></a><!-- doxytag: member="bdm::EKFCh_cond::epredictor" ref="688d7a2aced1e06aa1c468d73a9e5eba" args="() const " --> |
---|
151 | virtual <a class="el" href="classbdm_1_1epdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#688d7a2aced1e06aa1c468d73a9e5eba">epredictor</a> () const </td></tr> |
---|
152 | |
---|
153 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density <img class="formulaInl" alt="$ f(d_{t+1} |d_{t}, \ldots d_{0}) $" src="form_52.png">. <br></td></tr> |
---|
154 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="598b25e3f3d96a5bc00a5faeb5b3c912"></a><!-- doxytag: member="bdm::EKFCh_cond::predictor" ref="598b25e3f3d96a5bc00a5faeb5b3c912" args="() const " --> |
---|
155 | virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> |
---|
156 | |
---|
157 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor. <br></td></tr> |
---|
158 | <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> |
---|
159 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::EKFCh_cond::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> |
---|
160 | const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><b>_drv</b> () const </td></tr> |
---|
161 | |
---|
162 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f135ae6dce7e9f30c9f88229c7930b96"></a><!-- doxytag: member="bdm::EKFCh_cond::set_drv" ref="f135ae6dce7e9f30c9f88229c7930b96" args="(const RV &rv)" --> |
---|
163 | void </td><td class="memItemRight" valign="bottom"><b>set_drv</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv)</td></tr> |
---|
164 | |
---|
165 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b38d92f17620813ad872d86e01a26e5e"></a><!-- doxytag: member="bdm::EKFCh_cond::set_rv" ref="b38d92f17620813ad872d86e01a26e5e" args="(const RV &rv)" --> |
---|
166 | void </td><td class="memItemRight" valign="bottom"><b>set_rv</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv)</td></tr> |
---|
167 | |
---|
168 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5be65d37dedfe33a3671e7065f523a70"></a><!-- doxytag: member="bdm::EKFCh_cond::_ll" ref="5be65d37dedfe33a3671e7065f523a70" args="() const " --> |
---|
169 | double </td><td class="memItemRight" valign="bottom"><b>_ll</b> () const </td></tr> |
---|
170 | |
---|
171 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="236b3abbcc93594fc97cd86d82c1a83f"></a><!-- doxytag: member="bdm::EKFCh_cond::set_evalll" ref="236b3abbcc93594fc97cd86d82c1a83f" args="(bool evl0)" --> |
---|
172 | void </td><td class="memItemRight" valign="bottom"><b>set_evalll</b> (bool evl0)</td></tr> |
---|
173 | |
---|
174 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
175 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e1e895f994398a55bc425551fc275ba3"></a><!-- doxytag: member="bdm::EKFCh_cond::pfxu" ref="e1e895f994398a55bc425551fc275ba3" args="" --> |
---|
176 | <a class="el" href="classbdm_1_1diffbifn.html">diffbifn</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFCh.html#e1e895f994398a55bc425551fc275ba3">pfxu</a></td></tr> |
---|
177 | |
---|
178 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal Model f(x,u). <br></td></tr> |
---|
179 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6b34c69641826322467b704e8252f317"></a><!-- doxytag: member="bdm::EKFCh_cond::phxu" ref="6b34c69641826322467b704e8252f317" args="" --> |
---|
180 | <a class="el" href="classbdm_1_1diffbifn.html">diffbifn</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFCh.html#6b34c69641826322467b704e8252f317">phxu</a></td></tr> |
---|
181 | |
---|
182 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Observation Model h(x,u). <br></td></tr> |
---|
183 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="48611c8582706cfa62e832be0972e75d"></a><!-- doxytag: member="bdm::EKFCh_cond::preA" ref="48611c8582706cfa62e832be0972e75d" args="" --> |
---|
184 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1KalmanCh.html#48611c8582706cfa62e832be0972e75d">preA</a></td></tr> |
---|
185 | |
---|
186 | <tr><td class="mdescLeft"> </td><td class="mdescRight">pre array (triangular matrix) <br></td></tr> |
---|
187 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bcbd68f51d4b57246e7784ca5900171f"></a><!-- doxytag: member="bdm::EKFCh_cond::postA" ref="bcbd68f51d4b57246e7784ca5900171f" args="" --> |
---|
188 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1KalmanCh.html#bcbd68f51d4b57246e7784ca5900171f">postA</a></td></tr> |
---|
189 | |
---|
190 | <tr><td class="mdescLeft"> </td><td class="mdescRight">post array (triangular matrix) <br></td></tr> |
---|
191 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3fe475a1e920b20b63bb342c0e1571f7"></a><!-- doxytag: member="bdm::EKFCh_cond::rvy" ref="3fe475a1e920b20b63bb342c0e1571f7" args="" --> |
---|
192 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#3fe475a1e920b20b63bb342c0e1571f7">rvy</a></td></tr> |
---|
193 | |
---|
194 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Indetifier of output rv. <br></td></tr> |
---|
195 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="149e27424fd1a7cc1c998ea088618a94"></a><!-- doxytag: member="bdm::EKFCh_cond::rvu" ref="149e27424fd1a7cc1c998ea088618a94" args="" --> |
---|
196 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#149e27424fd1a7cc1c998ea088618a94">rvu</a></td></tr> |
---|
197 | |
---|
198 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Indetifier of exogeneous rv. <br></td></tr> |
---|
199 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ba7699cdb3b1382a54d3e28b9b7517fa"></a><!-- doxytag: member="bdm::EKFCh_cond::dimx" ref="ba7699cdb3b1382a54d3e28b9b7517fa" args="" --> |
---|
200 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#ba7699cdb3b1382a54d3e28b9b7517fa">dimx</a></td></tr> |
---|
201 | |
---|
202 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of rv.count() <br></td></tr> |
---|
203 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d2c36ba01760bf207b985bf321b7817f"></a><!-- doxytag: member="bdm::EKFCh_cond::dimy" ref="d2c36ba01760bf207b985bf321b7817f" args="" --> |
---|
204 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#d2c36ba01760bf207b985bf321b7817f">dimy</a></td></tr> |
---|
205 | |
---|
206 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of rvy.count() <br></td></tr> |
---|
207 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c5136ef617f6ac0e426bea222755d92b"></a><!-- doxytag: member="bdm::EKFCh_cond::dimu" ref="c5136ef617f6ac0e426bea222755d92b" args="" --> |
---|
208 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#c5136ef617f6ac0e426bea222755d92b">dimu</a></td></tr> |
---|
209 | |
---|
210 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of rvu.count() <br></td></tr> |
---|
211 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0a2072e2090c10fac74ad30a023a4ace"></a><!-- doxytag: member="bdm::EKFCh_cond::A" ref="0a2072e2090c10fac74ad30a023a4ace" args="" --> |
---|
212 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#0a2072e2090c10fac74ad30a023a4ace">A</a></td></tr> |
---|
213 | |
---|
214 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix A. <br></td></tr> |
---|
215 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5977b2c81857948a35105f0e7840203c"></a><!-- doxytag: member="bdm::EKFCh_cond::B" ref="5977b2c81857948a35105f0e7840203c" args="" --> |
---|
216 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#5977b2c81857948a35105f0e7840203c">B</a></td></tr> |
---|
217 | |
---|
218 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix B. <br></td></tr> |
---|
219 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="818eba63a23972786a4579ad30294177"></a><!-- doxytag: member="bdm::EKFCh_cond::C" ref="818eba63a23972786a4579ad30294177" args="" --> |
---|
220 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#818eba63a23972786a4579ad30294177">C</a></td></tr> |
---|
221 | |
---|
222 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix C. <br></td></tr> |
---|
223 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7b56ac423d0654b5755e4f852a870456"></a><!-- doxytag: member="bdm::EKFCh_cond::D" ref="7b56ac423d0654b5755e4f852a870456" args="" --> |
---|
224 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#7b56ac423d0654b5755e4f852a870456">D</a></td></tr> |
---|
225 | |
---|
226 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix D. <br></td></tr> |
---|
227 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="70f8bf19e81b532c60fd3a7a152425ee"></a><!-- doxytag: member="bdm::EKFCh_cond::Q" ref="70f8bf19e81b532c60fd3a7a152425ee" args="" --> |
---|
228 | <a class="el" href="classchmat.html">chmat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#70f8bf19e81b532c60fd3a7a152425ee">Q</a></td></tr> |
---|
229 | |
---|
230 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix Q in square-root form. <br></td></tr> |
---|
231 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="475b088287cdfbba4dc60a3d027728b7"></a><!-- doxytag: member="bdm::EKFCh_cond::R" ref="475b088287cdfbba4dc60a3d027728b7" args="" --> |
---|
232 | <a class="el" href="classchmat.html">chmat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#475b088287cdfbba4dc60a3d027728b7">R</a></td></tr> |
---|
233 | |
---|
234 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix R in square-root form. <br></td></tr> |
---|
235 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="383f329ff18bbe219254c8b3b916f40d"></a><!-- doxytag: member="bdm::EKFCh_cond::est" ref="383f329ff18bbe219254c8b3b916f40d" args="" --> |
---|
236 | <a class="el" href="classbdm_1_1enorm.html">enorm</a>< <a class="el" href="classchmat.html">chmat</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#383f329ff18bbe219254c8b3b916f40d">est</a></td></tr> |
---|
237 | |
---|
238 | <tr><td class="mdescLeft"> </td><td class="mdescRight">posterior density on $x_t$ <br></td></tr> |
---|
239 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ba555c394c429f6831c9bbabfa2c944c"></a><!-- doxytag: member="bdm::EKFCh_cond::fy" ref="ba555c394c429f6831c9bbabfa2c944c" args="" --> |
---|
240 | <a class="el" href="classbdm_1_1enorm.html">enorm</a>< <a class="el" href="classchmat.html">chmat</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#ba555c394c429f6831c9bbabfa2c944c">fy</a></td></tr> |
---|
241 | |
---|
242 | <tr><td class="mdescLeft"> </td><td class="mdescRight">preditive density on $y_t$ <br></td></tr> |
---|
243 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bd69dfb802465f22dd84d73a180d5c92"></a><!-- doxytag: member="bdm::EKFCh_cond::_K" ref="bd69dfb802465f22dd84d73a180d5c92" args="" --> |
---|
244 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#bd69dfb802465f22dd84d73a180d5c92">_K</a></td></tr> |
---|
245 | |
---|
246 | <tr><td class="mdescLeft"> </td><td class="mdescRight">placeholder for Kalman gain <br></td></tr> |
---|
247 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c249d45258c8578b13858ad3e7b729b1"></a><!-- doxytag: member="bdm::EKFCh_cond::_yp" ref="c249d45258c8578b13858ad3e7b729b1" args="" --> |
---|
248 | vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#c249d45258c8578b13858ad3e7b729b1">_yp</a></td></tr> |
---|
249 | |
---|
250 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of fy.mu <br></td></tr> |
---|
251 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2dd268f2d7fbe6382cb8825a1114192a"></a><!-- doxytag: member="bdm::EKFCh_cond::_Ry" ref="2dd268f2d7fbe6382cb8825a1114192a" args="" --> |
---|
252 | <a class="el" href="classchmat.html">chmat</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#2dd268f2d7fbe6382cb8825a1114192a">_Ry</a></td></tr> |
---|
253 | |
---|
254 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of fy.R <br></td></tr> |
---|
255 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fa172078091e45561343fa513dd573b0"></a><!-- doxytag: member="bdm::EKFCh_cond::_mu" ref="fa172078091e45561343fa513dd573b0" args="" --> |
---|
256 | vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#fa172078091e45561343fa513dd573b0">_mu</a></td></tr> |
---|
257 | |
---|
258 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of est.mu <br></td></tr> |
---|
259 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="00c27b0bf324f0018497921ca23c71ed"></a><!-- doxytag: member="bdm::EKFCh_cond::_P" ref="00c27b0bf324f0018497921ca23c71ed" args="" --> |
---|
260 | <a class="el" href="classchmat.html">chmat</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#00c27b0bf324f0018497921ca23c71ed">_P</a></td></tr> |
---|
261 | |
---|
262 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of est.R <br></td></tr> |
---|
263 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c400357e37d27a4834b2b1d9211009ed"></a><!-- doxytag: member="bdm::EKFCh_cond::drv" ref="c400357e37d27a4834b2b1d9211009ed" args="" --> |
---|
264 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#c400357e37d27a4834b2b1d9211009ed">drv</a></td></tr> |
---|
265 | |
---|
266 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Random variable of the data (optional). <br></td></tr> |
---|
267 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4064b6559d962633e4372b12f4cd204a"></a><!-- doxytag: member="bdm::EKFCh_cond::ll" ref="4064b6559d962633e4372b12f4cd204a" args="" --> |
---|
268 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#4064b6559d962633e4372b12f4cd204a">ll</a></td></tr> |
---|
269 | |
---|
270 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Logarithm of marginalized data likelihood. <br></td></tr> |
---|
271 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="faff0ad12556fe7dc0e2807d4fd938ee"></a><!-- doxytag: member="bdm::EKFCh_cond::evalll" ref="faff0ad12556fe7dc0e2807d4fd938ee" args="" --> |
---|
272 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#faff0ad12556fe7dc0e2807d4fd938ee">evalll</a></td></tr> |
---|
273 | |
---|
274 | <tr><td class="mdescLeft"> </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> |
---|
275 | <tr><td colspan="2"><br><h2>Extension to conditional BM</h2></td></tr> |
---|
276 | <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> |
---|
277 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b5e8e016be16e4029c789063cb3f3b33"></a><!-- doxytag: member="bdm::EKFCh_cond::_rvc" ref="b5e8e016be16e4029c789063cb3f3b33" args="() const " --> |
---|
278 | const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#b5e8e016be16e4029c789063cb3f3b33">_rvc</a> () const </td></tr> |
---|
279 | |
---|
280 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
281 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="de95c590d650b2db423d53992f0906cb"></a><!-- doxytag: member="bdm::EKFCh_cond::rvc" ref="de95c590d650b2db423d53992f0906cb" args="" --> |
---|
282 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#de95c590d650b2db423d53992f0906cb">rvc</a></td></tr> |
---|
283 | |
---|
284 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Name of extension variable. <br></td></tr> |
---|
285 | <tr><td colspan="2"><br><h2>Logging of results</h2></td></tr> |
---|
286 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="adb539fa2585c8a2a91c54e5aebf330e"></a><!-- doxytag: member="bdm::EKFCh_cond::set_options" ref="adb539fa2585c8a2a91c54e5aebf330e" args="(const string &opt)" --> |
---|
287 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#adb539fa2585c8a2a91c54e5aebf330e">set_options</a> (const string &opt)</td></tr> |
---|
288 | |
---|
289 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set boolean options from a string recognized are: "logbounds,logll". <br></td></tr> |
---|
290 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2298ca6af9b13a78a4c9e18ab43f1827"></a><!-- doxytag: member="bdm::EKFCh_cond::log_add" ref="2298ca6af9b13a78a4c9e18ab43f1827" args="(logger &L, const string &name="")" --> |
---|
291 | virtual void </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> &L, const string &name="")</td></tr> |
---|
292 | |
---|
293 | <tr><td class="mdescLeft"> </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> |
---|
294 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b517e1679eaa94e803ea4cd0b8efbcd7"></a><!-- doxytag: member="bdm::EKFCh_cond::logit" ref="b517e1679eaa94e803ea4cd0b8efbcd7" args="(logger &L)" --> |
---|
295 | virtual void </td><td class="memItemRight" valign="bottom"><b>logit</b> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L)</td></tr> |
---|
296 | |
---|
297 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="109c1a626a69031658e3a44e9e500cca"></a><!-- doxytag: member="bdm::EKFCh_cond::LIDs" ref="109c1a626a69031658e3a44e9e500cca" args="" --> |
---|
298 | ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#109c1a626a69031658e3a44e9e500cca">LIDs</a></td></tr> |
---|
299 | |
---|
300 | <tr><td class="mdescLeft"> </td><td class="mdescRight">IDs of storages in loggers 4:[1=mean,2=lb,3=ub,4=ll]. <br></td></tr> |
---|
301 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="398b7e7a162cf37d0022d6126495f207"></a><!-- doxytag: member="bdm::EKFCh_cond::LFlags" ref="398b7e7a162cf37d0022d6126495f207" args="" --> |
---|
302 | ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#398b7e7a162cf37d0022d6126495f207">LFlags</a></td></tr> |
---|
303 | |
---|
304 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Flags for logging - same size as LIDs, each entry correspond to the same in LIDs. <br></td></tr> |
---|
305 | </table> |
---|
306 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
307 | Extended <a class="el" href="classbdm_1_1Kalman.html" title="Kalman filter with covariance matrices in square root form.">Kalman</a> filter with unknown parameters in <code>IM</code>. <hr><h2>Member Function Documentation</h2> |
---|
308 | <a class="anchor" name="50257e0c1e5b5c73153ea6e716ad8ae0"></a><!-- doxytag: member="bdm::EKFCh_cond::logpred" ref="50257e0c1e5b5c73153ea6e716ad8ae0" args="(const vec &dt) const " --> |
---|
309 | <div class="memitem"> |
---|
310 | <div class="memproto"> |
---|
311 | <table class="memname"> |
---|
312 | <tr> |
---|
313 | <td class="memname">virtual double bdm::BM::logpred </td> |
---|
314 | <td>(</td> |
---|
315 | <td class="paramtype">const vec & </td> |
---|
316 | <td class="paramname"> <em>dt</em> </td> |
---|
317 | <td> ) </td> |
---|
318 | <td> const<code> [inline, virtual, inherited]</code></td> |
---|
319 | </tr> |
---|
320 | </table> |
---|
321 | </div> |
---|
322 | <div class="memdoc"> |
---|
323 | |
---|
324 | <p> |
---|
325 | Evaluates predictive log-likelihood of the given data record I.e. marginal likelihood of the data with the posterior integrated out. |
---|
326 | <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> |
---|
327 | |
---|
328 | <p>Referenced by <a class="el" href="libBM_8h-source.html#l00683">bdm::BM::logpred_m()</a>.</p> |
---|
329 | |
---|
330 | </div> |
---|
331 | </div><p> |
---|
332 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
333 | <li><a class="el" href="ekf__templ_8h-source.html">ekf_templ.h</a></ul> |
---|
334 | </div> |
---|
335 | <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:07 2009 for mixpp by |
---|
336 | <a href="http://www.doxygen.org/index.html"> |
---|
337 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
---|
338 | </body> |
---|
339 | </html> |
---|