[259] | 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::KFcondR 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 class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1KFcondR.html">KFcondR</a> |
---|
| 26 | </div> |
---|
| 27 | </div> |
---|
| 28 | <div class="contents"> |
---|
| 29 | <h1>bdm::KFcondR Class Reference</h1><!-- doxytag: class="bdm::KFcondR" --><!-- doxytag: inherits="Kalman< ldmat >,bdm::BMcond" --><a class="el" href="classbdm_1_1Kalman.html" title="Kalman filter with covariance matrices in square root form.">Kalman</a> Filter with conditional diagonal matrices R and Q. |
---|
| 30 | <a href="#_details">More...</a> |
---|
| 31 | <p> |
---|
| 32 | <code>#include <<a class="el" href="libKF_8h-source.html">libKF.h</a>></code> |
---|
| 33 | <p> |
---|
| 34 | <div class="dynheader"> |
---|
| 35 | Inheritance diagram for bdm::KFcondR:</div> |
---|
| 36 | <div class="dynsection"> |
---|
| 37 | <p><center><img src="classbdm_1_1KFcondR__inherit__graph.png" border="0" usemap="#bdm_1_1KFcondR__inherit__map" alt="Inheritance graph"></center> |
---|
| 38 | <map name="bdm_1_1KFcondR__inherit__map"> |
---|
| 39 | <area shape="rect" href="classbdm_1_1Kalman.html" title="bdm::Kalman\< ldmat \>" alt="" coords="29,183,203,209"><area shape="rect" href="classbdm_1_1BM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="5,7,83,33"><area shape="rect" href="classbdm_1_1Kalman.html" title="Kalman filter with covariance matrices in square root form." alt="" coords="44,87,209,113"><area shape="rect" href="classbdm_1_1BMcond.html" title="Conditional Bayesian Filter." alt="" coords="227,183,336,209"><area shape="rect" href="classbdm_1_1base.html" title="Root class of BDM objects." alt="" coords="237,87,325,113"></map> |
---|
| 40 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
| 41 | <div class="dynheader"> |
---|
| 42 | Collaboration diagram for bdm::KFcondR:</div> |
---|
| 43 | <div class="dynsection"> |
---|
| 44 | <p><center><img src="classbdm_1_1KFcondR__coll__graph.png" border="0" usemap="#bdm_1_1KFcondR__coll__map" alt="Collaboration graph"></center> |
---|
| 45 | <map name="bdm_1_1KFcondR__coll__map"> |
---|
| 46 | <area shape="rect" href="classbdm_1_1Kalman.html" title="bdm::Kalman\< ldmat \>" alt="" coords="379,689,552,716"><area shape="rect" href="classbdm_1_1BM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="465,295,543,321"><area shape="rect" href="classbdm_1_1Kalman.html" title="Kalman filter with covariance matrices in square root form." alt="" coords="327,441,492,468"><area shape="rect" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables." alt="" coords="467,87,541,113"><area shape="rect" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="305,183,391,209"><area shape="rect" href="classbdm_1_1BMcond.html" title="Conditional Bayesian Filter." alt="" coords="604,183,713,209"><area shape="rect" href="classbdm_1_1base.html" title="Root class of BDM objects." alt="" coords="460,7,548,33"><area shape="rect" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD)." alt="" coords="7,441,65,468"><area shape="rect" href="classbdm_1_1enorm.html" title="bdm::enorm\< ldmat \>" alt="" coords="93,557,261,584"><area shape="rect" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form..." alt="" coords="5,295,67,321"><area shape="rect" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density." alt="" coords="183,295,263,321"><area shape="rect" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="143,441,303,468"></map> |
---|
| 47 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
| 48 | |
---|
| 49 | <p> |
---|
| 50 | <a href="classbdm_1_1KFcondR-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
| 51 | <tr><td></td></tr> |
---|
| 52 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
| 53 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="51acbd4a89f63708f3c47601083906c1"></a><!-- doxytag: member="bdm::KFcondR::KFcondR" ref="51acbd4a89f63708f3c47601083906c1" args="(RV rvx, RV rvy, RV rvu, RV rvR)" --> |
---|
| 54 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1KFcondR.html#51acbd4a89f63708f3c47601083906c1">KFcondR</a> (<a class="el" href="classbdm_1_1RV.html">RV</a> rvx, <a class="el" href="classbdm_1_1RV.html">RV</a> <a class="el" href="classbdm_1_1Kalman.html#3fe475a1e920b20b63bb342c0e1571f7">rvy</a>, <a class="el" href="classbdm_1_1RV.html">RV</a> <a class="el" href="classbdm_1_1Kalman.html#149e27424fd1a7cc1c998ea088618a94">rvu</a>, <a class="el" href="classbdm_1_1RV.html">RV</a> rvR)</td></tr> |
---|
| 55 | |
---|
| 56 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> |
---|
| 57 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6086f02541f8f3bc8351990abf5cd538"></a><!-- doxytag: member="bdm::KFcondR::condition" ref="6086f02541f8f3bc8351990abf5cd538" args="(const vec &R)" --> |
---|
| 58 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1KFcondR.html#6086f02541f8f3bc8351990abf5cd538">condition</a> (const vec &<a class="el" href="classbdm_1_1Kalman.html#475b088287cdfbba4dc60a3d027728b7">R</a>)</td></tr> |
---|
| 59 | |
---|
| 60 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Substitute <code>val</code> for <code>rvc</code>. <br></td></tr> |
---|
| 61 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="94eb8cc31731210089db0ba4e1a08a6c"></a><!-- doxytag: member="bdm::KFcondR::set_parameters" ref="94eb8cc31731210089db0ba4e1a08a6c" args="(const mat &A0, const mat &B0, const mat &C0, const mat &D0, const ldmat &R0, const ldmat &Q0)" --> |
---|
| 62 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#94eb8cc31731210089db0ba4e1a08a6c">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> |
---|
| 63 | |
---|
| 64 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set parameters with check of relevance. <br></td></tr> |
---|
| 65 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9264fc6b173ecb803d2684b883f32c68"></a><!-- doxytag: member="bdm::KFcondR::set_est" ref="9264fc6b173ecb803d2684b883f32c68" args="(const vec &mu0, const ldmat &P0)" --> |
---|
| 66 | 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="classldmat.html">ldmat</a> &P0)</td></tr> |
---|
| 67 | |
---|
| 68 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set estimate values, used e.g. in initialization. <br></td></tr> |
---|
| 69 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4a39330c14eff8d13179e868a1d1aa8c"></a><!-- doxytag: member="bdm::KFcondR::bayes" ref="4a39330c14eff8d13179e868a1d1aa8c" args="(const vec &dt)" --> |
---|
| 70 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#4a39330c14eff8d13179e868a1d1aa8c">bayes</a> (const vec &dt)</td></tr> |
---|
| 71 | |
---|
| 72 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Here dt = [yt;ut] of appropriate dimensions. <br></td></tr> |
---|
| 73 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="93b5936ba397f13c05f52885c545f42d"></a><!-- doxytag: member="bdm::KFcondR::_epdf" ref="93b5936ba397f13c05f52885c545f42d" args="() const " --> |
---|
| 74 | 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#93b5936ba397f13c05f52885c545f42d">_epdf</a> () const </td></tr> |
---|
| 75 | |
---|
| 76 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
| 77 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c34989b1e53c7d4ecdaea63a95ddbd77"></a><!-- doxytag: member="bdm::KFcondR::_e" ref="c34989b1e53c7d4ecdaea63a95ddbd77" args="() const " --> |
---|
| 78 | const <a class="el" href="classbdm_1_1enorm.html">enorm</a>< <a class="el" href="classldmat.html">ldmat</a> > * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#c34989b1e53c7d4ecdaea63a95ddbd77">_e</a> () const </td></tr> |
---|
| 79 | |
---|
| 80 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a pointer to the epdf representing posterior density on parameters. Use with care! <br></td></tr> |
---|
| 81 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c788ec6e6c6f5f5861ae8a56d8ede277"></a><!-- doxytag: member="bdm::KFcondR::__K" ref="c788ec6e6c6f5f5861ae8a56d8ede277" args="()" --> |
---|
| 82 | mat & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#c788ec6e6c6f5f5861ae8a56d8ede277">__K</a> ()</td></tr> |
---|
| 83 | |
---|
| 84 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
| 85 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a250d1dbe7bba861dba2a324520cfa48"></a><!-- doxytag: member="bdm::KFcondR::_dP" ref="a250d1dbe7bba861dba2a324520cfa48" args="()" --> |
---|
| 86 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#a250d1dbe7bba861dba2a324520cfa48">_dP</a> ()</td></tr> |
---|
| 87 | |
---|
| 88 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
| 89 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1dee3fddaf021e62d925289660a707dc"></a><!-- doxytag: member="bdm::KFcondR::bayesB" ref="1dee3fddaf021e62d925289660a707dc" args="(const mat &Dt)" --> |
---|
| 90 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#1dee3fddaf021e62d925289660a707dc">bayesB</a> (const mat &Dt)</td></tr> |
---|
| 91 | |
---|
| 92 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Batch Bayes rule (columns of Dt are observations). <br></td></tr> |
---|
| 93 | <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> |
---|
| 94 | |
---|
| 95 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0e8ebe61fb14990abe1254bd3dda5fae"></a><!-- doxytag: member="bdm::KFcondR::logpred_m" ref="0e8ebe61fb14990abe1254bd3dda5fae" args="(const mat &dt) const " --> |
---|
| 96 | 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> |
---|
| 97 | |
---|
| 98 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> |
---|
| 99 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="710e7d69c0d8791fb41a7cd4683cca2c"></a><!-- doxytag: member="bdm::KFcondR::predictor" ref="710e7d69c0d8791fb41a7cd4683cca2c" args="(const RV &rv) const " --> |
---|
| 100 | 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#710e7d69c0d8791fb41a7cd4683cca2c">predictor</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &<a class="el" href="classbdm_1_1BM.html#18d6db4af8ee42077741d9e3618153ca">rv</a>) const </td></tr> |
---|
| 101 | |
---|
| 102 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> |
---|
| 103 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="40a3c891996391e3135518053a917793"></a><!-- doxytag: member="bdm::KFcondR::_rv" ref="40a3c891996391e3135518053a917793" args="() const " --> |
---|
| 104 | 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#40a3c891996391e3135518053a917793">_rv</a> () const </td></tr> |
---|
| 105 | |
---|
| 106 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
| 107 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5be65d37dedfe33a3671e7065f523a70"></a><!-- doxytag: member="bdm::KFcondR::_ll" ref="5be65d37dedfe33a3671e7065f523a70" args="() const " --> |
---|
| 108 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#5be65d37dedfe33a3671e7065f523a70">_ll</a> () const </td></tr> |
---|
| 109 | |
---|
| 110 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
| 111 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="236b3abbcc93594fc97cd86d82c1a83f"></a><!-- doxytag: member="bdm::KFcondR::set_evalll" ref="236b3abbcc93594fc97cd86d82c1a83f" args="(bool evl0)" --> |
---|
| 112 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#236b3abbcc93594fc97cd86d82c1a83f">set_evalll</a> (bool evl0)</td></tr> |
---|
| 113 | |
---|
| 114 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
| 115 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classbdm_1_1BM.html">BM</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#3efb3098172f1f67564a312fe732473e">_copy_</a> (bool changerv=false)</td></tr> |
---|
| 116 | |
---|
| 117 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7506910f93250b44fea505ec4ffb19dc"></a><!-- doxytag: member="bdm::KFcondR::_rvc" ref="7506910f93250b44fea505ec4ffb19dc" args="() const " --> |
---|
| 118 | const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BMcond.html#7506910f93250b44fea505ec4ffb19dc">_rvc</a> () const </td></tr> |
---|
| 119 | |
---|
| 120 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
| 121 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
| 122 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3fe475a1e920b20b63bb342c0e1571f7"></a><!-- doxytag: member="bdm::KFcondR::rvy" ref="3fe475a1e920b20b63bb342c0e1571f7" args="" --> |
---|
| 123 | <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> |
---|
| 124 | |
---|
| 125 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Indetifier of output rv. <br></td></tr> |
---|
| 126 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="149e27424fd1a7cc1c998ea088618a94"></a><!-- doxytag: member="bdm::KFcondR::rvu" ref="149e27424fd1a7cc1c998ea088618a94" args="" --> |
---|
| 127 | <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> |
---|
| 128 | |
---|
| 129 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Indetifier of exogeneous rv. <br></td></tr> |
---|
| 130 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ba7699cdb3b1382a54d3e28b9b7517fa"></a><!-- doxytag: member="bdm::KFcondR::dimx" ref="ba7699cdb3b1382a54d3e28b9b7517fa" args="" --> |
---|
| 131 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#ba7699cdb3b1382a54d3e28b9b7517fa">dimx</a></td></tr> |
---|
| 132 | |
---|
| 133 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of rv.count() <br></td></tr> |
---|
| 134 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d2c36ba01760bf207b985bf321b7817f"></a><!-- doxytag: member="bdm::KFcondR::dimy" ref="d2c36ba01760bf207b985bf321b7817f" args="" --> |
---|
| 135 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#d2c36ba01760bf207b985bf321b7817f">dimy</a></td></tr> |
---|
| 136 | |
---|
| 137 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of rvy.count() <br></td></tr> |
---|
| 138 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c5136ef617f6ac0e426bea222755d92b"></a><!-- doxytag: member="bdm::KFcondR::dimu" ref="c5136ef617f6ac0e426bea222755d92b" args="" --> |
---|
| 139 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#c5136ef617f6ac0e426bea222755d92b">dimu</a></td></tr> |
---|
| 140 | |
---|
| 141 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of rvu.count() <br></td></tr> |
---|
| 142 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0a2072e2090c10fac74ad30a023a4ace"></a><!-- doxytag: member="bdm::KFcondR::A" ref="0a2072e2090c10fac74ad30a023a4ace" args="" --> |
---|
| 143 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#0a2072e2090c10fac74ad30a023a4ace">A</a></td></tr> |
---|
| 144 | |
---|
| 145 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix A. <br></td></tr> |
---|
| 146 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5977b2c81857948a35105f0e7840203c"></a><!-- doxytag: member="bdm::KFcondR::B" ref="5977b2c81857948a35105f0e7840203c" args="" --> |
---|
| 147 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#5977b2c81857948a35105f0e7840203c">B</a></td></tr> |
---|
| 148 | |
---|
| 149 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix B. <br></td></tr> |
---|
| 150 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="818eba63a23972786a4579ad30294177"></a><!-- doxytag: member="bdm::KFcondR::C" ref="818eba63a23972786a4579ad30294177" args="" --> |
---|
| 151 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#818eba63a23972786a4579ad30294177">C</a></td></tr> |
---|
| 152 | |
---|
| 153 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix C. <br></td></tr> |
---|
| 154 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7b56ac423d0654b5755e4f852a870456"></a><!-- doxytag: member="bdm::KFcondR::D" ref="7b56ac423d0654b5755e4f852a870456" args="" --> |
---|
| 155 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#7b56ac423d0654b5755e4f852a870456">D</a></td></tr> |
---|
| 156 | |
---|
| 157 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix D. <br></td></tr> |
---|
| 158 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="70f8bf19e81b532c60fd3a7a152425ee"></a><!-- doxytag: member="bdm::KFcondR::Q" ref="70f8bf19e81b532c60fd3a7a152425ee" args="" --> |
---|
| 159 | <a class="el" href="classldmat.html">ldmat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#70f8bf19e81b532c60fd3a7a152425ee">Q</a></td></tr> |
---|
| 160 | |
---|
| 161 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix Q in square-root form. <br></td></tr> |
---|
| 162 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="475b088287cdfbba4dc60a3d027728b7"></a><!-- doxytag: member="bdm::KFcondR::R" ref="475b088287cdfbba4dc60a3d027728b7" args="" --> |
---|
| 163 | <a class="el" href="classldmat.html">ldmat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#475b088287cdfbba4dc60a3d027728b7">R</a></td></tr> |
---|
| 164 | |
---|
| 165 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix R in square-root form. <br></td></tr> |
---|
| 166 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="383f329ff18bbe219254c8b3b916f40d"></a><!-- doxytag: member="bdm::KFcondR::est" ref="383f329ff18bbe219254c8b3b916f40d" args="" --> |
---|
| 167 | <a class="el" href="classbdm_1_1enorm.html">enorm</a>< <a class="el" href="classldmat.html">ldmat</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#383f329ff18bbe219254c8b3b916f40d">est</a></td></tr> |
---|
| 168 | |
---|
| 169 | <tr><td class="mdescLeft"> </td><td class="mdescRight">posterior density on $x_t$ <br></td></tr> |
---|
| 170 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ba555c394c429f6831c9bbabfa2c944c"></a><!-- doxytag: member="bdm::KFcondR::fy" ref="ba555c394c429f6831c9bbabfa2c944c" args="" --> |
---|
| 171 | <a class="el" href="classbdm_1_1enorm.html">enorm</a>< <a class="el" href="classldmat.html">ldmat</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#ba555c394c429f6831c9bbabfa2c944c">fy</a></td></tr> |
---|
| 172 | |
---|
| 173 | <tr><td class="mdescLeft"> </td><td class="mdescRight">preditive density on $y_t$ <br></td></tr> |
---|
| 174 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bd69dfb802465f22dd84d73a180d5c92"></a><!-- doxytag: member="bdm::KFcondR::_K" ref="bd69dfb802465f22dd84d73a180d5c92" args="" --> |
---|
| 175 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#bd69dfb802465f22dd84d73a180d5c92">_K</a></td></tr> |
---|
| 176 | |
---|
| 177 | <tr><td class="mdescLeft"> </td><td class="mdescRight">placeholder for Kalman gain <br></td></tr> |
---|
| 178 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c249d45258c8578b13858ad3e7b729b1"></a><!-- doxytag: member="bdm::KFcondR::_yp" ref="c249d45258c8578b13858ad3e7b729b1" args="" --> |
---|
| 179 | vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#c249d45258c8578b13858ad3e7b729b1">_yp</a></td></tr> |
---|
| 180 | |
---|
| 181 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of fy.mu <br></td></tr> |
---|
| 182 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2dd268f2d7fbe6382cb8825a1114192a"></a><!-- doxytag: member="bdm::KFcondR::_Ry" ref="2dd268f2d7fbe6382cb8825a1114192a" args="" --> |
---|
| 183 | <a class="el" href="classldmat.html">ldmat</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#2dd268f2d7fbe6382cb8825a1114192a">_Ry</a></td></tr> |
---|
| 184 | |
---|
| 185 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of fy.R <br></td></tr> |
---|
| 186 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fa172078091e45561343fa513dd573b0"></a><!-- doxytag: member="bdm::KFcondR::_mu" ref="fa172078091e45561343fa513dd573b0" args="" --> |
---|
| 187 | vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#fa172078091e45561343fa513dd573b0">_mu</a></td></tr> |
---|
| 188 | |
---|
| 189 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of est.mu <br></td></tr> |
---|
| 190 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="00c27b0bf324f0018497921ca23c71ed"></a><!-- doxytag: member="bdm::KFcondR::_P" ref="00c27b0bf324f0018497921ca23c71ed" args="" --> |
---|
| 191 | <a class="el" href="classldmat.html">ldmat</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Kalman.html#00c27b0bf324f0018497921ca23c71ed">_P</a></td></tr> |
---|
| 192 | |
---|
| 193 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of est.R <br></td></tr> |
---|
| 194 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="18d6db4af8ee42077741d9e3618153ca"></a><!-- doxytag: member="bdm::KFcondR::rv" ref="18d6db4af8ee42077741d9e3618153ca" args="" --> |
---|
| 195 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#18d6db4af8ee42077741d9e3618153ca">rv</a></td></tr> |
---|
| 196 | |
---|
| 197 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Random variable of the posterior. <br></td></tr> |
---|
| 198 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4064b6559d962633e4372b12f4cd204a"></a><!-- doxytag: member="bdm::KFcondR::ll" ref="4064b6559d962633e4372b12f4cd204a" args="" --> |
---|
| 199 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#4064b6559d962633e4372b12f4cd204a">ll</a></td></tr> |
---|
| 200 | |
---|
| 201 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Logarithm of marginalized data likelihood. <br></td></tr> |
---|
| 202 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="faff0ad12556fe7dc0e2807d4fd938ee"></a><!-- doxytag: member="bdm::KFcondR::evalll" ref="faff0ad12556fe7dc0e2807d4fd938ee" args="" --> |
---|
| 203 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#faff0ad12556fe7dc0e2807d4fd938ee">evalll</a></td></tr> |
---|
| 204 | |
---|
| 205 | <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> |
---|
| 206 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9a12750776d977408aada06a70093297"></a><!-- doxytag: member="bdm::KFcondR::rvc" ref="9a12750776d977408aada06a70093297" args="" --> |
---|
| 207 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BMcond.html#9a12750776d977408aada06a70093297">rvc</a></td></tr> |
---|
| 208 | |
---|
| 209 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Identificator of the conditioning variable. <br></td></tr> |
---|
| 210 | </table> |
---|
| 211 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 212 | <a class="el" href="classbdm_1_1Kalman.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> |
---|
| 213 | <a class="anchor" name="50257e0c1e5b5c73153ea6e716ad8ae0"></a><!-- doxytag: member="bdm::KFcondR::logpred" ref="50257e0c1e5b5c73153ea6e716ad8ae0" args="(const vec &dt) const " --> |
---|
| 214 | <div class="memitem"> |
---|
| 215 | <div class="memproto"> |
---|
| 216 | <table class="memname"> |
---|
| 217 | <tr> |
---|
| 218 | <td class="memname">virtual double bdm::BM::logpred </td> |
---|
| 219 | <td>(</td> |
---|
| 220 | <td class="paramtype">const vec & </td> |
---|
| 221 | <td class="paramname"> <em>dt</em> </td> |
---|
| 222 | <td> ) </td> |
---|
| 223 | <td> const<code> [inline, virtual, inherited]</code></td> |
---|
| 224 | </tr> |
---|
| 225 | </table> |
---|
| 226 | </div> |
---|
| 227 | <div class="memdoc"> |
---|
| 228 | |
---|
| 229 | <p> |
---|
| 230 | Evaluates predictive log-likelihood of the given data record I.e. marginal likelihood of the data with the posterior integrated out. |
---|
| 231 | <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> |
---|
| 232 | |
---|
| 233 | <p>Referenced by <a class="el" href="libBM_8h-source.html#l00447">bdm::BM::logpred_m()</a>.</p> |
---|
| 234 | |
---|
| 235 | </div> |
---|
| 236 | </div><p> |
---|
| 237 | <a class="anchor" name="3efb3098172f1f67564a312fe732473e"></a><!-- doxytag: member="bdm::KFcondR::_copy_" ref="3efb3098172f1f67564a312fe732473e" args="(bool changerv=false)" --> |
---|
| 238 | <div class="memitem"> |
---|
| 239 | <div class="memproto"> |
---|
| 240 | <table class="memname"> |
---|
| 241 | <tr> |
---|
| 242 | <td class="memname">virtual <a class="el" href="classbdm_1_1BM.html">BM</a>* bdm::BM::_copy_ </td> |
---|
| 243 | <td>(</td> |
---|
| 244 | <td class="paramtype">bool </td> |
---|
| 245 | <td class="paramname"> <em>changerv</em> = <code>false</code> </td> |
---|
| 246 | <td> ) </td> |
---|
| 247 | <td><code> [inline, virtual, inherited]</code></td> |
---|
| 248 | </tr> |
---|
| 249 | </table> |
---|
| 250 | </div> |
---|
| 251 | <div class="memdoc"> |
---|
| 252 | |
---|
| 253 | <p> |
---|
| 254 | Copy function required in vectors, Arrays of <a class="el" href="classbdm_1_1BM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> etc. Have to be DELETED manually! Prototype: BM* <a class="el" href="classbdm_1_1BM.html#3efb3098172f1f67564a312fe732473e">_copy_()</a>{<a class="el" href="classbdm_1_1BM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> Tmp*=new Tmp(this*); return Tmp; } |
---|
| 255 | <p>Reimplemented in <a class="el" href="classbdm_1_1ARX.html#20ff2de8d862f28de7da83444d65bcdb">bdm::ARX</a>, and <a class="el" href="classbdm_1_1BMEF.html#5912dbcf28ae711e30b08c2fa766a3e6">bdm::BMEF</a>.</p> |
---|
| 256 | |
---|
| 257 | </div> |
---|
| 258 | </div><p> |
---|
| 259 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
| 260 | <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> |
---|
| 261 | </div> |
---|
| 262 | <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jan 27 16:30:56 2009 for mixpp by |
---|
| 263 | <a href="http://www.doxygen.org/index.html"> |
---|
| 264 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> |
---|
| 265 | </body> |
---|
| 266 | </html> |
---|