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: KFcondQR Class Reference</title> |
---|
4 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
5 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
6 | </head><body> |
---|
7 | <!-- Generated by Doxygen 1.5.6 --> |
---|
8 | <div class="navigation" id="top"> |
---|
9 | <div class="tabs"> |
---|
10 | <ul> |
---|
11 | <li><a href="index.html"><span>Main Page</span></a></li> |
---|
12 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
13 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
14 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
15 | <li><a href="files.html"><span>Files</span></a></li> |
---|
16 | </ul> |
---|
17 | </div> |
---|
18 | <div class="tabs"> |
---|
19 | <ul> |
---|
20 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
21 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
22 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
23 | </ul> |
---|
24 | </div> |
---|
25 | </div> |
---|
26 | <div class="contents"> |
---|
27 | <h1>KFcondQR Class Reference</h1><!-- doxytag: class="KFcondQR" --><!-- doxytag: inherits="Kalman< ldmat >,BMcond" --><a class="el" href="classKalman.html" title="Kalman filter with covariance matrices in square root form.">Kalman</a> Filter with conditional diagonal matrices R and Q. |
---|
28 | <a href="#_details">More...</a> |
---|
29 | <p> |
---|
30 | <code>#include <<a class="el" href="libKF_8h-source.html">libKF.h</a>></code> |
---|
31 | <p> |
---|
32 | <div class="dynheader"> |
---|
33 | Inheritance diagram for KFcondQR:</div> |
---|
34 | <div class="dynsection"> |
---|
35 | <p><center><img src="classKFcondQR__inherit__graph.png" border="0" usemap="#KFcondQR__inherit__map" alt="Inheritance graph"></center> |
---|
36 | <map name="KFcondQR__inherit__map"> |
---|
37 | <area shape="rect" href="classKalman.html" title="Kalman\< ldmat \>" alt="" coords="5,172,125,196"><area shape="rect" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="56,7,96,31"><area shape="rect" href="classKalman.html" title="Kalman filter with covariance matrices in square root form." alt="" coords="81,84,199,108"><area shape="rect" href="classBMcond.html" title="Conditional Bayesian Filter." alt="" coords="149,172,219,196"></map> |
---|
38 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
39 | <div class="dynheader"> |
---|
40 | Collaboration diagram for KFcondQR:</div> |
---|
41 | <div class="dynsection"> |
---|
42 | <p><center><img src="classKFcondQR__coll__graph.png" border="0" usemap="#KFcondQR__coll__map" alt="Collaboration graph"></center> |
---|
43 | <map name="KFcondQR__coll__map"> |
---|
44 | <area shape="rect" href="classKalman.html" title="Kalman\< ldmat \>" alt="" coords="308,609,444,636"><area shape="rect" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="419,215,459,241"><area shape="rect" href="classKalman.html" title="Kalman filter with covariance matrices in square root form." alt="" coords="289,361,417,388"><area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="420,7,457,33"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="260,103,308,129"><area shape="rect" href="classBMcond.html" title="Conditional Bayesian Filter." alt="" coords="525,159,597,185"><area shape="rect" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD)." alt="" coords="7,361,65,388"><area shape="rect" href="classenorm.html" title="enorm\< ldmat \>" alt="" coords="108,477,239,504"><area shape="rect" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form..." alt="" coords="5,215,67,241"><area shape="rect" href="classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="183,215,225,241"><area shape="rect" href="classenorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="143,361,265,388"></map> |
---|
45 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
46 | |
---|
47 | <p> |
---|
48 | <a href="classKFcondQR-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
49 | <tr><td></td></tr> |
---|
50 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
51 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3f3968f92c7bbe4b0902d5e14ecc1cb4"></a><!-- doxytag: member="KFcondQR::KFcondQR" ref="3f3968f92c7bbe4b0902d5e14ecc1cb4" args="(RV rvx, RV rvy, RV rvu, RV rvRQ)" --> |
---|
52 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFcondQR.html#3f3968f92c7bbe4b0902d5e14ecc1cb4">KFcondQR</a> (<a class="el" href="classRV.html">RV</a> rvx, <a class="el" href="classRV.html">RV</a> <a class="el" href="classKalman.html#7501230c2fafa3655887d2da23b3184c">rvy</a>, <a class="el" href="classRV.html">RV</a> <a class="el" href="classKalman.html#44a16ffd5ac1e6e39bae34fea9e1e498">rvu</a>, <a class="el" href="classRV.html">RV</a> rvRQ)</td></tr> |
---|
53 | |
---|
54 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> |
---|
55 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c9ecf292a85327aa6309c9fd70ceb606"></a><!-- doxytag: member="KFcondQR::condition" ref="c9ecf292a85327aa6309c9fd70ceb606" args="(const vec &RQ)" --> |
---|
56 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKFcondQR.html#c9ecf292a85327aa6309c9fd70ceb606">condition</a> (const vec &RQ)</td></tr> |
---|
57 | |
---|
58 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Substitute <code>val</code> for <code>rvc</code>. <br></td></tr> |
---|
59 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="239b28a0380946f5749b2f8d2807f93a"></a><!-- doxytag: member="KFcondQR::set_parameters" ref="239b28a0380946f5749b2f8d2807f93a" args="(const mat &A0, const mat &B0, const mat &C0, const mat &D0, const ldmat &R0, const ldmat &Q0)" --> |
---|
60 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#239b28a0380946f5749b2f8d2807f93a">set_parameters</a> (const mat &A0, const mat &B0, const mat &C0, const mat &D0, const <a class="el" href="classldmat.html">ldmat</a> &R0, const <a class="el" href="classldmat.html">ldmat</a> &Q0)</td></tr> |
---|
61 | |
---|
62 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set parameters with check of relevance. <br></td></tr> |
---|
63 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="80bcf29466d9a9dd2b8f74699807d0c0"></a><!-- doxytag: member="KFcondQR::set_est" ref="80bcf29466d9a9dd2b8f74699807d0c0" args="(const vec &mu0, const ldmat &P0)" --> |
---|
64 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#80bcf29466d9a9dd2b8f74699807d0c0">set_est</a> (const vec &mu0, const <a class="el" href="classldmat.html">ldmat</a> &P0)</td></tr> |
---|
65 | |
---|
66 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set estimate values, used e.g. in initialization. <br></td></tr> |
---|
67 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7750ffd73f261828a32c18aaeb65c75c"></a><!-- doxytag: member="KFcondQR::bayes" ref="7750ffd73f261828a32c18aaeb65c75c" args="(const vec &dt)" --> |
---|
68 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#7750ffd73f261828a32c18aaeb65c75c">bayes</a> (const vec &dt)</td></tr> |
---|
69 | |
---|
70 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Here dt = [yt;ut] of appropriate dimensions. <br></td></tr> |
---|
71 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67cccaf1c4dcdcd1df110e15ef326bfe"></a><!-- doxytag: member="KFcondQR::_epdf" ref="67cccaf1c4dcdcd1df110e15ef326bfe" args="() const " --> |
---|
72 | const <a class="el" href="classepdf.html">epdf</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#67cccaf1c4dcdcd1df110e15ef326bfe">_epdf</a> () const </td></tr> |
---|
73 | |
---|
74 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
75 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="11f82ef04e3dbc54bd1d3d89edb6aa07"></a><!-- doxytag: member="KFcondQR::_e" ref="11f82ef04e3dbc54bd1d3d89edb6aa07" args="() const " --> |
---|
76 | const <a class="el" href="classenorm.html">enorm</a>< <a class="el" href="classldmat.html">ldmat</a> > * </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#11f82ef04e3dbc54bd1d3d89edb6aa07">_e</a> () const </td></tr> |
---|
77 | |
---|
78 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a pointer to the <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> representing posterior density on parameters. Use with care! <br></td></tr> |
---|
79 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="980fcd41c6c548c5da7b8b67c8e6da79"></a><!-- doxytag: member="KFcondQR::__K" ref="980fcd41c6c548c5da7b8b67c8e6da79" args="()" --> |
---|
80 | mat & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#980fcd41c6c548c5da7b8b67c8e6da79">__K</a> ()</td></tr> |
---|
81 | |
---|
82 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
83 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ac9540f3850b74d89a5fe4db6fc358ce"></a><!-- doxytag: member="KFcondQR::_dP" ref="ac9540f3850b74d89a5fe4db6fc358ce" args="()" --> |
---|
84 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#ac9540f3850b74d89a5fe4db6fc358ce">_dP</a> ()</td></tr> |
---|
85 | |
---|
86 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
87 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0186270f75189677f390fe088a9947e9"></a><!-- doxytag: member="KFcondQR::bayesB" ref="0186270f75189677f390fe088a9947e9" args="(const mat &Dt)" --> |
---|
88 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#0186270f75189677f390fe088a9947e9">bayesB</a> (const mat &Dt)</td></tr> |
---|
89 | |
---|
90 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Batch Bayes rule (columns of Dt are observations). <br></td></tr> |
---|
91 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a> (const vec &dt) const </td></tr> |
---|
92 | |
---|
93 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd0660f2a1a344b56ac39802708ff165"></a><!-- doxytag: member="KFcondQR::logpred_m" ref="cd0660f2a1a344b56ac39802708ff165" args="(const mat &dt) const " --> |
---|
94 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &dt) const </td></tr> |
---|
95 | |
---|
96 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> |
---|
97 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5594d68ee9aa6fc8c1e79019da5c9d56"></a><!-- doxytag: member="KFcondQR::predictor" ref="5594d68ee9aa6fc8c1e79019da5c9d56" args="(const RV &rv) const " --> |
---|
98 | virtual <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#5594d68ee9aa6fc8c1e79019da5c9d56">predictor</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>) const </td></tr> |
---|
99 | |
---|
100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> |
---|
101 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="KFcondQR::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " --> |
---|
102 | const <a class="el" href="classRV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">_rv</a> () const </td></tr> |
---|
103 | |
---|
104 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
105 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="87f4a547d2c29180be88175e5eab9c88"></a><!-- doxytag: member="KFcondQR::_ll" ref="87f4a547d2c29180be88175e5eab9c88" args="() const " --> |
---|
106 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#87f4a547d2c29180be88175e5eab9c88">_ll</a> () const </td></tr> |
---|
107 | |
---|
108 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
109 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1ffa9f23669aabecc3760c06c6987522"></a><!-- doxytag: member="KFcondQR::set_evalll" ref="1ffa9f23669aabecc3760c06c6987522" args="(bool evl0)" --> |
---|
110 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#1ffa9f23669aabecc3760c06c6987522">set_evalll</a> (bool evl0)</td></tr> |
---|
111 | |
---|
112 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
113 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classBM.html">BM</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#eb58c81d6a7b75b05fc6f276eed78887">_copy_</a> (bool changerv=false)</td></tr> |
---|
114 | |
---|
115 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3fa60348b2da6b4208bb95b8d146900a"></a><!-- doxytag: member="KFcondQR::_rvc" ref="3fa60348b2da6b4208bb95b8d146900a" args="() const " --> |
---|
116 | const <a class="el" href="classRV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classBMcond.html#3fa60348b2da6b4208bb95b8d146900a">_rvc</a> () const </td></tr> |
---|
117 | |
---|
118 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
119 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
120 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7501230c2fafa3655887d2da23b3184c"></a><!-- doxytag: member="KFcondQR::rvy" ref="7501230c2fafa3655887d2da23b3184c" args="" --> |
---|
121 | <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#7501230c2fafa3655887d2da23b3184c">rvy</a></td></tr> |
---|
122 | |
---|
123 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Indetifier of output rv. <br></td></tr> |
---|
124 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="44a16ffd5ac1e6e39bae34fea9e1e498"></a><!-- doxytag: member="KFcondQR::rvu" ref="44a16ffd5ac1e6e39bae34fea9e1e498" args="" --> |
---|
125 | <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#44a16ffd5ac1e6e39bae34fea9e1e498">rvu</a></td></tr> |
---|
126 | |
---|
127 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Indetifier of exogeneous rv. <br></td></tr> |
---|
128 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="39c8c403b46fa3b8c7da77cb2e3729eb"></a><!-- doxytag: member="KFcondQR::dimx" ref="39c8c403b46fa3b8c7da77cb2e3729eb" args="" --> |
---|
129 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#39c8c403b46fa3b8c7da77cb2e3729eb">dimx</a></td></tr> |
---|
130 | |
---|
131 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of rv.count() <br></td></tr> |
---|
132 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ba17b956df1e38b31fbbc299c8213b6a"></a><!-- doxytag: member="KFcondQR::dimy" ref="ba17b956df1e38b31fbbc299c8213b6a" args="" --> |
---|
133 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#ba17b956df1e38b31fbbc299c8213b6a">dimy</a></td></tr> |
---|
134 | |
---|
135 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of rvy.count() <br></td></tr> |
---|
136 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b0153795a1444b6968a86409c778d9ce"></a><!-- doxytag: member="KFcondQR::dimu" ref="b0153795a1444b6968a86409c778d9ce" args="" --> |
---|
137 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#b0153795a1444b6968a86409c778d9ce">dimu</a></td></tr> |
---|
138 | |
---|
139 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of rvu.count() <br></td></tr> |
---|
140 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5e02efe86ee91e9c74b93b425fe060b9"></a><!-- doxytag: member="KFcondQR::A" ref="5e02efe86ee91e9c74b93b425fe060b9" args="" --> |
---|
141 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#5e02efe86ee91e9c74b93b425fe060b9">A</a></td></tr> |
---|
142 | |
---|
143 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix A. <br></td></tr> |
---|
144 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dc87704284a6c0bca13bf51f4345a50a"></a><!-- doxytag: member="KFcondQR::B" ref="dc87704284a6c0bca13bf51f4345a50a" args="" --> |
---|
145 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#dc87704284a6c0bca13bf51f4345a50a">B</a></td></tr> |
---|
146 | |
---|
147 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix B. <br></td></tr> |
---|
148 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="86a805cd6515872d1132ad0d6eb5dc13"></a><!-- doxytag: member="KFcondQR::C" ref="86a805cd6515872d1132ad0d6eb5dc13" args="" --> |
---|
149 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#86a805cd6515872d1132ad0d6eb5dc13">C</a></td></tr> |
---|
150 | |
---|
151 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix C. <br></td></tr> |
---|
152 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d69f774ba3335c970c1c5b1d182f4dd1"></a><!-- doxytag: member="KFcondQR::D" ref="d69f774ba3335c970c1c5b1d182f4dd1" args="" --> |
---|
153 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#d69f774ba3335c970c1c5b1d182f4dd1">D</a></td></tr> |
---|
154 | |
---|
155 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix D. <br></td></tr> |
---|
156 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9b69015c800eb93f3ee49da23a6f55d9"></a><!-- doxytag: member="KFcondQR::Q" ref="9b69015c800eb93f3ee49da23a6f55d9" args="" --> |
---|
157 | <a class="el" href="classldmat.html">ldmat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#9b69015c800eb93f3ee49da23a6f55d9">Q</a></td></tr> |
---|
158 | |
---|
159 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix Q in square-root form. <br></td></tr> |
---|
160 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="11d171dc0e0ab111c56a70f98b97b3ec"></a><!-- doxytag: member="KFcondQR::R" ref="11d171dc0e0ab111c56a70f98b97b3ec" args="" --> |
---|
161 | <a class="el" href="classldmat.html">ldmat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#11d171dc0e0ab111c56a70f98b97b3ec">R</a></td></tr> |
---|
162 | |
---|
163 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix R in square-root form. <br></td></tr> |
---|
164 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5568c74bac67ae6d3b1061dba60c9424"></a><!-- doxytag: member="KFcondQR::est" ref="5568c74bac67ae6d3b1061dba60c9424" args="" --> |
---|
165 | <a class="el" href="classenorm.html">enorm</a>< <a class="el" href="classldmat.html">ldmat</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#5568c74bac67ae6d3b1061dba60c9424">est</a></td></tr> |
---|
166 | |
---|
167 | <tr><td class="mdescLeft"> </td><td class="mdescRight">posterior density on $x_t$ <br></td></tr> |
---|
168 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e580ab06483952bd03f2e651763e184f"></a><!-- doxytag: member="KFcondQR::fy" ref="e580ab06483952bd03f2e651763e184f" args="" --> |
---|
169 | <a class="el" href="classenorm.html">enorm</a>< <a class="el" href="classldmat.html">ldmat</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#e580ab06483952bd03f2e651763e184f">fy</a></td></tr> |
---|
170 | |
---|
171 | <tr><td class="mdescLeft"> </td><td class="mdescRight">preditive density on $y_t$ <br></td></tr> |
---|
172 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d422f51467c7a06174af2476d2826132"></a><!-- doxytag: member="KFcondQR::_K" ref="d422f51467c7a06174af2476d2826132" args="" --> |
---|
173 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#d422f51467c7a06174af2476d2826132">_K</a></td></tr> |
---|
174 | |
---|
175 | <tr><td class="mdescLeft"> </td><td class="mdescRight">placeholder for <a class="el" href="classKalman.html" title="Kalman filter with covariance matrices in square root form.">Kalman</a> gain <br></td></tr> |
---|
176 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="764bbc95238eda11fc81c5ebd0b1dcfd"></a><!-- doxytag: member="KFcondQR::_yp" ref="764bbc95238eda11fc81c5ebd0b1dcfd" args="" --> |
---|
177 | vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#764bbc95238eda11fc81c5ebd0b1dcfd">_yp</a></td></tr> |
---|
178 | |
---|
179 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of fy.mu <br></td></tr> |
---|
180 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="45c9f928d2d62e0c884900fb3380f904"></a><!-- doxytag: member="KFcondQR::_Ry" ref="45c9f928d2d62e0c884900fb3380f904" args="" --> |
---|
181 | <a class="el" href="classldmat.html">ldmat</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#45c9f928d2d62e0c884900fb3380f904">_Ry</a></td></tr> |
---|
182 | |
---|
183 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of fy.R <br></td></tr> |
---|
184 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fe803a81d2d847b0b1db3c6b29c18061"></a><!-- doxytag: member="KFcondQR::_mu" ref="fe803a81d2d847b0b1db3c6b29c18061" args="" --> |
---|
185 | vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#fe803a81d2d847b0b1db3c6b29c18061">_mu</a></td></tr> |
---|
186 | |
---|
187 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of est.mu <br></td></tr> |
---|
188 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9fb808cc94a4c2652e1fb93be9bb7dcf"></a><!-- doxytag: member="KFcondQR::_P" ref="9fb808cc94a4c2652e1fb93be9bb7dcf" args="" --> |
---|
189 | <a class="el" href="classldmat.html">ldmat</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKalman.html#9fb808cc94a4c2652e1fb93be9bb7dcf">_P</a></td></tr> |
---|
190 | |
---|
191 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of est.R <br></td></tr> |
---|
192 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af00f0612fabe66241dd507188cdbf88"></a><!-- doxytag: member="KFcondQR::rv" ref="af00f0612fabe66241dd507188cdbf88" args="" --> |
---|
193 | <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a></td></tr> |
---|
194 | |
---|
195 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Random variable of the posterior. <br></td></tr> |
---|
196 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5623fef6572a08c2b53b8c87b82dc979"></a><!-- doxytag: member="KFcondQR::ll" ref="5623fef6572a08c2b53b8c87b82dc979" args="" --> |
---|
197 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td></tr> |
---|
198 | |
---|
199 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Logarithm of marginalized data likelihood. <br></td></tr> |
---|
200 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bf6fb59b30141074f8ee1e2f43d03129"></a><!-- doxytag: member="KFcondQR::evalll" ref="bf6fb59b30141074f8ee1e2f43d03129" args="" --> |
---|
201 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129">evalll</a></td></tr> |
---|
202 | |
---|
203 | <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> |
---|
204 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9ba793c8ec453f04d372d17195ed8dec"></a><!-- doxytag: member="KFcondQR::rvc" ref="9ba793c8ec453f04d372d17195ed8dec" args="" --> |
---|
205 | <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classBMcond.html#9ba793c8ec453f04d372d17195ed8dec">rvc</a></td></tr> |
---|
206 | |
---|
207 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Identificator of the conditioning variable. <br></td></tr> |
---|
208 | </table> |
---|
209 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
210 | <a class="el" href="classKalman.html" title="Kalman filter with covariance matrices in square root form.">Kalman</a> Filter with conditional diagonal matrices R and Q. <hr><h2>Member Function Documentation</h2> |
---|
211 | <a class="anchor" name="8a8ce6df431689964c41cc6c849cfd06"></a><!-- doxytag: member="KFcondQR::logpred" ref="8a8ce6df431689964c41cc6c849cfd06" args="(const vec &dt) const " --> |
---|
212 | <div class="memitem"> |
---|
213 | <div class="memproto"> |
---|
214 | <table class="memname"> |
---|
215 | <tr> |
---|
216 | <td class="memname">virtual double BM::logpred </td> |
---|
217 | <td>(</td> |
---|
218 | <td class="paramtype">const vec & </td> |
---|
219 | <td class="paramname"> <em>dt</em> </td> |
---|
220 | <td> ) </td> |
---|
221 | <td> const<code> [inline, virtual, inherited]</code></td> |
---|
222 | </tr> |
---|
223 | </table> |
---|
224 | </div> |
---|
225 | <div class="memdoc"> |
---|
226 | |
---|
227 | <p> |
---|
228 | Evaluates predictive log-likelihood of the given data record I.e. marginal likelihood of the data with the posterior integrated out. |
---|
229 | <p>Reimplemented in <a class="el" href="classARX.html#e7f9e7823aec9bf7ddc3b42d9b3304c4">ARX</a>, <a class="el" href="classMixEF.html#424ca64f36d4e41de7a7e7ae921d35ea">MixEF</a>, and <a class="el" href="classmultiBM.html#13e26a61757278981fd8cac9a7ef91eb">multiBM</a>.</p> |
---|
230 | |
---|
231 | <p>Referenced by <a class="el" href="libBM_8h-source.html#l00442">BM::logpred_m()</a>.</p> |
---|
232 | |
---|
233 | </div> |
---|
234 | </div><p> |
---|
235 | <a class="anchor" name="eb58c81d6a7b75b05fc6f276eed78887"></a><!-- doxytag: member="KFcondQR::_copy_" ref="eb58c81d6a7b75b05fc6f276eed78887" args="(bool changerv=false)" --> |
---|
236 | <div class="memitem"> |
---|
237 | <div class="memproto"> |
---|
238 | <table class="memname"> |
---|
239 | <tr> |
---|
240 | <td class="memname">virtual <a class="el" href="classBM.html">BM</a>* BM::_copy_ </td> |
---|
241 | <td>(</td> |
---|
242 | <td class="paramtype">bool </td> |
---|
243 | <td class="paramname"> <em>changerv</em> = <code>false</code> </td> |
---|
244 | <td> ) </td> |
---|
245 | <td><code> [inline, virtual, inherited]</code></td> |
---|
246 | </tr> |
---|
247 | </table> |
---|
248 | </div> |
---|
249 | <div class="memdoc"> |
---|
250 | |
---|
251 | <p> |
---|
252 | Copy function required in vectors, Arrays of <a class="el" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> etc. Have to be DELETED manually! Prototype: BM* <a class="el" href="classBM.html#eb58c81d6a7b75b05fc6f276eed78887">_copy_()</a>{<a class="el" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> Tmp*=new Tmp(this*); return Tmp; } |
---|
253 | <p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>, and <a class="el" href="classBMEF.html#97f5312efe4a5bedb86d2daec59d8651">BMEF</a>.</p> |
---|
254 | |
---|
255 | </div> |
---|
256 | </div><p> |
---|
257 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
258 | <li>work/git/mixpp/bdm/estim/<a class="el" href="libKF_8h-source.html">libKF.h</a><li>work/git/mixpp/bdm/estim/libKF.cpp</ul> |
---|
259 | </div> |
---|
260 | <hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 15 10:51:17 2009 for mixpp by |
---|
261 | <a href="http://www.doxygen.org/index.html"> |
---|
262 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> |
---|
263 | </body> |
---|
264 | </html> |
---|