[84] | 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: EKFfixed 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> |
---|
[139] | 7 | <!-- Generated by Doxygen 1.5.6 --> |
---|
[91] | 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> |
---|
[219] | 13 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
[91] | 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> |
---|
[84] | 25 | </div> |
---|
[91] | 26 | <div class="contents"> |
---|
[255] | 27 | <h1>EKFfixed Class Reference</h1><!-- doxytag: class="EKFfixed" --><!-- doxytag: inherits="bdm::BM,bdm::BMcond" -->Extended Kalman Filter with full matrices in fixed point arithmetic. |
---|
[84] | 28 | <a href="#_details">More...</a> |
---|
| 29 | <p> |
---|
| 30 | <code>#include <<a class="el" href="ekf__obj_8h-source.html">ekf_obj.h</a>></code> |
---|
| 31 | <p> |
---|
| 32 | <div class="dynheader"> |
---|
| 33 | Inheritance diagram for EKFfixed:</div> |
---|
| 34 | <div class="dynsection"> |
---|
| 35 | <p><center><img src="classEKFfixed__inherit__graph.png" border="0" usemap="#EKFfixed__inherit__map" alt="Inheritance graph"></center> |
---|
| 36 | <map name="EKFfixed__inherit__map"> |
---|
[255] | 37 | <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,84,83,111"><area shape="rect" href="classbdm_1_1BMcond.html" title="Conditional Bayesian Filter." alt="" coords="107,84,216,111"><area shape="rect" href="classbdm_1_1base.html" title="Root class of BDM objects." alt="" coords="117,7,205,33"></map> |
---|
[84] | 38 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
| 39 | <div class="dynheader"> |
---|
| 40 | Collaboration diagram for EKFfixed:</div> |
---|
| 41 | <div class="dynsection"> |
---|
| 42 | <p><center><img src="classEKFfixed__coll__graph.png" border="0" usemap="#EKFfixed__coll__map" alt="Collaboration graph"></center> |
---|
| 43 | <map name="EKFfixed__coll__map"> |
---|
[255] | 44 | <area shape="rect" href="classbdm_1_1BM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="280,236,357,263"><area shape="rect" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables." alt="" coords="265,87,340,113"><area shape="rect" href="classbdm_1_1BMcond.html" title="Conditional Bayesian Filter." alt="" coords="340,183,449,209"><area shape="rect" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="173,183,259,209"><area shape="rect" href="classbdm_1_1base.html" title="Root class of BDM objects." alt="" coords="259,7,347,33"><area shape="rect" href="classbdm_1_1enorm.html" title="bdm::enorm\< fsqmat \>" alt="" coords="123,481,299,508"><area shape="rect" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density." alt="" coords="140,289,220,316"><area shape="rect" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="5,385,165,412"><area shape="rect" href="classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix." alt="" coords="240,385,307,412"><area shape="rect" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form..." alt="" coords="244,289,305,316"></map> |
---|
[84] | 45 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
| 46 | |
---|
| 47 | <p> |
---|
| 48 | <a href="classEKFfixed-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="cece920bbf58fc72b25a6417b3ef0259"></a><!-- doxytag: member="EKFfixed::init_ekf" ref="cece920bbf58fc72b25a6417b3ef0259" args="(double Tv)" --> |
---|
| 52 | void </td><td class="memItemRight" valign="bottom"><b>init_ekf</b> (double Tv)</td></tr> |
---|
| 53 | |
---|
| 54 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="491e636b259dda3b876b7bd492df6b7c"></a><!-- doxytag: member="EKFfixed::ekf" ref="491e636b259dda3b876b7bd492df6b7c" args="(double ux, double uy, double isxd, double isyd)" --> |
---|
| 55 | void </td><td class="memItemRight" valign="bottom"><b>ekf</b> (double ux, double uy, double isxd, double isyd)</td></tr> |
---|
| 56 | |
---|
| 57 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e77b35e1a11356dbfb1fdfa3017f60d3"></a><!-- doxytag: member="EKFfixed::prediction" ref="e77b35e1a11356dbfb1fdfa3017f60d3" args="(int *ux)" --> |
---|
| 58 | void </td><td class="memItemRight" valign="bottom"><b>prediction</b> (int *ux)</td></tr> |
---|
| 59 | |
---|
| 60 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="83ed56b86a056d7dbdd6ce44145fa5f3"></a><!-- doxytag: member="EKFfixed::correction" ref="83ed56b86a056d7dbdd6ce44145fa5f3" args="(void)" --> |
---|
| 61 | void </td><td class="memItemRight" valign="bottom"><b>correction</b> (void)</td></tr> |
---|
| 62 | |
---|
| 63 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dce43355681cfe8f1905db207b4dde8d"></a><!-- doxytag: member="EKFfixed::update_psi" ref="dce43355681cfe8f1905db207b4dde8d" args="(void)" --> |
---|
| 64 | void </td><td class="memItemRight" valign="bottom"><b>update_psi</b> (void)</td></tr> |
---|
| 65 | |
---|
| 66 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="64d7b1a39c27b1846bcd5628928748ef"></a><!-- doxytag: member="EKFfixed::EKFfixed" ref="64d7b1a39c27b1846bcd5628928748ef" args="(RV rvx, RV rvc)" --> |
---|
[255] | 67 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classEKFfixed.html#64d7b1a39c27b1846bcd5628928748ef">EKFfixed</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_1BMcond.html#9a12750776d977408aada06a70093297">rvc</a>)</td></tr> |
---|
[84] | 68 | |
---|
| 69 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> |
---|
| 70 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ddf5334bc1207658fd53698fffbac028"></a><!-- doxytag: member="EKFfixed::bayes" ref="ddf5334bc1207658fd53698fffbac028" args="(const vec &dt)" --> |
---|
| 71 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classEKFfixed.html#ddf5334bc1207658fd53698fffbac028">bayes</a> (const vec &dt)</td></tr> |
---|
| 72 | |
---|
| 73 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Here dt = [yt;ut] of appropriate dimensions. <br></td></tr> |
---|
| 74 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="085cf16c573eda32d8d03619c6c4b518"></a><!-- doxytag: member="EKFfixed::_epdf" ref="085cf16c573eda32d8d03619c6c4b518" args="()" --> |
---|
[255] | 75 | <a class="el" href="classbdm_1_1epdf.html">epdf</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classEKFfixed.html#085cf16c573eda32d8d03619c6c4b518">_epdf</a> ()</td></tr> |
---|
[84] | 76 | |
---|
| 77 | <tr><td class="mdescLeft"> </td><td class="mdescRight">dummy! <br></td></tr> |
---|
| 78 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c7fee79e75ad7f0c0e96c5a322cbf44e"></a><!-- doxytag: member="EKFfixed::condition" ref="c7fee79e75ad7f0c0e96c5a322cbf44e" args="(const vec &Q0)" --> |
---|
| 79 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classEKFfixed.html#c7fee79e75ad7f0c0e96c5a322cbf44e">condition</a> (const vec &Q0)</td></tr> |
---|
| 80 | |
---|
| 81 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Substitute <code>val</code> for <code>rvc</code>. <br></td></tr> |
---|
[255] | 82 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1dee3fddaf021e62d925289660a707dc"></a><!-- doxytag: member="EKFfixed::bayesB" ref="1dee3fddaf021e62d925289660a707dc" args="(const mat &Dt)" --> |
---|
| 83 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#1dee3fddaf021e62d925289660a707dc">bayesB</a> (const mat &Dt)</td></tr> |
---|
[84] | 84 | |
---|
| 85 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Batch Bayes rule (columns of Dt are observations). <br></td></tr> |
---|
[255] | 86 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="963258c4c2dd05be001003b19aceefef"></a><!-- doxytag: member="EKFfixed::_epdf" ref="963258c4c2dd05be001003b19aceefef" args="() const =0" --> |
---|
| 87 | virtual const epdf & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#963258c4c2dd05be001003b19aceefef">_epdf</a> () const =0</td></tr> |
---|
[171] | 88 | |
---|
[255] | 89 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a reference to the <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> representing posterior density on parameters. <br></td></tr> |
---|
| 90 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4ed0f8b880e606316ae800f3a011c3a6"></a><!-- doxytag: member="EKFfixed::_e" ref="4ed0f8b880e606316ae800f3a011c3a6" args="() const =0" --> |
---|
| 91 | virtual const epdf * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#4ed0f8b880e606316ae800f3a011c3a6">_e</a> () const =0</td></tr> |
---|
[210] | 92 | |
---|
[255] | 93 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a pointer to the <a class="el" href="classbdm_1_1epdf.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> |
---|
| 94 | <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> |
---|
[171] | 95 | |
---|
[255] | 96 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0e8ebe61fb14990abe1254bd3dda5fae"></a><!-- doxytag: member="EKFfixed::logpred_m" ref="0e8ebe61fb14990abe1254bd3dda5fae" args="(const mat &dt) const " --> |
---|
| 97 | 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> |
---|
[180] | 98 | |
---|
| 99 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> |
---|
[255] | 100 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="710e7d69c0d8791fb41a7cd4683cca2c"></a><!-- doxytag: member="EKFfixed::predictor" ref="710e7d69c0d8791fb41a7cd4683cca2c" args="(const RV &rv) const " --> |
---|
| 101 | virtual epdf * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#710e7d69c0d8791fb41a7cd4683cca2c">predictor</a> (const RV &<a class="el" href="classbdm_1_1BM.html#18d6db4af8ee42077741d9e3618153ca">rv</a>) const </td></tr> |
---|
[180] | 102 | |
---|
| 103 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> |
---|
[255] | 104 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="40a3c891996391e3135518053a917793"></a><!-- doxytag: member="EKFfixed::_rv" ref="40a3c891996391e3135518053a917793" args="() const " --> |
---|
| 105 | const RV & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#40a3c891996391e3135518053a917793">_rv</a> () const </td></tr> |
---|
[84] | 106 | |
---|
| 107 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
[255] | 108 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5be65d37dedfe33a3671e7065f523a70"></a><!-- doxytag: member="EKFfixed::_ll" ref="5be65d37dedfe33a3671e7065f523a70" args="() const " --> |
---|
| 109 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#5be65d37dedfe33a3671e7065f523a70">_ll</a> () const </td></tr> |
---|
[84] | 110 | |
---|
| 111 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
[255] | 112 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="236b3abbcc93594fc97cd86d82c1a83f"></a><!-- doxytag: member="EKFfixed::set_evalll" ref="236b3abbcc93594fc97cd86d82c1a83f" args="(bool evl0)" --> |
---|
| 113 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#236b3abbcc93594fc97cd86d82c1a83f">set_evalll</a> (bool evl0)</td></tr> |
---|
[171] | 114 | |
---|
| 115 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
[255] | 116 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual BM * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#3efb3098172f1f67564a312fe732473e">_copy_</a> (bool changerv=false)</td></tr> |
---|
[171] | 117 | |
---|
[255] | 118 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7506910f93250b44fea505ec4ffb19dc"></a><!-- doxytag: member="EKFfixed::_rvc" ref="7506910f93250b44fea505ec4ffb19dc" args="() const " --> |
---|
| 119 | const RV & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BMcond.html#7506910f93250b44fea505ec4ffb19dc">_rvc</a> () const </td></tr> |
---|
[84] | 120 | |
---|
| 121 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
| 122 | <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> |
---|
| 123 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d04ddf049475a15e1ba93161aa5586ab"></a><!-- doxytag: member="EKFfixed::Q" ref="d04ddf049475a15e1ba93161aa5586ab" args="[16]" --> |
---|
| 124 | int </td><td class="memItemRight" valign="bottom"><b>Q</b> [16]</td></tr> |
---|
| 125 | |
---|
| 126 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d914213d413b4d8f8d7bb728c5063d5e"></a><!-- doxytag: member="EKFfixed::R" ref="d914213d413b4d8f8d7bb728c5063d5e" args="[4]" --> |
---|
| 127 | int </td><td class="memItemRight" valign="bottom"><b>R</b> [4]</td></tr> |
---|
| 128 | |
---|
| 129 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7fd20a80b00e9782da676e48eb5b54b3"></a><!-- doxytag: member="EKFfixed::x_est" ref="7fd20a80b00e9782da676e48eb5b54b3" args="[4]" --> |
---|
| 130 | int </td><td class="memItemRight" valign="bottom"><b>x_est</b> [4]</td></tr> |
---|
| 131 | |
---|
| 132 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9518fa723d7324f75df7822a589ee196"></a><!-- doxytag: member="EKFfixed::x_pred" ref="9518fa723d7324f75df7822a589ee196" args="[4]" --> |
---|
| 133 | int </td><td class="memItemRight" valign="bottom"><b>x_pred</b> [4]</td></tr> |
---|
| 134 | |
---|
| 135 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0b731c546a474433c1ea6f36f0125774"></a><!-- doxytag: member="EKFfixed::P_pred" ref="0b731c546a474433c1ea6f36f0125774" args="[16]" --> |
---|
| 136 | int </td><td class="memItemRight" valign="bottom"><b>P_pred</b> [16]</td></tr> |
---|
| 137 | |
---|
| 138 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b9ec9cb2d092ca3f4ad2a3b4420867ac"></a><!-- doxytag: member="EKFfixed::P_est" ref="b9ec9cb2d092ca3f4ad2a3b4420867ac" args="[16]" --> |
---|
| 139 | int </td><td class="memItemRight" valign="bottom"><b>P_est</b> [16]</td></tr> |
---|
| 140 | |
---|
| 141 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5a8040cdb8bb5dca753485dc67db3287"></a><!-- doxytag: member="EKFfixed::Y_mes" ref="5a8040cdb8bb5dca753485dc67db3287" args="[2]" --> |
---|
| 142 | int </td><td class="memItemRight" valign="bottom"><b>Y_mes</b> [2]</td></tr> |
---|
| 143 | |
---|
| 144 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9292e43fb8e6fedfabb3a9b3c2118e33"></a><!-- doxytag: member="EKFfixed::ukalm" ref="9292e43fb8e6fedfabb3a9b3c2118e33" args="[2]" --> |
---|
| 145 | int </td><td class="memItemRight" valign="bottom"><b>ukalm</b> [2]</td></tr> |
---|
| 146 | |
---|
| 147 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f754902bb769d3b58b89108c76d9a394"></a><!-- doxytag: member="EKFfixed::Kalm" ref="f754902bb769d3b58b89108c76d9a394" args="[8]" --> |
---|
| 148 | int </td><td class="memItemRight" valign="bottom"><b>Kalm</b> [8]</td></tr> |
---|
| 149 | |
---|
| 150 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bf4b3d55c8d277673bf77f37f6590217"></a><!-- doxytag: member="EKFfixed::PSI" ref="bf4b3d55c8d277673bf77f37f6590217" args="[16]" --> |
---|
| 151 | int </td><td class="memItemRight" valign="bottom"><b>PSI</b> [16]</td></tr> |
---|
| 152 | |
---|
| 153 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8a677b253b54696701c1ca0cb6f7a622"></a><!-- doxytag: member="EKFfixed::temp15a" ref="8a677b253b54696701c1ca0cb6f7a622" args="[16]" --> |
---|
| 154 | int </td><td class="memItemRight" valign="bottom"><b>temp15a</b> [16]</td></tr> |
---|
| 155 | |
---|
| 156 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6d4354dad09286a7a209983732853c5b"></a><!-- doxytag: member="EKFfixed::cA" ref="6d4354dad09286a7a209983732853c5b" args="" --> |
---|
| 157 | int </td><td class="memItemRight" valign="bottom"><b>cA</b></td></tr> |
---|
| 158 | |
---|
| 159 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eac752adfb921c1c525f8c3b3fd15dad"></a><!-- doxytag: member="EKFfixed::cB" ref="eac752adfb921c1c525f8c3b3fd15dad" args="" --> |
---|
| 160 | int </td><td class="memItemRight" valign="bottom"><b>cB</b></td></tr> |
---|
| 161 | |
---|
| 162 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2f35ef3dce13131ae9b4427309a1d005"></a><!-- doxytag: member="EKFfixed::cC" ref="2f35ef3dce13131ae9b4427309a1d005" args="" --> |
---|
| 163 | int </td><td class="memItemRight" valign="bottom"><b>cC</b></td></tr> |
---|
| 164 | |
---|
| 165 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="50b31e70bb17cbdde2e28c83b9612c47"></a><!-- doxytag: member="EKFfixed::cG" ref="50b31e70bb17cbdde2e28c83b9612c47" args="" --> |
---|
| 166 | int </td><td class="memItemRight" valign="bottom"><b>cG</b></td></tr> |
---|
| 167 | |
---|
| 168 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="086e18ad28d139b0a2c0f77badc77a9a"></a><!-- doxytag: member="EKFfixed::cH" ref="086e18ad28d139b0a2c0f77badc77a9a" args="" --> |
---|
| 169 | int </td><td class="memItemRight" valign="bottom"><b>cH</b></td></tr> |
---|
| 170 | |
---|
| 171 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="540046e3ab4d0bed4791f397062a626f"></a><!-- doxytag: member="EKFfixed::temp30a" ref="540046e3ab4d0bed4791f397062a626f" args="[4]" --> |
---|
| 172 | long </td><td class="memItemRight" valign="bottom"><b>temp30a</b> [4]</td></tr> |
---|
| 173 | |
---|
| 174 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ea92b06e2b66c6771828e689bb727b76"></a><!-- doxytag: member="EKFfixed::E" ref="ea92b06e2b66c6771828e689bb727b76" args="" --> |
---|
[255] | 175 | <a class="el" href="classbdm_1_1enorm.html">enorm</a>< <a class="el" href="classfsqmat.html">fsqmat</a> > </td><td class="memItemRight" valign="bottom"><b>E</b></td></tr> |
---|
[84] | 176 | |
---|
| 177 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6e5552506214757d24e59e508f91c8aa"></a><!-- doxytag: member="EKFfixed::Ry" ref="6e5552506214757d24e59e508f91c8aa" args="" --> |
---|
| 178 | mat </td><td class="memItemRight" valign="bottom"><b>Ry</b></td></tr> |
---|
| 179 | |
---|
| 180 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
[255] | 181 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="18d6db4af8ee42077741d9e3618153ca"></a><!-- doxytag: member="EKFfixed::rv" ref="18d6db4af8ee42077741d9e3618153ca" args="" --> |
---|
| 182 | RV </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#18d6db4af8ee42077741d9e3618153ca">rv</a></td></tr> |
---|
[84] | 183 | |
---|
| 184 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Random variable of the posterior. <br></td></tr> |
---|
[255] | 185 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4064b6559d962633e4372b12f4cd204a"></a><!-- doxytag: member="EKFfixed::ll" ref="4064b6559d962633e4372b12f4cd204a" args="" --> |
---|
| 186 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#4064b6559d962633e4372b12f4cd204a">ll</a></td></tr> |
---|
[84] | 187 | |
---|
| 188 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Logarithm of marginalized data likelihood. <br></td></tr> |
---|
[255] | 189 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="faff0ad12556fe7dc0e2807d4fd938ee"></a><!-- doxytag: member="EKFfixed::evalll" ref="faff0ad12556fe7dc0e2807d4fd938ee" args="" --> |
---|
| 190 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#faff0ad12556fe7dc0e2807d4fd938ee">evalll</a></td></tr> |
---|
[84] | 191 | |
---|
[171] | 192 | <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> |
---|
[255] | 193 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9a12750776d977408aada06a70093297"></a><!-- doxytag: member="EKFfixed::rvc" ref="9a12750776d977408aada06a70093297" args="" --> |
---|
| 194 | RV </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BMcond.html#9a12750776d977408aada06a70093297">rvc</a></td></tr> |
---|
[84] | 195 | |
---|
| 196 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Identificator of the conditioning variable. <br></td></tr> |
---|
| 197 | </table> |
---|
| 198 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
[255] | 199 | Extended Kalman Filter with full matrices in fixed point arithmetic. |
---|
[84] | 200 | <p> |
---|
[171] | 201 | An approximation of the exact Bayesian filter with Gaussian noices and non-linear evolutions of their mean. <hr><h2>Member Function Documentation</h2> |
---|
[255] | 202 | <a class="anchor" name="50257e0c1e5b5c73153ea6e716ad8ae0"></a><!-- doxytag: member="EKFfixed::logpred" ref="50257e0c1e5b5c73153ea6e716ad8ae0" args="(const vec &dt) const " --> |
---|
[171] | 203 | <div class="memitem"> |
---|
| 204 | <div class="memproto"> |
---|
| 205 | <table class="memname"> |
---|
| 206 | <tr> |
---|
[255] | 207 | <td class="memname">virtual double bdm::BM::logpred </td> |
---|
[171] | 208 | <td>(</td> |
---|
| 209 | <td class="paramtype">const vec & </td> |
---|
| 210 | <td class="paramname"> <em>dt</em> </td> |
---|
| 211 | <td> ) </td> |
---|
| 212 | <td> const<code> [inline, virtual, inherited]</code></td> |
---|
| 213 | </tr> |
---|
| 214 | </table> |
---|
| 215 | </div> |
---|
| 216 | <div class="memdoc"> |
---|
| 217 | |
---|
| 218 | <p> |
---|
| 219 | Evaluates predictive log-likelihood of the given data record I.e. marginal likelihood of the data with the posterior integrated out. |
---|
[255] | 220 | <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> |
---|
[171] | 221 | |
---|
[255] | 222 | <p>Referenced by <a class="el" href="libBM_8h-source.html#l00447">bdm::BM::logpred_m()</a>.</p> |
---|
[180] | 223 | |
---|
[171] | 224 | </div> |
---|
| 225 | </div><p> |
---|
[255] | 226 | <a class="anchor" name="3efb3098172f1f67564a312fe732473e"></a><!-- doxytag: member="EKFfixed::_copy_" ref="3efb3098172f1f67564a312fe732473e" args="(bool changerv=false)" --> |
---|
[171] | 227 | <div class="memitem"> |
---|
| 228 | <div class="memproto"> |
---|
| 229 | <table class="memname"> |
---|
| 230 | <tr> |
---|
[255] | 231 | <td class="memname">virtual BM* bdm::BM::_copy_ </td> |
---|
[171] | 232 | <td>(</td> |
---|
| 233 | <td class="paramtype">bool </td> |
---|
| 234 | <td class="paramname"> <em>changerv</em> = <code>false</code> </td> |
---|
| 235 | <td> ) </td> |
---|
| 236 | <td><code> [inline, virtual, inherited]</code></td> |
---|
| 237 | </tr> |
---|
| 238 | </table> |
---|
| 239 | </div> |
---|
| 240 | <div class="memdoc"> |
---|
| 241 | |
---|
| 242 | <p> |
---|
[255] | 243 | 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; } |
---|
| 244 | <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> |
---|
[171] | 245 | |
---|
| 246 | </div> |
---|
| 247 | </div><p> |
---|
| 248 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
[145] | 249 | <li>work/git/mixpp/pmsm/simulator_zdenek/ekf_example/<a class="el" href="ekf__obj_8h-source.html">ekf_obj.h</a><li>work/git/mixpp/pmsm/simulator_zdenek/ekf_example/ekf_obj.cpp</ul> |
---|
[91] | 250 | </div> |
---|
[255] | 251 | <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jan 27 16:30:22 2009 for mixpp by |
---|
[84] | 252 | <a href="http://www.doxygen.org/index.html"> |
---|
[139] | 253 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> |
---|
[84] | 254 | </body> |
---|
| 255 | </html> |
---|