- Timestamp:
- 10/15/08 19:08:06 (17 years ago)
- Location:
- doc/html
- Files:
-
- 308 modified
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified doc/html/annotated.html ¶
r171 r180 34 34 <tr><td class="indexkey"><a class="el" href="classBMEF.html">BMEF</a></td><td class="indexvalue">Estimator for Exponential family </td></tr> 35 35 <tr><td class="indexkey"><a class="el" href="classchmat.html">chmat</a></td><td class="indexvalue">Symmetric matrix stored in square root decomposition using upper cholesky </td></tr> 36 <tr><td class="indexkey"><a class="el" href="classcompositepdf.html">compositepdf</a></td><td class="indexvalue">Abstract composition of pdfs, a base for specific classes </td></tr> 36 37 <tr><td class="indexkey"><a class="el" href="classCompoundUserInfo.html">CompoundUserInfo< T ></a></td><td class="indexvalue">The main userinfo template class. You should derive this class whenever you need a new userinfo of a class which is compound from smaller elements (all having its own userinfo class prepared) </td></tr> 37 38 <tr><td class="indexkey"><a class="el" href="classCompoundUserInfo_1_1BindedElement.html">CompoundUserInfo< T >::BindedElement< U ></a></td><td class="indexvalue">Templated class binding inner element with its XML tag and automating data transfers in both directions </td></tr> … … 94 95 </table> 95 96 </div> 96 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 97 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 97 98 <a href="http://www.doxygen.org/index.html"> 98 99 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/arx_8h-source.html ¶
r171 r180 36 36 <a name="l00050"></a><a class="code" href="classARX.html#a5358883a49b52f50755ad8770c2bbdb">00050</a> <a class="code" href="classARX.html#545e269bf7852c81484cf361b54d9917" title="Full constructor.">ARX</a> ( <span class="keyword">const</span> <a class="code" href="classARX.html" title="Linear Autoregressive model with Gaussian noise.">ARX</a> &A0 ) : <a class="code" href="classBMEF.html" title="Estimator for Exponential family.">BMEF</a> ( A0),<a class="code" href="classARX.html#691d023662beffa1dda611b416c0e27e" title="Posterior estimate of in the form of Normal-inverse Wishart density.">est</a> ( <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>,A0.<a class="code" href="classARX.html#2291297861dd74ca0175a01f910a0ef7" title="cached value of est.V">V</a>,A0.<a class="code" href="classARX.html#a4182c281098b2d86b62518a7493d9be" title="cached value of est.nu">nu</a> ), <a class="code" href="classARX.html#2291297861dd74ca0175a01f910a0ef7" title="cached value of est.V">V</a> ( <a class="code" href="classARX.html#691d023662beffa1dda611b416c0e27e" title="Posterior estimate of in the form of Normal-inverse Wishart density.">est</a>._V() ), <a class="code" href="classARX.html#a4182c281098b2d86b62518a7493d9be" title="cached value of est.nu">nu</a> ( <a class="code" href="classARX.html#691d023662beffa1dda611b416c0e27e" title="Posterior estimate of in the form of Normal-inverse Wishart density.">est</a>._nu() ) {}; 37 37 <a name="l00051"></a>00051 38 <a name="l00053"></a>00053 <a class="code" href="class BM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a>* <a class="code" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc" title="Auxiliary function.">_copy_</a>(<span class="keywordtype">bool</span> changerv=<span class="keyword">false</span>);38 <a name="l00053"></a>00053 <a class="code" href="classARX.html" title="Linear Autoregressive model with Gaussian noise.">ARX</a>* <a class="code" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0" title="Auxiliary function.">_copy_</a>(<span class="keywordtype">bool</span> changerv=<span class="keyword">false</span>); 39 39 <a name="l00054"></a>00054 40 40 <a name="l00055"></a>00055 <span class="comment">// //! Set parameters given by moments, \c mu (mean of theta), \c R (mean of R) and \c C (variance of theta)</span> … … 63 63 <a name="l00082"></a>00082 64 64 </pre></div></div> 65 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:452008 for mixpp by 65 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 66 66 <a href="http://www.doxygen.org/index.html"> 67 67 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/arx_8h.html ¶
r171 r180 55 55 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 56 56 Using IT++ for numerical operations ----------------------------------- </div> 57 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 57 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by 58 58 <a href="http://www.doxygen.org/index.html"> 59 59 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/chmat_8h-source.html ¶
r171 r180 68 68 <a name="l00083"></a>00083 <span class="preprocessor">#endif // CHMAT_H</span> 69 69 </pre></div></div> 70 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:452008 for mixpp by 70 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 71 71 <a href="http://www.doxygen.org/index.html"> 72 72 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/chmat_8h.html ¶
r171 r180 55 55 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 56 56 Using IT++ for numerical operations ----------------------------------- </div> 57 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 57 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by 58 58 <a href="http://www.doxygen.org/index.html"> 59 59 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classARX-members.html ¶
r171 r180 25 25 <div class="contents"> 26 26 <h1>ARX Member List</h1>This is the complete list of members for <a class="el" href="classARX.html">ARX</a>, including all inherited members.<p><table> 27 <tr class="memlist"><td><a class="el" href="classARX.html# d2751057811c6fb8f4ff86e1648bcddc">_copy_</a>(bool changerv=false)</td><td><a class="el" href="classARX.html">ARX</a></td><td><code> [virtual]</code></td></tr>27 <tr class="memlist"><td><a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">_copy_</a>(bool changerv=false)</td><td><a class="el" href="classARX.html">ARX</a></td><td><code> [virtual]</code></td></tr> 28 28 <tr class="memlist"><td><a class="el" href="classARX.html#c13df43e0af87697fda6b457d56a6d45">_epdf</a>() const </td><td><a class="el" href="classARX.html">ARX</a></td><td><code> [inline, virtual]</code></td></tr> 29 29 <tr class="memlist"><td><a class="el" href="classBM.html#87f4a547d2c29180be88175e5eab9c88">_ll</a>() const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> … … 46 46 <tr class="memlist"><td><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 47 47 <tr class="memlist"><td><a class="el" href="classARX.html#e7f9e7823aec9bf7ddc3b42d9b3304c4">logpred</a>(const vec &dt) const </td><td><a class="el" href="classARX.html">ARX</a></td><td><code> [virtual]</code></td></tr> 48 <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> 48 49 <tr class="memlist"><td><a class="el" href="classARX.html#a4182c281098b2d86b62518a7493d9be">nu</a></td><td><a class="el" href="classARX.html">ARX</a></td><td><code> [protected]</code></td></tr> 50 <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 49 51 <tr class="memlist"><td><a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 50 52 <tr class="memlist"><td><a class="el" href="classBM.html#1ffa9f23669aabecc3760c06c6987522">set_evalll</a>(bool evl0)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> … … 55 57 <tr class="memlist"><td><a class="el" href="classBM.html#ca0f02b3b4144e0895cc14f7e0374bdd">~BM</a>()</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 56 58 </table></div> 57 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 59 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 58 60 <a href="http://www.doxygen.org/index.html"> 59 61 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classARX.html ¶
r171 r180 56 56 57 57 <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <br></td></tr> 58 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" d2751057811c6fb8f4ff86e1648bcddc"></a><!-- doxytag: member="ARX::_copy_" ref="d2751057811c6fb8f4ff86e1648bcddc" args="(bool changerv=false)" -->59 <a class="el" href="class BM.html">BM</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc">_copy_</a> (bool changerv=false)</td></tr>58 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5de61fbd4f97fa3216760b1f733f5af0"></a><!-- doxytag: member="ARX::_copy_" ref="5de61fbd4f97fa3216760b1f733f5af0" args="(bool changerv=false)" --> 59 <a class="el" href="classARX.html">ARX</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">_copy_</a> (bool changerv=false)</td></tr> 60 60 61 61 <tr><td class="mdescLeft"> </td><td class="mdescRight">Auxiliary function. <br></td></tr> … … 96 96 97 97 <tr><td class="mdescLeft"> </td><td class="mdescRight">Batch Bayes rule (columns of Dt are observations). <br></td></tr> 98 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd0660f2a1a344b56ac39802708ff165"></a><!-- doxytag: member="ARX::logpred_m" ref="cd0660f2a1a344b56ac39802708ff165" args="(const mat &dt) const " --> 99 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &dt) const </td></tr> 100 101 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 102 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="ARX::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &rv)" --> 103 virtual <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr> 104 105 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 98 106 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="ARX::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " --> 99 107 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> … … 204 212 <p>Reimplemented from <a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">BM</a>.</p> 205 213 206 <p>References <a class="el" href="libEF_8h-source.html#l0018 5">egiw::_nu()</a>, <a class="el" href="libEF_8h-source.html#l00183">egiw::_V()</a>, <a class="el" href="arx_8h-source.html#l00039">est</a>, <a class="el" href="libBM_8h-source.html#l00280">BM::evalll</a>, <a class="el" href="libEF_8h-source.html#l00078">BMEF::frg</a>, <a class="el" href="libEF_8h-source.html#l00080">BMEF::last_lognc</a>, <a class="el" href="libEF_8cpp-source.html#l00044">egiw::lognc()</a>, <a class="el" href="arx_8h-source.html#l00043">nu</a>, <a class="el" href="libDC_8cpp-source.html#l00058">ldmat::opupdt()</a>, <a class="el" href="libEF_8cpp-source.html#l00099">egiw::pow()</a>, and <a class="el" href="arx_8h-source.html#l00041">V</a>.</p>214 <p>References <a class="el" href="libEF_8h-source.html#l00183">egiw::_nu()</a>, <a class="el" href="libEF_8h-source.html#l00181">egiw::_V()</a>, <a class="el" href="arx_8h-source.html#l00039">est</a>, <a class="el" href="libBM_8h-source.html#l00307">BM::evalll</a>, <a class="el" href="libEF_8h-source.html#l00078">BMEF::frg</a>, <a class="el" href="libEF_8h-source.html#l00080">BMEF::last_lognc</a>, <a class="el" href="libEF_8cpp-source.html#l00044">egiw::lognc()</a>, <a class="el" href="arx_8h-source.html#l00043">nu</a>, <a class="el" href="libDC_8cpp-source.html#l00058">ldmat::opupdt()</a>, <a class="el" href="libEF_8cpp-source.html#l00099">egiw::pow()</a>, and <a class="el" href="arx_8h-source.html#l00041">V</a>.</p> 207 215 208 216 </div> … … 229 237 <dl class="return" compact><dt><b>Returns:</b></dt><dd>indeces of accepted regressors. </dd></dl> 230 238 231 <p>References <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="arx_8h-source.html#l00039">est</a>, <a class="el" href="libEF_8cpp-source.html#l00044">egiw::lognc()</a>, and <a class="el" href="libBM_8h-source.html#l00 276">BM::rv</a>.</p>239 <p>References <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="arx_8h-source.html#l00039">est</a>, <a class="el" href="libEF_8cpp-source.html#l00044">egiw::lognc()</a>, and <a class="el" href="libBM_8h-source.html#l00303">BM::rv</a>.</p> 232 240 233 241 </div> … … 236 244 <li>work/git/mixpp/bdm/estim/<a class="el" href="arx_8h-source.html">arx.h</a><li>work/git/mixpp/bdm/estim/arx.cpp</ul> 237 245 </div> 238 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 246 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 239 247 <a href="http://www.doxygen.org/index.html"> 240 248 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classAssertXercesIsAlive-members.html ¶
r171 r180 27 27 <tr class="memlist"><td><a class="el" href="classAssertXercesIsAlive.html#dd36033ed31fe22022e7c56c7770101e">AssertXercesIsAlive</a>()</td><td><a class="el" href="classAssertXercesIsAlive.html">AssertXercesIsAlive</a></td><td><code> [inline]</code></td></tr> 28 28 </table></div> 29 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 29 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 30 30 <a href="http://www.doxygen.org/index.html"> 31 31 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classAssertXercesIsAlive.html ¶
r171 r180 49 49 <li>work/git/mixpp/bdm/<a class="el" href="userinfo_8h-source.html">userinfo.h</a></ul> 50 50 </div> 51 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 51 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 52 52 <a href="http://www.doxygen.org/index.html"> 53 53 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classAttribute-members.html ¶
r171 r180 33 33 <tr bgcolor="#f0f0f0"><td><b>~Attribute</b>() (defined in <a class="el" href="classAttribute.html">Attribute</a>)</td><td><a class="el" href="classAttribute.html">Attribute</a></td><td></td></tr> 34 34 </table></div> 35 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 35 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 36 36 <a href="http://www.doxygen.org/index.html"> 37 37 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classAttribute.html ¶
r171 r180 71 71 <li>work/git/mixpp/bdm/<a class="el" href="userinfo_8h-source.html">userinfo.h</a><li>work/git/mixpp/bdm/userinfo.cpp</ul> 72 72 </div> 73 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 73 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 74 74 <a href="http://www.doxygen.org/index.html"> 75 75 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classBM-members.html ¶
r171 r180 36 36 <tr class="memlist"><td><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 37 37 <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 38 <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> 39 <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 38 40 <tr class="memlist"><td><a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 39 41 <tr class="memlist"><td><a class="el" href="classBM.html#1ffa9f23669aabecc3760c06c6987522">set_evalll</a>(bool evl0)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> 40 42 <tr class="memlist"><td><a class="el" href="classBM.html#ca0f02b3b4144e0895cc14f7e0374bdd">~BM</a>()</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 41 43 </table></div> 42 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 44 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by 43 45 <a href="http://www.doxygen.org/index.html"> 44 46 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classBM.html ¶
r171 r180 69 69 <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> 70 70 71 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd0660f2a1a344b56ac39802708ff165"></a><!-- doxytag: member="BM::logpred_m" ref="cd0660f2a1a344b56ac39802708ff165" args="(const mat &dt) const " --> 72 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &dt) const </td></tr> 73 74 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 75 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="BM::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &rv)" --> 76 virtual <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr> 77 78 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 71 79 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ca0f02b3b4144e0895cc14f7e0374bdd"></a><!-- doxytag: member="BM::~BM" ref="ca0f02b3b4144e0895cc14f7e0374bdd" args="()" --> 72 80 virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#ca0f02b3b4144e0895cc14f7e0374bdd">~BM</a> ()</td></tr> … … 132 140 <p>Implemented in <a class="el" href="classARX.html#ba82c956ca893826811aefe1e4af465d">ARX</a>, <a class="el" href="classKalman.html#7750ffd73f261828a32c18aaeb65c75c">Kalman< sq_T ></a>, <a class="el" href="classKalmanCh.html#cca758192846940409822b9bd778d4e1">KalmanCh</a>, <a class="el" href="classEKFfull.html#8ca46f177e395fa714bbd8bd29ea43e0">EKFfull</a>, <a class="el" href="classEKF.html#c79c62c9b3e0b56b3aaa1b6f1d9a7af7">EKF< sq_T ></a>, <a class="el" href="classEKFCh.html#96f6edda324a0b7ef8b4e86cc7af60c1">EKFCh</a>, <a class="el" href="classPF.html#64f636bbd63bea9efd778214e6b631d3">PF</a>, <a class="el" href="classMPF.html#55daf8e4b6553dd9f47c692de7931623">MPF< BM_T ></a>, <a class="el" href="classMixEF.html#d520fb534aa43f3084ff1568ffe7573d">MixEF</a>, <a class="el" href="classBMEF.html#52b7719312d545215cca1ff87722a35a">BMEF</a>, <a class="el" href="classmultiBM.html#11eeba7e97954e316e959116f90d80e2">multiBM</a>, <a class="el" href="classEKFfixed.html#ddf5334bc1207658fd53698fffbac028">EKFfixed</a>, <a class="el" href="classKalman.html#7750ffd73f261828a32c18aaeb65c75c">Kalman< ldmat ></a>, <a class="el" href="classKalman.html#7750ffd73f261828a32c18aaeb65c75c">Kalman< chmat ></a>, and <a class="el" href="classKalman.html#7750ffd73f261828a32c18aaeb65c75c">Kalman< fsqmat ></a>.</p> 133 141 134 <p>Referenced by <a class="el" href="libBM_8cpp-source.html#l00 185">bayesB()</a>.</p>142 <p>Referenced by <a class="el" href="libBM_8cpp-source.html#l00218">bayesB()</a>.</p> 135 143 136 144 </div> … … 156 164 <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> 157 165 166 <p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">logpred_m()</a>.</p> 167 158 168 </div> 159 169 </div><p> … … 176 186 <p> 177 187 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; } 178 <p>Reimplemented in <a class="el" href="classARX.html# d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>179 180 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF:: MixEF()</a>.</p>188 <p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p> 189 190 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p> 181 191 182 192 </div> … … 185 195 <li>work/git/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a><li>work/git/mixpp/bdm/stat/libBM.cpp</ul> 186 196 </div> 187 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 197 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by 188 198 <a href="http://www.doxygen.org/index.html"> 189 199 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classBMEF-members.html ¶
r171 r180 42 42 <tr class="memlist"><td><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 43 43 <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 44 <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> 45 <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 44 46 <tr class="memlist"><td><a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 45 47 <tr class="memlist"><td><a class="el" href="classBM.html#1ffa9f23669aabecc3760c06c6987522">set_evalll</a>(bool evl0)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> … … 47 49 <tr class="memlist"><td><a class="el" href="classBM.html#ca0f02b3b4144e0895cc14f7e0374bdd">~BM</a>()</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 48 50 </table></div> 49 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 51 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by 50 52 <a href="http://www.doxygen.org/index.html"> 51 53 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classBMEF.html ¶
r171 r180 81 81 <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> 82 82 83 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd0660f2a1a344b56ac39802708ff165"></a><!-- doxytag: member="BMEF::logpred_m" ref="cd0660f2a1a344b56ac39802708ff165" args="(const mat &dt) const " --> 84 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &dt) const </td></tr> 85 86 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 87 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="BMEF::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &rv)" --> 88 virtual <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr> 89 90 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 83 91 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="BMEF::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " --> 84 92 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> … … 172 180 <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> 173 181 182 <p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p> 183 174 184 </div> 175 185 </div><p> … … 192 202 <p> 193 203 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; } 194 <p>Reimplemented in <a class="el" href="classARX.html# d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>195 196 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF:: MixEF()</a>.</p>204 <p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p> 205 206 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p> 197 207 198 208 </div> … … 201 211 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a><li>work/git/mixpp/bdm/stat/libEF.cpp</ul> 202 212 </div> 203 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 213 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by 204 214 <a href="http://www.doxygen.org/index.html"> 205 215 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classBMcond-members.html ¶
r171 r180 31 31 <tr class="memlist"><td><a class="el" href="classBMcond.html#d40c72250cf93640f982d06de20815b2">~BMcond</a>()</td><td><a class="el" href="classBMcond.html">BMcond</a></td><td><code> [inline, virtual]</code></td></tr> 32 32 </table></div> 33 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 33 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by 34 34 <a href="http://www.doxygen.org/index.html"> 35 35 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classBMcond.html ¶
r171 r180 77 77 <li>work/git/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul> 78 78 </div> 79 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 79 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by 80 80 <a href="http://www.doxygen.org/index.html"> 81 81 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classBindingFrame-members.html ¶
r171 r180 32 32 <tr class="memlist"><td><a class="el" href="classBindingFrame.html#2244bd5181c3d1e70f3a6be2b72e9424">XMLCh2str</a>(const XMLCh *const XMLCh_str)</td><td><a class="el" href="classBindingFrame.html">BindingFrame</a></td><td><code> [protected]</code></td></tr> 33 33 </table></div> 34 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 34 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 35 35 <a href="http://www.doxygen.org/index.html"> 36 36 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classBindingFrame.html ¶
r171 r180 98 98 <li>work/git/mixpp/bdm/<a class="el" href="userinfo_8h-source.html">userinfo.h</a><li>work/git/mixpp/bdm/userinfo.cpp</ul> 99 99 </div> 100 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 100 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 101 101 <a href="http://www.doxygen.org/index.html"> 102 102 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classCompoundUserInfo-members.html ¶
r171 r180 37 37 <tr class="memlist"><td><a class="el" href="classTypedUserInfo.html#b1bb67b76a677f0cf33e923fd9147e9a">~TypedUserInfo</a>()</td><td><a class="el" href="classTypedUserInfo.html">TypedUserInfo< T ></a></td><td><code> [inline, protected]</code></td></tr> 38 38 </table></div> 39 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 39 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by 40 40 <a href="http://www.doxygen.org/index.html"> 41 41 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classCompoundUserInfo.html ¶
r171 r180 241 241 <li>work/git/mixpp/bdm/<a class="el" href="userinfo_8h-source.html">userinfo.h</a></ul> 242 242 </div> 243 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 243 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by 244 244 <a href="http://www.doxygen.org/index.html"> 245 245 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classCompoundUserInfo_1_1BindedElement-members.html ¶
r171 r180 36 36 <tr bgcolor="#f0f0f0"><td><b>~BindedElement</b>() (defined in <a class="el" href="classCompoundUserInfo_1_1BindedElement.html">CompoundUserInfo< T >::BindedElement< U ></a>)</td><td><a class="el" href="classCompoundUserInfo_1_1BindedElement.html">CompoundUserInfo< T >::BindedElement< U ></a></td><td><code> [inline]</code></td></tr> 37 37 </table></div> 38 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 38 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by 39 39 <a href="http://www.doxygen.org/index.html"> 40 40 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classCompoundUserInfo_1_1BindedElement.html ¶
r171 r180 116 116 <li>work/git/mixpp/bdm/<a class="el" href="userinfo_8h-source.html">userinfo.h</a></ul> 117 117 </div> 118 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 118 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by 119 119 <a href="http://www.doxygen.org/index.html"> 120 120 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classDS-members.html ¶
r171 r180 34 34 <tr class="memlist"><td><a class="el" href="classDS.html#f4ae51a3bc1267a6a52fc229973afe85">write</a>(vec &ut, ivec &indeces)</td><td><a class="el" href="classDS.html">DS</a></td><td></td></tr> 35 35 </table></div> 36 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 36 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by 37 37 <a href="http://www.doxygen.org/index.html"> 38 38 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classDS.html ¶
r171 r180 121 121 <li>work/git/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul> 122 122 </div> 123 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 123 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by 124 124 <a href="http://www.doxygen.org/index.html"> 125 125 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classEKF-members.html ¶
r171 r180 55 55 <tr class="memlist"><td><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 56 56 <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 57 <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> 58 <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 57 59 <tr class="memlist"><td><a class="el" href="classKalman.html#9b69015c800eb93f3ee49da23a6f55d9">Q</a></td><td><a class="el" href="classKalman.html">Kalman< fsqmat ></a></td><td><code> [protected]</code></td></tr> 58 60 <tr class="memlist"><td><a class="el" href="classKalman.html#11d171dc0e0ab111c56a70f98b97b3ec">R</a></td><td><a class="el" href="classKalman.html">Kalman< fsqmat ></a></td><td><code> [protected]</code></td></tr> … … 66 68 <tr class="memlist"><td><a class="el" href="classBM.html#ca0f02b3b4144e0895cc14f7e0374bdd">~BM</a>()</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 67 69 </table></div> 68 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:502008 for mixpp by 70 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by 69 71 <a href="http://www.doxygen.org/index.html"> 70 72 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classEKF.html ¶
r171 r180 86 86 <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> 87 87 88 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd0660f2a1a344b56ac39802708ff165"></a><!-- doxytag: member="EKF::logpred_m" ref="cd0660f2a1a344b56ac39802708ff165" args="(const mat &dt) const " --> 89 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &dt) const </td></tr> 90 91 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 92 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="EKF::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &rv)" --> 93 virtual <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr> 94 95 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 88 96 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="EKF::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " --> 89 97 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> … … 213 221 <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> 214 222 223 <p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p> 224 215 225 </div> 216 226 </div><p> … … 233 243 <p> 234 244 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; } 235 <p>Reimplemented in <a class="el" href="classARX.html# d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>236 237 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF:: MixEF()</a>.</p>245 <p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p> 246 247 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p> 238 248 239 249 </div> … … 242 252 <li>work/git/mixpp/bdm/estim/<a class="el" href="libKF_8h-source.html">libKF.h</a></ul> 243 253 </div> 244 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:502008 for mixpp by 254 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by 245 255 <a href="http://www.doxygen.org/index.html"> 246 256 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classEKFCh-members.html ¶
r171 r180 56 56 <tr class="memlist"><td><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 57 57 <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 58 <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> 58 59 <tr class="memlist"><td><a class="el" href="classKalmanCh.html#0d31a26dc72b5846cfe5af3ccb63ac87">postA</a></td><td><a class="el" href="classKalmanCh.html">KalmanCh</a></td><td><code> [protected]</code></td></tr> 59 60 <tr class="memlist"><td><a class="el" href="classKalmanCh.html#94ee9da75b0e0f632e4a354988ca3798">preA</a></td><td><a class="el" href="classKalmanCh.html">KalmanCh</a></td><td><code> [protected]</code></td></tr> 61 <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 60 62 <tr class="memlist"><td><a class="el" href="classKalman.html#9b69015c800eb93f3ee49da23a6f55d9">Q</a></td><td><a class="el" href="classKalman.html">Kalman< chmat ></a></td><td><code> [protected]</code></td></tr> 61 63 <tr class="memlist"><td><a class="el" href="classKalman.html#11d171dc0e0ab111c56a70f98b97b3ec">R</a></td><td><a class="el" href="classKalman.html">Kalman< chmat ></a></td><td><code> [protected]</code></td></tr> … … 69 71 <tr class="memlist"><td><a class="el" href="classBM.html#ca0f02b3b4144e0895cc14f7e0374bdd">~BM</a>()</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 70 72 </table></div> 71 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:512008 for mixpp by 73 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by 72 74 <a href="http://www.doxygen.org/index.html"> 73 75 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classEKFCh.html ¶
r171 r180 86 86 <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> 87 87 88 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd0660f2a1a344b56ac39802708ff165"></a><!-- doxytag: member="EKFCh::logpred_m" ref="cd0660f2a1a344b56ac39802708ff165" args="(const mat &dt) const " --> 89 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &dt) const </td></tr> 90 91 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 92 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="EKFCh::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &rv)" --> 93 virtual <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr> 94 95 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 88 96 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="EKFCh::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " --> 89 97 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> … … 218 226 <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> 219 227 228 <p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p> 229 220 230 </div> 221 231 </div><p> … … 238 248 <p> 239 249 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; } 240 <p>Reimplemented in <a class="el" href="classARX.html# d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>241 242 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF:: MixEF()</a>.</p>250 <p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p> 251 252 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p> 243 253 244 254 </div> … … 247 257 <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> 248 258 </div> 249 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:512008 for mixpp by 259 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by 250 260 <a href="http://www.doxygen.org/index.html"> 251 261 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classEKF__unQ-members.html ¶
r171 r180 65 65 <tr class="memlist"><td><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 66 66 <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 67 <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> 67 68 <tr class="memlist"><td><a class="el" href="classKalmanCh.html#0d31a26dc72b5846cfe5af3ccb63ac87">postA</a></td><td><a class="el" href="classKalmanCh.html">KalmanCh</a></td><td><code> [protected]</code></td></tr> 68 69 <tr class="memlist"><td><a class="el" href="classKalmanCh.html#94ee9da75b0e0f632e4a354988ca3798">preA</a></td><td><a class="el" href="classKalmanCh.html">KalmanCh</a></td><td><code> [protected]</code></td></tr> 70 <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 69 71 <tr class="memlist"><td><a class="el" href="classKalman.html#9b69015c800eb93f3ee49da23a6f55d9">Q</a></td><td><a class="el" href="classKalman.html">Kalman< chmat ></a></td><td><code> [protected]</code></td></tr> 70 72 <tr class="memlist"><td><a class="el" href="classKalman.html#11d171dc0e0ab111c56a70f98b97b3ec">R</a></td><td><a class="el" href="classKalman.html">Kalman< chmat ></a></td><td><code> [protected]</code></td></tr> … … 80 82 <tr class="memlist"><td><a class="el" href="classBMcond.html#d40c72250cf93640f982d06de20815b2">~BMcond</a>()</td><td><a class="el" href="classBMcond.html">BMcond</a></td><td><code> [inline, virtual]</code></td></tr> 81 83 </table></div> 82 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:502008 for mixpp by 84 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by 83 85 <a href="http://www.doxygen.org/index.html"> 84 86 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classEKF__unQ.html ¶
r171 r180 107 107 <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> 108 108 109 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd0660f2a1a344b56ac39802708ff165"></a><!-- doxytag: member="EKF_unQ::logpred_m" ref="cd0660f2a1a344b56ac39802708ff165" args="(const mat &dt) const " --> 110 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &dt) const </td></tr> 111 112 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 113 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="EKF_unQ::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &rv)" --> 114 virtual <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr> 115 116 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 109 117 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="EKF_unQ::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " --> 110 118 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> … … 245 253 <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> 246 254 255 <p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p> 256 247 257 </div> 248 258 </div><p> … … 265 275 <p> 266 276 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; } 267 <p>Reimplemented in <a class="el" href="classARX.html# d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>268 269 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF:: MixEF()</a>.</p>277 <p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p> 278 279 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p> 270 280 271 281 </div> … … 274 284 <li>work/git/mixpp/pmsm/pmsm_sim.cpp<li>work/git/mixpp/pmsm/pmsm_sim2.cpp<li>work/git/mixpp/pmsm/pmsm_unkQpf.cpp</ul> 275 285 </div> 276 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:502008 for mixpp by 286 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by 277 287 <a href="http://www.doxygen.org/index.html"> 278 288 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classEKFfixed-members.html ¶
r171 r180 51 51 <tr class="memlist"><td><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 52 52 <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 53 <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> 53 54 <tr bgcolor="#f0f0f0"><td><b>P_est</b> (defined in <a class="el" href="classEKFfixed.html">EKFfixed</a>)</td><td><a class="el" href="classEKFfixed.html">EKFfixed</a></td><td></td></tr> 54 55 <tr bgcolor="#f0f0f0"><td><b>P_pred</b> (defined in <a class="el" href="classEKFfixed.html">EKFfixed</a>)</td><td><a class="el" href="classEKFfixed.html">EKFfixed</a></td><td></td></tr> 55 56 <tr bgcolor="#f0f0f0"><td><b>prediction</b>(int *ux) (defined in <a class="el" href="classEKFfixed.html">EKFfixed</a>)</td><td><a class="el" href="classEKFfixed.html">EKFfixed</a></td><td></td></tr> 57 <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 56 58 <tr bgcolor="#f0f0f0"><td><b>PSI</b> (defined in <a class="el" href="classEKFfixed.html">EKFfixed</a>)</td><td><a class="el" href="classEKFfixed.html">EKFfixed</a></td><td></td></tr> 57 59 <tr bgcolor="#f0f0f0"><td><b>Q</b> (defined in <a class="el" href="classEKFfixed.html">EKFfixed</a>)</td><td><a class="el" href="classEKFfixed.html">EKFfixed</a></td><td></td></tr> … … 71 73 <tr class="memlist"><td><a class="el" href="classBMcond.html#d40c72250cf93640f982d06de20815b2">~BMcond</a>()</td><td><a class="el" href="classBMcond.html">BMcond</a></td><td><code> [inline, virtual]</code></td></tr> 72 74 </table></div> 73 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:512008 for mixpp by 75 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by 74 76 <a href="http://www.doxygen.org/index.html"> 75 77 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classEKFfixed.html ¶
r171 r180 89 89 <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> 90 90 91 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd0660f2a1a344b56ac39802708ff165"></a><!-- doxytag: member="EKFfixed::logpred_m" ref="cd0660f2a1a344b56ac39802708ff165" args="(const mat &dt) const " --> 92 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &dt) const </td></tr> 93 94 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 95 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="EKFfixed::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &rv)" --> 96 virtual <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr> 97 98 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 91 99 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="EKFfixed::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " --> 92 100 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> … … 207 215 <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> 208 216 217 <p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p> 218 209 219 </div> 210 220 </div><p> … … 227 237 <p> 228 238 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; } 229 <p>Reimplemented in <a class="el" href="classARX.html# d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>230 231 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF:: MixEF()</a>.</p>239 <p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p> 240 241 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p> 232 242 233 243 </div> … … 236 246 <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> 237 247 </div> 238 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:512008 for mixpp by 248 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by 239 249 <a href="http://www.doxygen.org/index.html"> 240 250 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classEKFful__unQR-members.html ¶
r171 r180 56 56 <tr class="memlist"><td><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">BM::ll</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 57 57 <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 58 <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> 58 59 <tr class="memlist"><td><a class="el" href="classKalmanFull.html#fb5aec635e2720cc5ac31bc01c18a68a">mu</a></td><td><a class="el" href="classKalmanFull.html">KalmanFull</a></td><td></td></tr> 59 60 <tr class="memlist"><td><a class="el" href="classKalmanFull.html#86ba216243ed95bb46d80d88775d16af">operator<<</a>(std::ostream &os, const KalmanFull &kf)</td><td><a class="el" href="classKalmanFull.html">KalmanFull</a></td><td><code> [friend]</code></td></tr> 60 61 <tr class="memlist"><td><a class="el" href="classKalmanFull.html#b75dc059e84fa8ffc076203b30f926cc">P</a></td><td><a class="el" href="classKalmanFull.html">KalmanFull</a></td><td></td></tr> 62 <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 61 63 <tr bgcolor="#f0f0f0"><td><b>Q</b> (defined in <a class="el" href="classKalmanFull.html">KalmanFull</a>)</td><td><a class="el" href="classKalmanFull.html">KalmanFull</a></td><td><code> [protected]</code></td></tr> 62 64 <tr bgcolor="#f0f0f0"><td><b>R</b> (defined in <a class="el" href="classKalmanFull.html">KalmanFull</a>)</td><td><a class="el" href="classKalmanFull.html">KalmanFull</a></td><td><code> [protected]</code></td></tr> … … 69 71 <tr class="memlist"><td><a class="el" href="classBMcond.html#d40c72250cf93640f982d06de20815b2">~BMcond</a>()</td><td><a class="el" href="classBMcond.html">BMcond</a></td><td><code> [inline, virtual]</code></td></tr> 70 72 </table></div> 71 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:512008 for mixpp by 73 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by 72 74 <a href="http://www.doxygen.org/index.html"> 73 75 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classEKFful__unQR.html ¶
r171 r180 78 78 <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> 79 79 80 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd0660f2a1a344b56ac39802708ff165"></a><!-- doxytag: member="EKFful_unQR::logpred_m" ref="cd0660f2a1a344b56ac39802708ff165" args="(const mat &dt) const " --> 81 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &dt) const </td></tr> 82 83 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 84 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="EKFful_unQR::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &rv)" --> 85 virtual <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr> 86 87 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 80 88 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="EKFful_unQR::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " --> 81 89 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> … … 195 203 <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> 196 204 205 <p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p> 206 197 207 </div> 198 208 </div><p> … … 215 225 <p> 216 226 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; } 217 <p>Reimplemented in <a class="el" href="classARX.html# d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>218 219 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF:: MixEF()</a>.</p>227 <p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p> 228 229 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p> 220 230 221 231 </div> … … 224 234 <li>work/git/mixpp/bdm/estim/<a class="el" href="ekf__templ_8h-source.html">ekf_templ.h</a></ul> 225 235 </div> 226 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:512008 for mixpp by 236 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by 227 237 <a href="http://www.doxygen.org/index.html"> 228 238 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classEKFfull-members.html ¶
r171 r180 52 52 <tr class="memlist"><td><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">BM::ll</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 53 53 <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 54 <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> 54 55 <tr class="memlist"><td><a class="el" href="classKalmanFull.html#fb5aec635e2720cc5ac31bc01c18a68a">mu</a></td><td><a class="el" href="classKalmanFull.html">KalmanFull</a></td><td></td></tr> 55 56 <tr class="memlist"><td><a class="el" href="classKalmanFull.html#86ba216243ed95bb46d80d88775d16af">operator<<</a>(std::ostream &os, const KalmanFull &kf)</td><td><a class="el" href="classKalmanFull.html">KalmanFull</a></td><td><code> [friend]</code></td></tr> 56 57 <tr class="memlist"><td><a class="el" href="classKalmanFull.html#b75dc059e84fa8ffc076203b30f926cc">P</a></td><td><a class="el" href="classKalmanFull.html">KalmanFull</a></td><td></td></tr> 58 <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 57 59 <tr bgcolor="#f0f0f0"><td><b>Q</b> (defined in <a class="el" href="classKalmanFull.html">KalmanFull</a>)</td><td><a class="el" href="classKalmanFull.html">KalmanFull</a></td><td><code> [protected]</code></td></tr> 58 60 <tr bgcolor="#f0f0f0"><td><b>R</b> (defined in <a class="el" href="classKalmanFull.html">KalmanFull</a>)</td><td><a class="el" href="classKalmanFull.html">KalmanFull</a></td><td><code> [protected]</code></td></tr> … … 63 65 <tr class="memlist"><td><a class="el" href="classBM.html#ca0f02b3b4144e0895cc14f7e0374bdd">~BM</a>()</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 64 66 </table></div> 65 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:512008 for mixpp by 67 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by 66 68 <a href="http://www.doxygen.org/index.html"> 67 69 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classEKFfull.html ¶
r171 r180 74 74 <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> 75 75 76 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd0660f2a1a344b56ac39802708ff165"></a><!-- doxytag: member="EKFfull::logpred_m" ref="cd0660f2a1a344b56ac39802708ff165" args="(const mat &dt) const " --> 77 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &dt) const </td></tr> 78 79 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 80 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="EKFfull::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &rv)" --> 81 virtual <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr> 82 83 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 76 84 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="EKFfull::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " --> 77 85 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> … … 185 193 <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> 186 194 195 <p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p> 196 187 197 </div> 188 198 </div><p> … … 205 215 <p> 206 216 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; } 207 <p>Reimplemented in <a class="el" href="classARX.html# d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>208 209 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF:: MixEF()</a>.</p>217 <p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p> 218 219 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p> 210 220 211 221 </div> … … 214 224 <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> 215 225 </div> 216 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:512008 for mixpp by 226 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by 217 227 <a href="http://www.doxygen.org/index.html"> 218 228 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classIMpmsm-members.html ¶
r171 r180 51 51 <tr class="memlist"><td><a class="el" href="classfnc.html#17164c202f6feee3d708b8caab6306ab">~fnc</a>()</td><td><a class="el" href="classfnc.html">fnc</a></td><td><code> [inline, virtual]</code></td></tr> 52 52 </table></div> 53 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 53 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by 54 54 <a href="http://www.doxygen.org/index.html"> 55 55 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classIMpmsm.html ¶
r171 r180 235 235 <li>work/git/mixpp/pmsm/<a class="el" href="pmsm_8h-source.html">pmsm.h</a></ul> 236 236 </div> 237 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 237 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by 238 238 <a href="http://www.doxygen.org/index.html"> 239 239 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classIMpmsmStat-members.html ¶
r171 r180 47 47 <tr class="memlist"><td><a class="el" href="classfnc.html#17164c202f6feee3d708b8caab6306ab">~fnc</a>()</td><td><a class="el" href="classfnc.html">fnc</a></td><td><code> [inline, virtual]</code></td></tr> 48 48 </table></div> 49 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 49 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by 50 50 <a href="http://www.doxygen.org/index.html"> 51 51 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classIMpmsmStat.html ¶
r171 r180 114 114 <li>work/git/mixpp/pmsm/<a class="el" href="pmsm_8h-source.html">pmsm.h</a></ul> 115 115 </div> 116 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 116 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by 117 117 <a href="http://www.doxygen.org/index.html"> 118 118 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classKFcondQR-members.html ¶
r171 r180 58 58 <tr class="memlist"><td><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 59 59 <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 60 <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> 61 <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 60 62 <tr class="memlist"><td><a class="el" href="classKalman.html#9b69015c800eb93f3ee49da23a6f55d9">Q</a></td><td><a class="el" href="classKalman.html">Kalman< ldmat ></a></td><td><code> [protected]</code></td></tr> 61 63 <tr class="memlist"><td><a class="el" href="classKalman.html#11d171dc0e0ab111c56a70f98b97b3ec">R</a></td><td><a class="el" href="classKalman.html">Kalman< ldmat ></a></td><td><code> [protected]</code></td></tr> … … 70 72 <tr class="memlist"><td><a class="el" href="classBMcond.html#d40c72250cf93640f982d06de20815b2">~BMcond</a>()</td><td><a class="el" href="classBMcond.html">BMcond</a></td><td><code> [inline, virtual]</code></td></tr> 71 73 </table></div> 72 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 74 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by 73 75 <a href="http://www.doxygen.org/index.html"> 74 76 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classKFcondQR.html ¶
r171 r180 86 86 <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> 87 87 88 <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 " --> 89 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &dt) const </td></tr> 90 91 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 92 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="KFcondQR::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &rv)" --> 93 virtual <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr> 94 95 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 88 96 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="KFcondQR::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " --> 89 97 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> … … 216 224 <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> 217 225 226 <p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p> 227 218 228 </div> 219 229 </div><p> … … 236 246 <p> 237 247 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; } 238 <p>Reimplemented in <a class="el" href="classARX.html# d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>239 240 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF:: MixEF()</a>.</p>248 <p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p> 249 250 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p> 241 251 242 252 </div> … … 245 255 <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> 246 256 </div> 247 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 257 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by 248 258 <a href="http://www.doxygen.org/index.html"> 249 259 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classKFcondR-members.html ¶
r171 r180 58 58 <tr class="memlist"><td><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 59 59 <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 60 <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> 61 <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 60 62 <tr class="memlist"><td><a class="el" href="classKalman.html#9b69015c800eb93f3ee49da23a6f55d9">Q</a></td><td><a class="el" href="classKalman.html">Kalman< ldmat ></a></td><td><code> [protected]</code></td></tr> 61 63 <tr class="memlist"><td><a class="el" href="classKalman.html#11d171dc0e0ab111c56a70f98b97b3ec">R</a></td><td><a class="el" href="classKalman.html">Kalman< ldmat ></a></td><td><code> [protected]</code></td></tr> … … 70 72 <tr class="memlist"><td><a class="el" href="classBMcond.html#d40c72250cf93640f982d06de20815b2">~BMcond</a>()</td><td><a class="el" href="classBMcond.html">BMcond</a></td><td><code> [inline, virtual]</code></td></tr> 71 73 </table></div> 72 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:532008 for mixpp by 74 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by 73 75 <a href="http://www.doxygen.org/index.html"> 74 76 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classKFcondR.html ¶
r171 r180 86 86 <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> 87 87 88 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd0660f2a1a344b56ac39802708ff165"></a><!-- doxytag: member="KFcondR::logpred_m" ref="cd0660f2a1a344b56ac39802708ff165" args="(const mat &dt) const " --> 89 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &dt) const </td></tr> 90 91 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 92 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="KFcondR::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &rv)" --> 93 virtual <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr> 94 95 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 88 96 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="KFcondR::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " --> 89 97 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> … … 216 224 <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> 217 225 226 <p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p> 227 218 228 </div> 219 229 </div><p> … … 236 246 <p> 237 247 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; } 238 <p>Reimplemented in <a class="el" href="classARX.html# d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>239 240 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF:: MixEF()</a>.</p>248 <p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p> 249 250 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p> 241 251 242 252 </div> … … 245 255 <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> 246 256 </div> 247 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:532008 for mixpp by 257 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by 248 258 <a href="http://www.doxygen.org/index.html"> 249 259 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classKalman-members.html ¶
r171 r180 54 54 <tr class="memlist"><td><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 55 55 <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 56 <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> 57 <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 56 58 <tr class="memlist"><td><a class="el" href="classKalman.html#9b69015c800eb93f3ee49da23a6f55d9">Q</a></td><td><a class="el" href="classKalman.html">Kalman< sq_T ></a></td><td><code> [protected]</code></td></tr> 57 59 <tr class="memlist"><td><a class="el" href="classKalman.html#11d171dc0e0ab111c56a70f98b97b3ec">R</a></td><td><a class="el" href="classKalman.html">Kalman< sq_T ></a></td><td><code> [protected]</code></td></tr> … … 64 66 <tr class="memlist"><td><a class="el" href="classBM.html#ca0f02b3b4144e0895cc14f7e0374bdd">~BM</a>()</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 65 67 </table></div> 66 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 68 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by 67 69 <a href="http://www.doxygen.org/index.html"> 68 70 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classKalman.html ¶
r171 r180 86 86 <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> 87 87 88 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd0660f2a1a344b56ac39802708ff165"></a><!-- doxytag: member="Kalman::logpred_m" ref="cd0660f2a1a344b56ac39802708ff165" args="(const mat &dt) const " --> 89 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &dt) const </td></tr> 90 91 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 92 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="Kalman::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &rv)" --> 93 virtual <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr> 94 95 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 88 96 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="Kalman::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " --> 89 97 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> … … 219 227 <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> 220 228 229 <p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p> 230 221 231 </div> 222 232 </div><p> … … 239 249 <p> 240 250 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; } 241 <p>Reimplemented in <a class="el" href="classARX.html# d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>242 243 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF:: MixEF()</a>.</p>251 <p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p> 252 253 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p> 244 254 245 255 </div> … … 248 258 <li>work/git/mixpp/bdm/estim/<a class="el" href="libKF_8h-source.html">libKF.h</a></ul> 249 259 </div> 250 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 260 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by 251 261 <a href="http://www.doxygen.org/index.html"> 252 262 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classKalmanCh-members.html ¶
r171 r180 55 55 <tr class="memlist"><td><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 56 56 <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 57 <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> 57 58 <tr class="memlist"><td><a class="el" href="classKalmanCh.html#0d31a26dc72b5846cfe5af3ccb63ac87">postA</a></td><td><a class="el" href="classKalmanCh.html">KalmanCh</a></td><td><code> [protected]</code></td></tr> 58 59 <tr class="memlist"><td><a class="el" href="classKalmanCh.html#94ee9da75b0e0f632e4a354988ca3798">preA</a></td><td><a class="el" href="classKalmanCh.html">KalmanCh</a></td><td><code> [protected]</code></td></tr> 60 <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 59 61 <tr class="memlist"><td><a class="el" href="classKalman.html#9b69015c800eb93f3ee49da23a6f55d9">Q</a></td><td><a class="el" href="classKalman.html">Kalman< chmat ></a></td><td><code> [protected]</code></td></tr> 60 62 <tr class="memlist"><td><a class="el" href="classKalman.html#11d171dc0e0ab111c56a70f98b97b3ec">R</a></td><td><a class="el" href="classKalman.html">Kalman< chmat ></a></td><td><code> [protected]</code></td></tr> … … 67 69 <tr class="memlist"><td><a class="el" href="classBM.html#ca0f02b3b4144e0895cc14f7e0374bdd">~BM</a>()</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 68 70 </table></div> 69 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 71 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by 70 72 <a href="http://www.doxygen.org/index.html"> 71 73 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classKalmanCh.html ¶
r171 r180 81 81 <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> 82 82 83 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd0660f2a1a344b56ac39802708ff165"></a><!-- doxytag: member="KalmanCh::logpred_m" ref="cd0660f2a1a344b56ac39802708ff165" args="(const mat &dt) const " --> 84 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &dt) const </td></tr> 85 86 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 87 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="KalmanCh::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &rv)" --> 88 virtual <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr> 89 90 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 83 91 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="KalmanCh::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " --> 84 92 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> … … 219 227 <p>Reimplemented in <a class="el" href="classEKFCh.html#96f6edda324a0b7ef8b4e86cc7af60c1">EKFCh</a>.</p> 220 228 221 <p>References <a class="el" href="chmat_8h-source.html#l00066">chmat::_Ch()</a>, <a class="el" href="libKF_8h-source.html#l00095">Kalman< chmat >::_K</a>, <a class="el" href="libKF_8h-source.html#l00101">Kalman< chmat >::_mu</a>, <a class="el" href="libKF_8h-source.html#l00103">Kalman< chmat >::_P</a>, <a class="el" href="libKF_8h-source.html#l00099">Kalman< chmat >::_Ry</a>, <a class="el" href="libKF_8h-source.html#l00097">Kalman< chmat >::_yp</a>, <a class="el" href="libKF_8h-source.html#l00077">Kalman< chmat >::A</a>, <a class="el" href="libKF_8h-source.html#l00079">Kalman< chmat >::B</a>, <a class="el" href="libKF_8h-source.html#l00081">Kalman< chmat >::C</a>, <a class="el" href="libKF_8h-source.html#l00083">Kalman< chmat >::D</a>, <a class="el" href="libKF_8h-source.html#l00075">Kalman< chmat >::dimu</a>, <a class="el" href="libKF_8h-source.html#l00071">Kalman< chmat >::dimx</a>, <a class="el" href="libKF_8h-source.html#l00073">Kalman< chmat >::dimy</a>, <a class="el" href="libBM_8h-source.html#l00 280">BM::evalll</a>, <a class="el" href="libEF_8h-source.html#l00521">enorm< sq_T >::evalpdflog()</a>, <a class="el" href="libKF_8h-source.html#l00092">Kalman< chmat >::fy</a>, <a class="el" href="libBM_8h-source.html#l00278">BM::ll</a>, <a class="el" href="libKF_8h-source.html#l00137">postA</a>, <a class="el" href="libKF_8h-source.html#l00135">preA</a>, and <a class="el" href="chmat_8cpp-source.html#l00019">chmat::to_mat()</a>.</p>229 <p>References <a class="el" href="chmat_8h-source.html#l00066">chmat::_Ch()</a>, <a class="el" href="libKF_8h-source.html#l00095">Kalman< chmat >::_K</a>, <a class="el" href="libKF_8h-source.html#l00101">Kalman< chmat >::_mu</a>, <a class="el" href="libKF_8h-source.html#l00103">Kalman< chmat >::_P</a>, <a class="el" href="libKF_8h-source.html#l00099">Kalman< chmat >::_Ry</a>, <a class="el" href="libKF_8h-source.html#l00097">Kalman< chmat >::_yp</a>, <a class="el" href="libKF_8h-source.html#l00077">Kalman< chmat >::A</a>, <a class="el" href="libKF_8h-source.html#l00079">Kalman< chmat >::B</a>, <a class="el" href="libKF_8h-source.html#l00081">Kalman< chmat >::C</a>, <a class="el" href="libKF_8h-source.html#l00083">Kalman< chmat >::D</a>, <a class="el" href="libKF_8h-source.html#l00075">Kalman< chmat >::dimu</a>, <a class="el" href="libKF_8h-source.html#l00071">Kalman< chmat >::dimx</a>, <a class="el" href="libKF_8h-source.html#l00073">Kalman< chmat >::dimy</a>, <a class="el" href="libBM_8h-source.html#l00307">BM::evalll</a>, <a class="el" href="libEF_8h-source.html#l00050">eEF::evalpdflog()</a>, <a class="el" href="libKF_8h-source.html#l00092">Kalman< chmat >::fy</a>, <a class="el" href="libBM_8h-source.html#l00305">BM::ll</a>, <a class="el" href="libKF_8h-source.html#l00137">postA</a>, <a class="el" href="libKF_8h-source.html#l00135">preA</a>, and <a class="el" href="chmat_8cpp-source.html#l00019">chmat::to_mat()</a>.</p> 222 230 223 231 </div> … … 243 251 <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> 244 252 253 <p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p> 254 245 255 </div> 246 256 </div><p> … … 263 273 <p> 264 274 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; } 265 <p>Reimplemented in <a class="el" href="classARX.html# d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>266 267 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF:: MixEF()</a>.</p>275 <p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p> 276 277 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p> 268 278 269 279 </div> … … 272 282 <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> 273 283 </div> 274 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 284 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by 275 285 <a href="http://www.doxygen.org/index.html"> 276 286 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classKalmanFull-members.html ¶
r171 r180 47 47 <tr bgcolor="#f0f0f0"><td><b>R</b> (defined in <a class="el" href="classKalmanFull.html">KalmanFull</a>)</td><td><a class="el" href="classKalmanFull.html">KalmanFull</a></td><td><code> [protected]</code></td></tr> 48 48 </table></div> 49 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 49 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by 50 50 <a href="http://www.doxygen.org/index.html"> 51 51 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classKalmanFull.html ¶
r171 r180 118 118 <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> 119 119 </div> 120 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 120 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by 121 121 <a href="http://www.doxygen.org/index.html"> 122 122 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classMPF-members.html ¶
r171 r180 39 39 <tr class="memlist"><td><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 40 40 <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 41 <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> 41 42 <tr class="memlist"><td><a class="el" href="classMPF.html#fc5e11e11eec3195e3c6503937bf02bd">MPF</a>(const RV &rvlin, const RV &rvpf, mpdf &par0, mpdf &obs0, int n, const BM_T &BMcond0)</td><td><a class="el" href="classMPF.html">MPF< BM_T ></a></td><td><code> [inline]</code></td></tr> 42 43 <tr class="memlist"><td><a class="el" href="classPF.html#2c2f44ed7a4eaa42e07bdb58d503f280">n</a></td><td><a class="el" href="classPF.html">PF</a></td><td><code> [protected]</code></td></tr> … … 44 45 <tr class="memlist"><td><a class="el" href="classPF.html#d92ac103f88f8c21e197e90af5695a09">par</a></td><td><a class="el" href="classPF.html">PF</a></td><td><code> [protected]</code></td></tr> 45 46 <tr class="memlist"><td><a class="el" href="classPF.html#e99f0d866721405dd281e315ecb690aa">PF</a>(const RV &rv0, mpdf &par0, mpdf &obs0, int n0)</td><td><a class="el" href="classPF.html">PF</a></td><td><code> [inline]</code></td></tr> 47 <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 46 48 <tr class="memlist"><td><a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 47 49 <tr class="memlist"><td><a class="el" href="classMPF.html#7c66e1c1c0e45fc4ae765133cb3a1553">set_est</a>(const epdf &epdf0)</td><td><a class="el" href="classMPF.html">MPF< BM_T ></a></td><td><code> [inline]</code></td></tr> … … 51 53 <tr bgcolor="#f0f0f0"><td><b>~MPF</b>() (defined in <a class="el" href="classMPF.html">MPF< BM_T ></a>)</td><td><a class="el" href="classMPF.html">MPF< BM_T ></a></td><td><code> [inline]</code></td></tr> 52 54 </table></div> 53 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:542008 for mixpp by 55 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by 54 56 <a href="http://www.doxygen.org/index.html"> 55 57 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classMPF.html ¶
r171 r180 69 69 <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> 70 70 71 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd0660f2a1a344b56ac39802708ff165"></a><!-- doxytag: member="MPF::logpred_m" ref="cd0660f2a1a344b56ac39802708ff165" args="(const mat &dt) const " --> 72 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &dt) const </td></tr> 73 74 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 75 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="MPF::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &rv)" --> 76 virtual <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr> 77 78 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 71 79 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="MPF::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " --> 72 80 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> … … 165 173 <p>Reimplemented from <a class="el" href="classPF.html#64f636bbd63bea9efd778214e6b631d3">PF</a>.</p> 166 174 167 <p>References <a class="el" href="libPF_8h-source.html#l00040">PF::_samples</a>, <a class="el" href="libPF_8h-source.html#l00038">PF::_w</a>, <a class="el" href="libPF_8h-source.html#l00036">PF::est</a>, <a class="el" href="libPF_8h-source.html#l00034">PF::n</a>, <a class="el" href="libPF_8h-source.html#l00042">PF::par</a>, <a class="el" href="libEF_8cpp-source.html#l00160">eEmp::resample()</a>, and <a class="el" href="libBM_8h-source.html#l00 196">mpdf::samplecond()</a>.</p>175 <p>References <a class="el" href="libPF_8h-source.html#l00040">PF::_samples</a>, <a class="el" href="libPF_8h-source.html#l00038">PF::_w</a>, <a class="el" href="libPF_8h-source.html#l00036">PF::est</a>, <a class="el" href="libPF_8h-source.html#l00034">PF::n</a>, <a class="el" href="libPF_8h-source.html#l00042">PF::par</a>, <a class="el" href="libEF_8cpp-source.html#l00160">eEmp::resample()</a>, and <a class="el" href="libBM_8h-source.html#l00204">mpdf::samplecond()</a>.</p> 168 176 169 177 </div> … … 189 197 <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> 190 198 199 <p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p> 200 191 201 </div> 192 202 </div><p> … … 209 219 <p> 210 220 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; } 211 <p>Reimplemented in <a class="el" href="classARX.html# d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>212 213 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF:: MixEF()</a>.</p>221 <p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p> 222 223 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p> 214 224 215 225 </div> … … 218 228 <li>work/git/mixpp/bdm/estim/<a class="el" href="libPF_8h-source.html">libPF.h</a></ul> 219 229 </div> 220 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:542008 for mixpp by 230 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by 221 231 <a href="http://www.doxygen.org/index.html"> 222 232 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classMemDS-members.html ¶
r171 r180 35 35 <tr class="memlist"><td><a class="el" href="classMemDS.html#6279bf18d44343750747ecc12e050f09">write</a>(vec &ut, ivec &indexes)</td><td><a class="el" href="classMemDS.html">MemDS</a></td><td><code> [inline]</code></td></tr> 36 36 </table></div> 37 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:532008 for mixpp by 37 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by 38 38 <a href="http://www.doxygen.org/index.html"> 39 39 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classMemDS.html ¶
r171 r180 121 121 <p>Reimplemented from <a class="el" href="classDS.html#9a35ca9c9321dce2bf63bf668f785b75">DS</a>.</p> 122 122 123 <p>References <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l002 45">DS::Drv</a>, and <a class="el" href="libBM_8h-source.html#l00247">DS::Urv</a>.</p>123 <p>References <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00272">DS::Drv</a>, and <a class="el" href="libBM_8h-source.html#l00274">DS::Urv</a>.</p> 124 124 125 125 </div> … … 128 128 <li>work/git/mixpp/bdm/stat/<a class="el" href="libDS_8h-source.html">libDS.h</a><li>work/git/mixpp/bdm/stat/libDS.cpp</ul> 129 129 </div> 130 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:532008 for mixpp by 130 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by 131 131 <a href="http://www.doxygen.org/index.html"> 132 132 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classMixEF-members.html ¶
r171 r180 38 38 <tr class="memlist"><td><a class="el" href="classMixEF.html#33968f1325137cc6f4431f0cf05096dc">est</a></td><td><a class="el" href="classMixEF.html">MixEF</a></td><td><code> [protected]</code></td></tr> 39 39 <tr class="memlist"><td><a class="el" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129">evalll</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 40 <tr class="memlist"><td><a class="el" href="classMixEF.html#73a782d2f464c830bbdbb03d34c6d63e">init</a>(BMEF *Com0, const mat &Data, int c=5)</td><td><a class="el" href="classMixEF.html">MixEF</a></td><td></td></tr> 40 41 <tr class="memlist"><td><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 41 42 <tr class="memlist"><td><a class="el" href="classMixEF.html#424ca64f36d4e41de7a7e7ae921d35ea">logpred</a>(const vec &dt) const </td><td><a class="el" href="classMixEF.html">MixEF</a></td><td><code> [virtual]</code></td></tr> 42 <tr class="memlist"><td><a class="el" href="classMixEF.html#7713c2f01e97df268049821749405bc2">MixEF</a>(Array< BMEF * > &Coms0, const vec &alpha0)</td><td><a class="el" href="classMixEF.html">MixEF</a></td><td><code> [inline]</code></td></tr> 43 <tr class="memlist"><td><a class="el" href="classMixEF.html#8be6cf2d9bb0d86e01e9470720515ae6">MixEF</a>(BMEF *Com0, const mat &Data, int c=5)</td><td><a class="el" href="classMixEF.html">MixEF</a></td><td></td></tr> 43 <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> 44 <tr class="memlist"><td><a class="el" href="classMixEF.html#509ac467674c39af46aba42297528aad">MixEF</a>(const Array< BMEF * > &Coms0, const vec &alpha0)</td><td><a class="el" href="classMixEF.html">MixEF</a></td><td><code> [inline]</code></td></tr> 45 <tr bgcolor="#f0f0f0"><td><b>MixEF</b>() (defined in <a class="el" href="classMixEF.html">MixEF</a>)</td><td><a class="el" href="classMixEF.html">MixEF</a></td><td><code> [inline]</code></td></tr> 44 46 <tr class="memlist"><td><a class="el" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149">n</a></td><td><a class="el" href="classMixEF.html">MixEF</a></td><td><code> [protected]</code></td></tr> 47 <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 45 48 <tr class="memlist"><td><a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 46 49 <tr class="memlist"><td><a class="el" href="classBM.html#1ffa9f23669aabecc3760c06c6987522">set_evalll</a>(bool evl0)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> … … 49 52 <tr bgcolor="#f0f0f0"><td><b>~MixEF</b>() (defined in <a class="el" href="classMixEF.html">MixEF</a>)</td><td><a class="el" href="classMixEF.html">MixEF</a></td><td><code> [inline]</code></td></tr> 50 53 </table></div> 51 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:542008 for mixpp by 54 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by 52 55 <a href="http://www.doxygen.org/index.html"> 53 56 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classMixEF.html ¶
r171 r180 48 48 <tr><td></td></tr> 49 49 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> 50 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 7713c2f01e97df268049821749405bc2"></a><!-- doxytag: member="MixEF::MixEF" ref="7713c2f01e97df268049821749405bc2" args="(Array< BMEF * > &Coms0, const vec &alpha0)" -->51 </td><td class="memItemRight" valign="bottom"><a class="el" href="classMixEF.html# 7713c2f01e97df268049821749405bc2">MixEF</a> (Array< <a class="el" href="classBMEF.html">BMEF</a> * > &Coms0, const vec &alpha0)</td></tr>50 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="509ac467674c39af46aba42297528aad"></a><!-- doxytag: member="MixEF::MixEF" ref="509ac467674c39af46aba42297528aad" args="(const Array< BMEF * > &Coms0, const vec &alpha0)" --> 51 </td><td class="memItemRight" valign="bottom"><a class="el" href="classMixEF.html#509ac467674c39af46aba42297528aad">MixEF</a> (const Array< <a class="el" href="classBMEF.html">BMEF</a> * > &Coms0, const vec &alpha0)</td></tr> 52 52 53 53 <tr><td class="mdescLeft"> </td><td class="mdescRight">Full constructor. <br></td></tr> 54 <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMixEF.html#8be6cf2d9bb0d86e01e9470720515ae6">MixEF</a> (<a class="el" href="classBMEF.html">BMEF</a> *Com0, const mat &Data, int c=5)</td></tr>54 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMixEF.html#73a782d2f464c830bbdbb03d34c6d63e">init</a> (<a class="el" href="classBMEF.html">BMEF</a> *Com0, const mat &Data, int c=5)</td></tr> 55 55 56 56 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d520fb534aa43f3084ff1568ffe7573d"></a><!-- doxytag: member="MixEF::bayes" ref="d520fb534aa43f3084ff1568ffe7573d" args="(const vec &dt)" --> … … 72 72 73 73 <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> 74 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd0660f2a1a344b56ac39802708ff165"></a><!-- doxytag: member="MixEF::logpred_m" ref="cd0660f2a1a344b56ac39802708ff165" args="(const mat &dt) const " --> 75 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &dt) const </td></tr> 76 77 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 78 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="MixEF::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &rv)" --> 79 virtual <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr> 80 81 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 74 82 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="MixEF::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " --> 75 83 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> … … 130 138 The characteristic feature of this model is that if the exact values of the latent variable were known, estimation of the parameters can be handled by a single model. For example, for the case of mixture models, posterior density for each component parameters would be a BayesianModel from Exponential Family.<p> 131 139 This class uses EM-style type algorithms for estimation of its parameters. Under this simplification, the posterior density is a product of exponential family members, hence approximate estimation project this class itself belongs to the exponential family.<p> 132 TODO: Extend <a class="el" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> to use rvc. <hr><h2> Constructor & DestructorDocumentation</h2>133 <a class="anchor" name=" 8be6cf2d9bb0d86e01e9470720515ae6"></a><!-- doxytag: member="MixEF::MixEF" ref="8be6cf2d9bb0d86e01e9470720515ae6" args="(BMEF *Com0, const mat &Data, int c=5)" -->140 TODO: Extend <a class="el" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> to use rvc. <hr><h2>Member Function Documentation</h2> 141 <a class="anchor" name="73a782d2f464c830bbdbb03d34c6d63e"></a><!-- doxytag: member="MixEF::init" ref="73a782d2f464c830bbdbb03d34c6d63e" args="(BMEF *Com0, const mat &Data, int c=5)" --> 134 142 <div class="memitem"> 135 143 <div class="memproto"> 136 144 <table class="memname"> 137 145 <tr> 138 <td class="memname"> MixEF::MixEF</td>146 <td class="memname">void MixEF::init </td> 139 147 <td>(</td> 140 148 <td class="paramtype"><a class="el" href="classBMEF.html">BMEF</a> * </td> … … 163 171 164 172 <p> 165 ConstructorInitializing the mixture by a random pick of centroids from data <dl compact><dt><b>Parameters:</b></dt><dd>173 Initializing the mixture by a random pick of centroids from data <dl compact><dt><b>Parameters:</b></dt><dd> 166 174 <table border="0" cellspacing="2" cellpadding="0"> 167 175 <tr><td valign="top"></td><td valign="top"><em>Com0</em> </td><td>Initial component - necessary to determine its type. </td></tr> … … 171 179 </dl> 172 180 173 <p>References <a class="el" href="libBM_8h-source.html#l00313">BM::_copy_()</a>, <a class="el" href="mixef_8h-source.html#l00052">build_est()</a>, <a class="el" href="mixef_8h-source.html#l00044">Coms</a>, and <a class="el" href="mixef_8h-source.html#l00042">n</a>.</p> 181 <p>References <a class="el" href="libBM_8h-source.html#l00345">BM::_copy_()</a>, <a class="el" href="mixef_8h-source.html#l00052">build_est()</a>, <a class="el" href="mixef_8h-source.html#l00044">Coms</a>, <a class="el" href="mixef_8h-source.html#l00048">est</a>, <a class="el" href="mixef_8h-source.html#l00042">n</a>, <a class="el" href="libEF_8h-source.html#l00266">multiBM::set_parameters()</a>, and <a class="el" href="mixef_8h-source.html#l00046">weights</a>.</p> 182 183 <p>Referenced by <a class="el" href="merger_8cpp-source.html#l00023">merger::merge()</a>.</p> 174 184 175 185 </div> 176 186 </div><p> 177 <hr><h2>Member Function Documentation</h2>178 187 <a class="anchor" name="424ca64f36d4e41de7a7e7ae921d35ea"></a><!-- doxytag: member="MixEF::logpred" ref="424ca64f36d4e41de7a7e7ae921d35ea" args="(const vec &dt) const " --> 179 188 <div class="memitem"> … … 196 205 <p>Reimplemented from <a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">BM</a>.</p> 197 206 198 <p>References <a class="el" href="libEF_8h-source.html#l00259">multiBM::_epdf()</a>, <a class="el" href="mixef_8h-source.html#l00044">Coms</a>, <a class="el" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870">epdf::mean()</a>, <a class="el" href="mixef_8h-source.html#l00042">n</a>, and <a class="el" href="mixef_8h-source.html#l00046">weights</a>.</p> 207 <p>References <a class="el" href="libEF_8h-source.html#l00265">multiBM::_epdf()</a>, <a class="el" href="mixef_8h-source.html#l00044">Coms</a>, <a class="el" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870">epdf::mean()</a>, <a class="el" href="mixef_8h-source.html#l00042">n</a>, and <a class="el" href="mixef_8h-source.html#l00046">weights</a>.</p> 208 209 <p>Referenced by <a class="el" href="merger_8cpp-source.html#l00023">merger::merge()</a>.</p> 199 210 200 211 </div> … … 218 229 <p> 219 230 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; } 220 <p>Reimplemented in <a class="el" href="classARX.html# d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>221 222 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007"> MixEF()</a>.</p>231 <p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p> 232 233 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">init()</a>.</p> 223 234 224 235 </div> … … 227 238 <li>work/git/mixpp/bdm/estim/<a class="el" href="mixef_8h-source.html">mixef.h</a><li>work/git/mixpp/bdm/estim/mixef.cpp</ul> 228 239 </div> 229 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:542008 for mixpp by 240 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by 230 241 <a href="http://www.doxygen.org/index.html"> 231 242 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classOMpmsm-members.html ¶
r171 r180 42 42 <tr class="memlist"><td><a class="el" href="classfnc.html#17164c202f6feee3d708b8caab6306ab">~fnc</a>()</td><td><a class="el" href="classfnc.html">fnc</a></td><td><code> [inline, virtual]</code></td></tr> 43 43 </table></div> 44 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:552008 for mixpp by 44 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by 45 45 <a href="http://www.doxygen.org/index.html"> 46 46 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classOMpmsm.html ¶
r171 r180 207 207 <li>work/git/mixpp/pmsm/<a class="el" href="pmsm_8h-source.html">pmsm.h</a></ul> 208 208 </div> 209 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:552008 for mixpp by 209 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by 210 210 <a href="http://www.doxygen.org/index.html"> 211 211 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classPF-members.html ¶
r171 r180 39 39 <tr class="memlist"><td><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 40 40 <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 41 <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> 41 42 <tr class="memlist"><td><a class="el" href="classPF.html#2c2f44ed7a4eaa42e07bdb58d503f280">n</a></td><td><a class="el" href="classPF.html">PF</a></td><td><code> [protected]</code></td></tr> 42 43 <tr class="memlist"><td><a class="el" href="classPF.html#dd0a687a4515333d6809147335854e77">obs</a></td><td><a class="el" href="classPF.html">PF</a></td><td><code> [protected]</code></td></tr> 43 44 <tr class="memlist"><td><a class="el" href="classPF.html#d92ac103f88f8c21e197e90af5695a09">par</a></td><td><a class="el" href="classPF.html">PF</a></td><td><code> [protected]</code></td></tr> 44 45 <tr class="memlist"><td><a class="el" href="classPF.html#e99f0d866721405dd281e315ecb690aa">PF</a>(const RV &rv0, mpdf &par0, mpdf &obs0, int n0)</td><td><a class="el" href="classPF.html">PF</a></td><td><code> [inline]</code></td></tr> 46 <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 45 47 <tr class="memlist"><td><a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 46 48 <tr class="memlist"><td><a class="el" href="classPF.html#04d38fbcc0348b558212f530d9ec183e">set_est</a>(const epdf &epdf0)</td><td><a class="el" href="classPF.html">PF</a></td><td></td></tr> … … 48 50 <tr class="memlist"><td><a class="el" href="classBM.html#ca0f02b3b4144e0895cc14f7e0374bdd">~BM</a>()</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 49 51 </table></div> 50 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:552008 for mixpp by 52 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by 51 53 <a href="http://www.doxygen.org/index.html"> 52 54 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classPF.html ¶
r171 r180 69 69 <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> 70 70 71 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd0660f2a1a344b56ac39802708ff165"></a><!-- doxytag: member="PF::logpred_m" ref="cd0660f2a1a344b56ac39802708ff165" args="(const mat &dt) const " --> 72 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &dt) const </td></tr> 73 74 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 75 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="PF::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &rv)" --> 76 virtual <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr> 77 78 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 71 79 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="PF::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " --> 72 80 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> … … 154 162 <p>Reimplemented in <a class="el" href="classMPF.html#55daf8e4b6553dd9f47c692de7931623">MPF< BM_T ></a>.</p> 155 163 156 <p>References <a class="el" href="libPF_8h-source.html#l00040">_samples</a>, <a class="el" href="libPF_8h-source.html#l00038">_w</a>, <a class="el" href="libPF_8h-source.html#l00036">est</a>, <a class="el" href="libBM_8h-source.html#l0021 0">mpdf::evalcond()</a>, <a class="el" href="libPF_8h-source.html#l00034">n</a>, <a class="el" href="libPF_8h-source.html#l00044">obs</a>, <a class="el" href="libPF_8h-source.html#l00042">par</a>, <a class="el" href="libEF_8cpp-source.html#l00160">eEmp::resample()</a>, and <a class="el" href="libBM_8h-source.html#l00196">mpdf::samplecond()</a>.</p>164 <p>References <a class="el" href="libPF_8h-source.html#l00040">_samples</a>, <a class="el" href="libPF_8h-source.html#l00038">_w</a>, <a class="el" href="libPF_8h-source.html#l00036">est</a>, <a class="el" href="libBM_8h-source.html#l00218">mpdf::evalcond()</a>, <a class="el" href="libPF_8h-source.html#l00034">n</a>, <a class="el" href="libPF_8h-source.html#l00044">obs</a>, <a class="el" href="libPF_8h-source.html#l00042">par</a>, <a class="el" href="libEF_8cpp-source.html#l00160">eEmp::resample()</a>, and <a class="el" href="libBM_8h-source.html#l00204">mpdf::samplecond()</a>.</p> 157 165 158 166 </div> … … 178 186 <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> 179 187 188 <p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p> 189 180 190 </div> 181 191 </div><p> … … 198 208 <p> 199 209 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; } 200 <p>Reimplemented in <a class="el" href="classARX.html# d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>201 202 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF:: MixEF()</a>.</p>210 <p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p> 211 212 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p> 203 213 204 214 </div> … … 207 217 <li>work/git/mixpp/bdm/estim/<a class="el" href="libPF_8h-source.html">libPF.h</a><li>work/git/mixpp/bdm/estim/libPF.cpp</ul> 208 218 </div> 209 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:552008 for mixpp by 219 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by 210 220 <a href="http://www.doxygen.org/index.html"> 211 221 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classRV-members.html ¶
r171 r180 28 28 <tr class="memlist"><td><a class="el" href="classRV.html#935790526b630dec4ffefa9ec0c2b6fb">add</a>(const RV &rv2)</td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr> 29 29 <tr class="memlist"><td><a class="el" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0">count</a>() const </td><td><a class="el" href="classRV.html">RV</a></td><td><code> [inline]</code></td></tr> 30 <tr class="memlist"><td><a class="el" href="classRV.html# 1844ea0d9c10428f5e0ee1d4d569ef0a">dataind</a>(RVcrv) const </td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>30 <tr class="memlist"><td><a class="el" href="classRV.html#bb724fa4e2d9ed7bfd0993b5975018a4">dataind</a>(const RV &crv) const </td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr> 31 31 <tr class="memlist"><td><a class="el" href="classRV.html#82cc7fa22ce91cf461a522ad62014c65">equal</a>(const RV &rv2) const </td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr> 32 32 <tr class="memlist"><td><a class="el" href="classRV.html#0c493a7a897f4d75682f4264e40779a1">findself</a>(const RV &rv2) const </td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr> … … 38 38 <tr class="memlist"><td><a class="el" href="classRV.html#df5d0030b277a1db2f1fd5fb79152acb">names</a></td><td><a class="el" href="classRV.html">RV</a></td><td><code> [protected]</code></td></tr> 39 39 <tr class="memlist"><td><a class="el" href="classRV.html#fc4a3175ff678cba7ae4109654f66ce5">newids</a>()</td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr> 40 <tr class="memlist"><td><a class="el" href="classRV.html# 65e5b820e482caff7f284d11898ef64f">operator()</a>(ivecind) const </td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>40 <tr class="memlist"><td><a class="el" href="classRV.html#248dfb2387976db2658489347669278c">operator()</a>(const ivec &ind) const </td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr> 41 41 <tr class="memlist"><td><a class="el" href="classRV.html#cad6f15535d10437f6690cb4492176a8">operator<<</a>(std::ostream &os, const RV &rv)</td><td><a class="el" href="classRV.html">RV</a></td><td><code> [friend]</code></td></tr> 42 42 <tr class="memlist"><td><a class="el" href="classRV.html#bedfd8d197f0a7ac28a4d412dfc5b8af">RV</a>(Array< std::string > in_names, ivec in_sizes, ivec in_times)</td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr> … … 44 44 <tr class="memlist"><td><a class="el" href="classRV.html#261702f85831392d7d67e2bcf0b69960">RV</a>(Array< std::string > in_names)</td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr> 45 45 <tr class="memlist"><td><a class="el" href="classRV.html#6a22f5c06d6403870d4e414b1993bf9e">RV</a>()</td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr> 46 <tr class="memlist"><td><a class="el" href="classRV.html#f58db96c9f5b8a538e26f154b1047c62">set_id</a>(int at, int id0)</td><td><a class="el" href="classRV.html">RV</a></td><td><code> [inline]</code></td></tr> 47 <tr class="memlist"><td><a class="el" href="classRV.html#70b24c39c5130b1e4753fa2eef495433">set_size</a>(int at, int size0)</td><td><a class="el" href="classRV.html">RV</a></td><td><code> [inline]</code></td></tr> 48 <tr class="memlist"><td><a class="el" href="classRV.html#af668289c016d12ac2a9ddb85416006b">set_time</a>(int at, int time0)</td><td><a class="el" href="classRV.html">RV</a></td><td><code> [inline]</code></td></tr> 46 49 <tr class="memlist"><td><a class="el" href="classRV.html#20db23a5585d64a6e24404cc8379bc28">size</a>(int at)</td><td><a class="el" href="classRV.html">RV</a></td><td><code> [inline]</code></td></tr> 47 50 <tr class="memlist"><td><a class="el" href="classRV.html#c878aab13f34b420e1eb5b485563682b">sizes</a></td><td><a class="el" href="classRV.html">RV</a></td><td><code> [protected]</code></td></tr> 48 <tr class="memlist"><td><a class="el" href="classRV.html# 0a9ea7bc6fad270cc54a455a9f8f387d">subselect</a>(ivecind) const </td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>49 <tr class="memlist"><td><a class="el" href="classRV.html# a85c47bd838ebbdcb6798d7843e87db2">subt</a>(const RVrv2) const </td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>51 <tr class="memlist"><td><a class="el" href="classRV.html#b26d25a122be3303806af7726a625a0f">subselect</a>(const ivec &ind) const </td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr> 52 <tr class="memlist"><td><a class="el" href="classRV.html#b9d175c327c21488b1e2fb756a84e149">subt</a>(const RV &rv2) const </td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr> 50 53 <tr class="memlist"><td><a class="el" href="classRV.html#e0a158d53ab9430627241f844f4c9a60">t</a>(int delta)</td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr> 51 54 <tr class="memlist"><td><a class="el" href="classRV.html#af068cf478864fe1a4fbfc6b4693b088">time</a>(int at)</td><td><a class="el" href="classRV.html">RV</a></td><td><code> [inline]</code></td></tr> … … 54 57 <tr class="memlist"><td><a class="el" href="classRV.html#f2396efe2e6d656ebe9e6f06018cbe25">tsize</a></td><td><a class="el" href="classRV.html">RV</a></td><td><code> [protected]</code></td></tr> 55 58 </table></div> 56 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:562008 for mixpp by 59 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by 57 60 <a href="http://www.doxygen.org/index.html"> 58 61 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classRV.html ¶
r171 r180 68 68 69 69 <tr><td class="mdescLeft"> </td><td class="mdescRight">Add (concat) another variable to the current one,. <a href="#935790526b630dec4ffefa9ec0c2b6fb"></a><br></td></tr> 70 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" a85c47bd838ebbdcb6798d7843e87db2"></a><!-- doxytag: member="RV::subt" ref="a85c47bd838ebbdcb6798d7843e87db2" args="(const RVrv2) const " -->71 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html# a85c47bd838ebbdcb6798d7843e87db2">subt</a> (const <a class="el" href="classRV.html">RV</a>rv2) const </td></tr>70 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b9d175c327c21488b1e2fb756a84e149"></a><!-- doxytag: member="RV::subt" ref="b9d175c327c21488b1e2fb756a84e149" args="(const RV &rv2) const " --> 71 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#b9d175c327c21488b1e2fb756a84e149">subt</a> (const <a class="el" href="classRV.html">RV</a> &rv2) const </td></tr> 72 72 73 73 <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtract another variable from the current one. <br></td></tr> 74 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 0a9ea7bc6fad270cc54a455a9f8f387d"></a><!-- doxytag: member="RV::subselect" ref="0a9ea7bc6fad270cc54a455a9f8f387d" args="(ivecind) const " -->75 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html# 0a9ea7bc6fad270cc54a455a9f8f387d">subselect</a> (ivecind) const </td></tr>74 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b26d25a122be3303806af7726a625a0f"></a><!-- doxytag: member="RV::subselect" ref="b26d25a122be3303806af7726a625a0f" args="(const ivec &ind) const " --> 75 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#b26d25a122be3303806af7726a625a0f">subselect</a> (const ivec &ind) const </td></tr> 76 76 77 77 <tr><td class="mdescLeft"> </td><td class="mdescRight">Select only variables at indeces ind. <br></td></tr> 78 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 65e5b820e482caff7f284d11898ef64f"></a><!-- doxytag: member="RV::operator()" ref="65e5b820e482caff7f284d11898ef64f" args="(ivecind) const " -->79 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html# 65e5b820e482caff7f284d11898ef64f">operator()</a> (ivecind) const </td></tr>78 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="248dfb2387976db2658489347669278c"></a><!-- doxytag: member="RV::operator()" ref="248dfb2387976db2658489347669278c" args="(const ivec &ind) const " --> 79 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#248dfb2387976db2658489347669278c">operator()</a> (const ivec &ind) const </td></tr> 80 80 81 81 <tr><td class="mdescLeft"> </td><td class="mdescRight">Select only variables at indeces ind. <br></td></tr> … … 88 88 89 89 <tr><td class="mdescLeft"> </td><td class="mdescRight">generate <code><a class="el" href="classstr.html" title="Structure of RV (used internally).">str</a></code> from rv, by expanding sizes <br></td></tr> 90 <tr><td class="memItemLeft" nowrap align="right" valign="top">ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html# 1844ea0d9c10428f5e0ee1d4d569ef0a">dataind</a> (<a class="el" href="classRV.html">RV</a>crv) const </td></tr>91 92 <tr><td class="mdescLeft"> </td><td class="mdescRight">generate indeces into <a href="# 1844ea0d9c10428f5e0ee1d4d569ef0a"></a><br></td></tr>90 <tr><td class="memItemLeft" nowrap align="right" valign="top">ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#bb724fa4e2d9ed7bfd0993b5975018a4">dataind</a> (const <a class="el" href="classRV.html">RV</a> &crv) const </td></tr> 91 92 <tr><td class="mdescLeft"> </td><td class="mdescRight">generate indeces into <a href="#bb724fa4e2d9ed7bfd0993b5975018a4"></a><br></td></tr> 93 93 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b88ef5124713c9e30fd9446846b3f044"></a><!-- doxytag: member="RV::_names" ref="b88ef5124713c9e30fd9446846b3f044" args="()" --> 94 94 Array< std::string > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#b88ef5124713c9e30fd9446846b3f044">_names</a> ()</td></tr> … … 109 109 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3ae4dd6e368f814a02710636ac8e1721"></a><!-- doxytag: member="RV::name" ref="3ae4dd6e368f814a02710636ac8e1721" args="(int at)" --> 110 110 std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#3ae4dd6e368f814a02710636ac8e1721">name</a> (int at)</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"><a class="anchor" name="f58db96c9f5b8a538e26f154b1047c62"></a><!-- doxytag: member="RV::set_id" ref="f58db96c9f5b8a538e26f154b1047c62" args="(int at, int id0)" --> 114 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#f58db96c9f5b8a538e26f154b1047c62">set_id</a> (int at, int id0)</td></tr> 115 116 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 117 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="70b24c39c5130b1e4753fa2eef495433"></a><!-- doxytag: member="RV::set_size" ref="70b24c39c5130b1e4753fa2eef495433" args="(int at, int size0)" --> 118 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#70b24c39c5130b1e4753fa2eef495433">set_size</a> (int at, int size0)</td></tr> 119 120 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 121 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af668289c016d12ac2a9ddb85416006b"></a><!-- doxytag: member="RV::set_time" ref="af668289c016d12ac2a9ddb85416006b" args="(int at, int time0)" --> 122 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#af668289c016d12ac2a9ddb85416006b">set_time</a> (int at, int time0)</td></tr> 111 123 112 124 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> … … 200 212 <p>References <a class="el" href="libBM_8cpp-source.html#l00163">findself()</a>, <a class="el" href="libBM_8h-source.html#l00044">ids</a>, <a class="el" href="libBM_8h-source.html#l00042">len</a>, <a class="el" href="libBM_8h-source.html#l00050">names</a>, <a class="el" href="libBM_8h-source.html#l00046">sizes</a>, <a class="el" href="libBM_8h-source.html#l00048">times</a>, and <a class="el" href="libBM_8h-source.html#l00040">tsize</a>.</p> 201 213 202 <p>Referenced by <a class="el" href="libBM_8cpp-source.html#l00177">concat()</a>, <a class="el" href="libPF_8h-source.html#l00104">MPF< BM_T >::MPF()</a>, and <a class="el" href="emix_8cpp-source.html#l00025">mprod::mprod()</a>.</p>214 <p>Referenced by <a class="el" href="libBM_8cpp-source.html#l00177">concat()</a>, and <a class="el" href="libPF_8h-source.html#l00104">MPF< BM_T >::MPF()</a>.</p> 203 215 204 216 </div> 205 217 </div><p> 206 <a class="anchor" name=" 1844ea0d9c10428f5e0ee1d4d569ef0a"></a><!-- doxytag: member="RV::dataind" ref="1844ea0d9c10428f5e0ee1d4d569ef0a" args="(RVcrv) const " -->218 <a class="anchor" name="bb724fa4e2d9ed7bfd0993b5975018a4"></a><!-- doxytag: member="RV::dataind" ref="bb724fa4e2d9ed7bfd0993b5975018a4" args="(const RV &crv) const " --> 207 219 <div class="memitem"> 208 220 <div class="memproto"> … … 211 223 <td class="memname">ivec RV::dataind </td> 212 224 <td>(</td> 213 <td class="paramtype"> <a class="el" href="classRV.html">RV</a> </td>225 <td class="paramtype">const <a class="el" href="classRV.html">RV</a> & </td> 214 226 <td class="paramname"> <em>crv</em> </td> 215 227 <td> ) </td> … … 236 248 <li>work/git/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a><li>work/git/mixpp/bdm/stat/libBM.cpp</ul> 237 249 </div> 238 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:552008 for mixpp by 250 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by 239 251 <a href="http://www.doxygen.org/index.html"> 240 252 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classRootElement-members.html ¶
r171 r180 31 31 <tr bgcolor="#f0f0f0"><td><b>~RootElement</b>() (defined in <a class="el" href="classRootElement.html">RootElement</a>)</td><td><a class="el" href="classRootElement.html">RootElement</a></td><td></td></tr> 32 32 </table></div> 33 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:552008 for mixpp by 33 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by 34 34 <a href="http://www.doxygen.org/index.html"> 35 35 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classRootElement.html ¶
r171 r180 117 117 <li>work/git/mixpp/bdm/<a class="el" href="userinfo_8h-source.html">userinfo.h</a><li>work/git/mixpp/bdm/userinfo.cpp</ul> 118 118 </div> 119 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:552008 for mixpp by 119 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by 120 120 <a href="http://www.doxygen.org/index.html"> 121 121 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classTypedUserInfo-members.html ¶
r171 r180 39 39 <tr class="memlist"><td><a class="el" href="classTypedUserInfo.html#b1bb67b76a677f0cf33e923fd9147e9a">~TypedUserInfo</a>()</td><td><a class="el" href="classTypedUserInfo.html">TypedUserInfo< T ></a></td><td><code> [inline, protected]</code></td></tr> 40 40 </table></div> 41 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:562008 for mixpp by 41 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by 42 42 <a href="http://www.doxygen.org/index.html"> 43 43 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classTypedUserInfo.html ¶
r171 r180 256 256 <li>work/git/mixpp/bdm/<a class="el" href="userinfo_8h-source.html">userinfo.h</a></ul> 257 257 </div> 258 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:562008 for mixpp by 258 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by 259 259 <a href="http://www.doxygen.org/index.html"> 260 260 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classUserInfo-members.html ¶
r171 r180 36 36 <tr class="memlist"><td><a class="el" href="classBindingFrame.html#2244bd5181c3d1e70f3a6be2b72e9424">XMLCh2str</a>(const XMLCh *const XMLCh_str)</td><td><a class="el" href="classBindingFrame.html">BindingFrame</a></td><td><code> [protected]</code></td></tr> 37 37 </table></div> 38 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:562008 for mixpp by 38 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by 39 39 <a href="http://www.doxygen.org/index.html"> 40 40 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classUserInfo.html ¶
r171 r180 231 231 <li>work/git/mixpp/bdm/<a class="el" href="userinfo_8h-source.html">userinfo.h</a></ul> 232 232 </div> 233 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:562008 for mixpp by 233 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by 234 234 <a href="http://www.doxygen.org/index.html"> 235 235 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classValuedUserInfo-members.html ¶
r171 r180 40 40 <tr bgcolor="#f0f0f0"><td><b>~ValuedUserInfo</b>() (defined in <a class="el" href="classValuedUserInfo.html">ValuedUserInfo< T ></a>)</td><td><a class="el" href="classValuedUserInfo.html">ValuedUserInfo< T ></a></td><td><code> [inline, protected]</code></td></tr> 41 41 </table></div> 42 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:562008 for mixpp by 42 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by 43 43 <a href="http://www.doxygen.org/index.html"> 44 44 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classValuedUserInfo.html ¶
r171 r180 228 228 <li>work/git/mixpp/bdm/<a class="el" href="userinfo_8h-source.html">userinfo.h</a></ul> 229 229 </div> 230 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:562008 for mixpp by 230 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by 231 231 <a href="http://www.doxygen.org/index.html"> 232 232 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classbilinfn-members.html ¶
r171 r180 43 43 <tr class="memlist"><td><a class="el" href="classfnc.html#17164c202f6feee3d708b8caab6306ab">~fnc</a>()</td><td><a class="el" href="classfnc.html">fnc</a></td><td><code> [inline, virtual]</code></td></tr> 44 44 </table></div> 45 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 45 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 46 46 <a href="http://www.doxygen.org/index.html"> 47 47 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classbilinfn.html ¶
r171 r180 215 215 <li>work/git/mixpp/bdm/stat/<a class="el" href="libFN_8h-source.html">libFN.h</a><li>work/git/mixpp/bdm/stat/libFN.cpp</ul> 216 216 </div> 217 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 217 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 218 218 <a href="http://www.doxygen.org/index.html"> 219 219 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classchmat-members.html ¶
r171 r180 55 55 <tr class="memlist"><td><a class="el" href="classsqmat.html#0481f2067bb32aaea7e6d4f27e46b656">~sqmat</a>()</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [inline, virtual]</code></td></tr> 56 56 </table></div> 57 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 57 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by 58 58 <a href="http://www.doxygen.org/index.html"> 59 59 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classchmat.html ¶
r171 r180 302 302 <li>work/git/mixpp/bdm/math/<a class="el" href="chmat_8h-source.html">chmat.h</a><li>work/git/mixpp/bdm/math/chmat.cpp</ul> 303 303 </div> 304 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 304 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by 305 305 <a href="http://www.doxygen.org/index.html"> 306 306 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classconstfn-members.html ¶
r171 r180 32 32 <tr class="memlist"><td><a class="el" href="classfnc.html#17164c202f6feee3d708b8caab6306ab">~fnc</a>()</td><td><a class="el" href="classfnc.html">fnc</a></td><td><code> [inline, virtual]</code></td></tr> 33 33 </table></div> 34 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 34 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by 35 35 <a href="http://www.doxygen.org/index.html"> 36 36 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classconstfn.html ¶
r171 r180 70 70 <li>work/git/mixpp/bdm/stat/<a class="el" href="libFN_8h-source.html">libFN.h</a></ul> 71 71 </div> 72 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 72 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by 73 73 <a href="http://www.doxygen.org/index.html"> 74 74 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classdiffbifn-members.html ¶
r171 r180 41 41 <tr class="memlist"><td><a class="el" href="classfnc.html#17164c202f6feee3d708b8caab6306ab">~fnc</a>()</td><td><a class="el" href="classfnc.html">fnc</a></td><td><code> [inline, virtual]</code></td></tr> 42 42 </table></div> 43 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 43 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by 44 44 <a href="http://www.doxygen.org/index.html"> 45 45 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classdiffbifn.html ¶
r171 r180 216 216 <li>work/git/mixpp/bdm/stat/<a class="el" href="libFN_8h-source.html">libFN.h</a></ul> 217 217 </div> 218 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 218 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by 219 219 <a href="http://www.doxygen.org/index.html"> 220 220 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classdirfilelog-members.html ¶
r171 r180 44 44 <tr class="memlist"><td><a class="el" href="classlogger.html#92c63a0a87392c62b9ed3c00faa9d5df">~logger</a>()</td><td><a class="el" href="classlogger.html">logger</a></td><td><code> [inline, virtual]</code></td></tr> 45 45 </table></div> 46 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 46 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by 47 47 <a href="http://www.doxygen.org/index.html"> 48 48 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classdirfilelog.html ¶
r171 r180 185 185 <li>work/git/mixpp/bdm/stat/<a class="el" href="loggers_8h-source.html">loggers.h</a><li>work/git/mixpp/bdm/stat/loggers.cpp</ul> 186 186 </div> 187 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 187 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by 188 188 <a href="http://www.doxygen.org/index.html"> 189 189 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classeDirich-members.html ¶
r171 r180 38 38 <tr class="memlist"><td><a class="el" href="classeEF.html#6466e8d4aa9dd64698ed288cbb1afc03">evalpdflog</a>(const vec &val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr> 39 39 <tr class="memlist"><td><a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">evalpdflog</a>(const mat &Val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr> 40 <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 40 41 <tr class="memlist"><td><a class="el" href="classeDirich.html#688a24f04be6d80d4769cf0e4ded7acc">evalpdflog_nn</a>(const vec &val) const </td><td><a class="el" href="classeDirich.html">eDirich</a></td><td><code> [inline, virtual]</code></td></tr> 41 42 <tr class="memlist"><td><a class="el" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77">lognc</a>() const </td><td><a class="el" href="classeDirich.html">eDirich</a></td><td><code> [inline, virtual]</code></td></tr> … … 45 46 <tr class="memlist"><td><a class="el" href="classeDirich.html#23dff79110822e9639343fe8e177fd80">sample</a>() const </td><td><a class="el" href="classeDirich.html">eDirich</a></td><td><code> [inline, virtual]</code></td></tr> 46 47 <tr class="memlist"><td><a class="el" href="classepdf.html#54d7dd53a641b618771cd9bee135181f">sampleN</a>(int N) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [virtual]</code></td></tr> 48 <tr class="memlist"><td><a class="el" href="classeDirich.html#c842acb2e1cce5cc9000769ff06c086d">set_parameters</a>(const vec &beta0)</td><td><a class="el" href="classeDirich.html">eDirich</a></td><td><code> [inline]</code></td></tr> 47 49 <tr class="memlist"><td><a class="el" href="classepdf.html#0a322dd106f04c0a2915e3d4f4227396">~epdf</a>()</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 48 50 </table></div> 49 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 51 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by 50 52 <a href="http://www.doxygen.org/index.html"> 51 53 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classeDirich.html ¶
r171 r180 67 67 double </td><td class="memItemRight" valign="bottom"><a class="el" href="classeDirich.html#688a24f04be6d80d4769cf0e4ded7acc">evalpdflog_nn</a> (const vec &val) const </td></tr> 68 68 69 <tr><td class="mdescLeft"> </td><td class="mdescRight">In this instance, val = [theta, r]. For multivariate instances, it is stored columnwise val = [theta_1 theta_2 ... r_1 r_2 ]. <br></td></tr>69 <tr><td class="mdescLeft"> </td><td class="mdescRight">In this instance, val is ... <br></td></tr> 70 70 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7ce60be7119ffc639ede4e583c1f6e77"></a><!-- doxytag: member="eDirich::lognc" ref="7ce60be7119ffc639ede4e583c1f6e77" args="() const " --> 71 71 double </td><td class="memItemRight" valign="bottom"><a class="el" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77">lognc</a> () const </td></tr> … … 76 76 77 77 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 78 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c842acb2e1cce5cc9000769ff06c086d"></a><!-- doxytag: member="eDirich::set_parameters" ref="c842acb2e1cce5cc9000769ff06c086d" args="(const vec &beta0)" --> 79 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeDirich.html#c842acb2e1cce5cc9000769ff06c086d">set_parameters</a> (const vec &beta0)</td></tr> 80 81 <tr><td class="mdescLeft"> </td><td class="mdescRight">Set internal parameters. <br></td></tr> 78 82 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a89bef8996410609004fa019b5b48964"></a><!-- doxytag: member="eDirich::dupdate" ref="a89bef8996410609004fa019b5b48964" args="(mat &v)" --> 79 83 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEF.html#a89bef8996410609004fa019b5b48964">dupdate</a> (mat &v)</td></tr> … … 100 104 101 105 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr> 106 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cebbdd7a85e6328f7358fc0ba8eee06c"></a><!-- doxytag: member="eDirich::evalpdflog_m" ref="cebbdd7a85e6328f7358fc0ba8eee06c" args="(const mat &Val) const " --> 107 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &Val) const </td></tr> 108 109 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr> 102 110 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ca0d32aabb4cbba347e0c37fe8607562"></a><!-- doxytag: member="eDirich::_rv" ref="ca0d32aabb4cbba347e0c37fe8607562" args="() const " --> 103 111 const <a class="el" href="classRV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562">_rv</a> () const </td></tr> … … 127 135 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 128 136 </div> 129 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:492008 for mixpp by 137 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by 130 138 <a href="http://www.doxygen.org/index.html"> 131 139 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classeEF-members.html ¶
r171 r180 34 34 <tr class="memlist"><td><a class="el" href="classeEF.html#6466e8d4aa9dd64698ed288cbb1afc03">evalpdflog</a>(const vec &val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr> 35 35 <tr class="memlist"><td><a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">evalpdflog</a>(const mat &Val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr> 36 <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 36 37 <tr class="memlist"><td><a class="el" href="classeEF.html#48cdd33d0e20d1a1aa45683c956bc61c">evalpdflog_nn</a>(const vec &val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr> 37 38 <tr class="memlist"><td><a class="el" href="classeEF.html#69e5680dac10375d62520d26c672477d">lognc</a>() const =0</td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [pure virtual]</code></td></tr> … … 43 44 <tr class="memlist"><td><a class="el" href="classepdf.html#0a322dd106f04c0a2915e3d4f4227396">~epdf</a>()</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 44 45 </table></div> 45 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:502008 for mixpp by 46 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by 46 47 <a href="http://www.doxygen.org/index.html"> 47 48 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classeEF.html ¶
r171 r180 88 88 89 89 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr> 90 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cebbdd7a85e6328f7358fc0ba8eee06c"></a><!-- doxytag: member="eEF::evalpdflog_m" ref="cebbdd7a85e6328f7358fc0ba8eee06c" args="(const mat &Val) const " --> 91 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &Val) const </td></tr> 92 93 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr> 90 94 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bf0a070a8f3e67a93604ca724638b870"></a><!-- doxytag: member="eEF::mean" ref="bf0a070a8f3e67a93604ca724638b870" args="() const =0" --> 91 95 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870">mean</a> () const =0</td></tr> … … 112 116 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 113 117 </div> 114 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:502008 for mixpp by 118 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by 115 119 <a href="http://www.doxygen.org/index.html"> 116 120 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classeEmp-members.html ¶
r171 r180 34 34 <tr class="memlist"><td><a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">eval</a>(const vec &val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 35 35 <tr class="memlist"><td><a class="el" href="classeEmp.html#23e7358995400865ad2e278945922fb3">evalpdflog</a>(const vec &val) const </td><td><a class="el" href="classeEmp.html">eEmp</a></td><td><code> [inline, virtual]</code></td></tr> 36 <tr class="memlist"><td><a class="el" href="classepdf.html# 6af383b6f1c6ea6fc5f6724dd03d8877">epdf::evalpdflog</a>(const mat &Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>36 <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 37 37 <tr class="memlist"><td><a class="el" href="classeEmp.html#ba055c19038cc72628d98e25197e982d">mean</a>() const </td><td><a class="el" href="classeEmp.html">eEmp</a></td><td><code> [inline, virtual]</code></td></tr> 38 38 <tr class="memlist"><td><a class="el" href="classeEmp.html#8c33034de0e35f03f8bb85d3d67438fd">n</a></td><td><a class="el" href="classeEmp.html">eEmp</a></td><td><code> [protected]</code></td></tr> … … 42 42 <tr class="memlist"><td><a class="el" href="classepdf.html#54d7dd53a641b618771cd9bee135181f">sampleN</a>(int N) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [virtual]</code></td></tr> 43 43 <tr class="memlist"><td><a class="el" href="classeEmp.html#a4d6f4bbd6a6824fc39f14676701279a">samples</a></td><td><a class="el" href="classeEmp.html">eEmp</a></td><td><code> [protected]</code></td></tr> 44 <tr class="memlist"><td><a class="el" href="classeEmp.html#6606a656c1b28114f7384c25aaf80e8d">set_parameters</a>(const vec &w0, epdf *pdf0)</td><td><a class="el" href="classeEmp.html">eEmp</a></td><td></td></tr> 44 <tr class="memlist"><td><a class="el" href="classeEmp.html#eab03bd3381aaea11ce34d5a26556353">set_parameters</a>(const vec &w0, const epdf *pdf0)</td><td><a class="el" href="classeEmp.html">eEmp</a></td><td></td></tr> 45 <tr class="memlist"><td><a class="el" href="classeEmp.html#e31bc9e6196173c3480b06a761a3e716">set_samples</a>(const epdf *pdf0)</td><td><a class="el" href="classeEmp.html">eEmp</a></td><td></td></tr> 45 46 <tr class="memlist"><td><a class="el" href="classeEmp.html#ae78d144404ddba843c93b171b215de8">w</a></td><td><a class="el" href="classeEmp.html">eEmp</a></td><td><code> [protected]</code></td></tr> 46 47 <tr class="memlist"><td><a class="el" href="classepdf.html#0a322dd106f04c0a2915e3d4f4227396">~epdf</a>()</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 47 48 </table></div> 48 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:502008 for mixpp by 49 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by 49 50 <a href="http://www.doxygen.org/index.html"> 50 51 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classeEmp.html ¶
r171 r180 52 52 53 53 <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> 54 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6606a656c1b28114f7384c25aaf80e8d"></a><!-- doxytag: member="eEmp::set_parameters" ref="6606a656c1b28114f7384c25aaf80e8d" args="(const vec &w0, epdf *pdf0)" --> 55 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#6606a656c1b28114f7384c25aaf80e8d">set_parameters</a> (const vec &w0, <a class="el" href="classepdf.html">epdf</a> *pdf0)</td></tr> 54 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eab03bd3381aaea11ce34d5a26556353"></a><!-- doxytag: member="eEmp::set_parameters" ref="eab03bd3381aaea11ce34d5a26556353" args="(const vec &w0, const epdf *pdf0)" --> 55 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#eab03bd3381aaea11ce34d5a26556353">set_parameters</a> (const vec &w0, const <a class="el" href="classepdf.html">epdf</a> *pdf0)</td></tr> 56 57 <tr><td class="mdescLeft"> </td><td class="mdescRight">Set samples and weights. <br></td></tr> 58 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e31bc9e6196173c3480b06a761a3e716"></a><!-- doxytag: member="eEmp::set_samples" ref="e31bc9e6196173c3480b06a761a3e716" args="(const epdf *pdf0)" --> 59 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#e31bc9e6196173c3480b06a761a3e716">set_samples</a> (const <a class="el" href="classepdf.html">epdf</a> *pdf0)</td></tr> 56 60 57 61 <tr><td class="mdescLeft"> </td><td class="mdescRight">Set sample. <br></td></tr> … … 88 92 89 93 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr> 90 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 6af383b6f1c6ea6fc5f6724dd03d8877"></a><!-- doxytag: member="eEmp::evalpdflog" ref="6af383b6f1c6ea6fc5f6724dd03d8877" args="(const mat &Val) const " -->91 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html# 6af383b6f1c6ea6fc5f6724dd03d8877">evalpdflog</a> (const mat &Val) const </td></tr>94 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cebbdd7a85e6328f7358fc0ba8eee06c"></a><!-- doxytag: member="eEmp::evalpdflog_m" ref="cebbdd7a85e6328f7358fc0ba8eee06c" args="(const mat &Val) const " --> 95 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &Val) const </td></tr> 92 96 93 97 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr> … … 124 128 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a><li>work/git/mixpp/bdm/stat/libEF.cpp</ul> 125 129 </div> 126 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:502008 for mixpp by 130 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by 127 131 <a href="http://www.doxygen.org/index.html"> 128 132 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classegamma-members.html ¶
r171 r180 38 38 <tr class="memlist"><td><a class="el" href="classegamma.html#de84faac8f9799dfe2777ddbedf997ef">evalpdflog</a>(const vec &val) const </td><td><a class="el" href="classegamma.html">egamma</a></td><td><code> [virtual]</code></td></tr> 39 39 <tr class="memlist"><td><a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">eEF::evalpdflog</a>(const mat &Val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr> 40 <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 40 41 <tr class="memlist"><td><a class="el" href="classeEF.html#48cdd33d0e20d1a1aa45683c956bc61c">evalpdflog_nn</a>(const vec &val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr> 41 42 <tr class="memlist"><td><a class="el" href="classegamma.html#d6dbbdb72360f9e54d64501f80318bb6">lognc</a>() const </td><td><a class="el" href="classegamma.html">egamma</a></td><td><code> [virtual]</code></td></tr> … … 48 49 <tr class="memlist"><td><a class="el" href="classepdf.html#0a322dd106f04c0a2915e3d4f4227396">~epdf</a>()</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 49 50 </table></div> 50 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:502008 for mixpp by 51 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by 51 52 <a href="http://www.doxygen.org/index.html"> 52 53 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classegamma.html ¶
r171 r180 100 100 101 101 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr> 102 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cebbdd7a85e6328f7358fc0ba8eee06c"></a><!-- doxytag: member="egamma::evalpdflog_m" ref="cebbdd7a85e6328f7358fc0ba8eee06c" args="(const mat &Val) const " --> 103 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &Val) const </td></tr> 104 105 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr> 102 106 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ca0d32aabb4cbba347e0c37fe8607562"></a><!-- doxytag: member="egamma::_rv" ref="ca0d32aabb4cbba347e0c37fe8607562" args="() const " --> 103 107 const <a class="el" href="classRV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562">_rv</a> () const </td></tr> … … 131 135 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a><li>work/git/mixpp/bdm/stat/libEF.cpp</ul> 132 136 </div> 133 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:502008 for mixpp by 137 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by 134 138 <a href="http://www.doxygen.org/index.html"> 135 139 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classegiw-members.html ¶
r171 r180 38 38 <tr class="memlist"><td><a class="el" href="classeEF.html#6466e8d4aa9dd64698ed288cbb1afc03">evalpdflog</a>(const vec &val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr> 39 39 <tr class="memlist"><td><a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">evalpdflog</a>(const mat &Val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr> 40 <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 40 41 <tr class="memlist"><td><a class="el" href="classegiw.html#2ab1e525d692be8272a6f383d60b94cd">evalpdflog_nn</a>(const vec &val) const </td><td><a class="el" href="classegiw.html">egiw</a></td><td><code> [virtual]</code></td></tr> 41 42 <tr class="memlist"><td><a class="el" href="classegiw.html#70eb1a0b88459b227f919b425b0d3359">lognc</a>() const </td><td><a class="el" href="classegiw.html">egiw</a></td><td><code> [virtual]</code></td></tr> … … 52 53 <tr class="memlist"><td><a class="el" href="classepdf.html#0a322dd106f04c0a2915e3d4f4227396">~epdf</a>()</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 53 54 </table></div> 54 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:502008 for mixpp by 55 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by 55 56 <a href="http://www.doxygen.org/index.html"> 56 57 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classegiw.html ¶
r171 r180 107 107 108 108 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr> 109 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cebbdd7a85e6328f7358fc0ba8eee06c"></a><!-- doxytag: member="egiw::evalpdflog_m" ref="cebbdd7a85e6328f7358fc0ba8eee06c" args="(const mat &Val) const " --> 110 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &Val) const </td></tr> 111 112 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr> 109 113 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ca0d32aabb4cbba347e0c37fe8607562"></a><!-- doxytag: member="egiw::_rv" ref="ca0d32aabb4cbba347e0c37fe8607562" args="() const " --> 110 114 const <a class="el" href="classRV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562">_rv</a> () const </td></tr> … … 143 147 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a><li>work/git/mixpp/bdm/stat/libEF.cpp</ul> 144 148 </div> 145 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:502008 for mixpp by 149 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by 146 150 <a href="http://www.doxygen.org/index.html"> 147 151 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classemix-members.html ¶
r171 r180 34 34 <tr class="memlist"><td><a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">eval</a>(const vec &val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 35 35 <tr class="memlist"><td><a class="el" href="classemix.html#469e910479b3402589104ef3bb1b5741">evalpdflog</a>(const vec &val) const </td><td><a class="el" href="classemix.html">emix</a></td><td><code> [inline, virtual]</code></td></tr> 36 <tr class="memlist"><td><a class="el" href="classepdf.html# 6af383b6f1c6ea6fc5f6724dd03d8877">epdf::evalpdflog</a>(const mat &Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>36 <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 37 37 <tr class="memlist"><td><a class="el" href="classemix.html#b662a51d042b062020460e64bff4e9e8">mean</a>() const </td><td><a class="el" href="classemix.html">emix</a></td><td><code> [inline, virtual]</code></td></tr> 38 38 <tr class="memlist"><td><a class="el" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">rv</a></td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [protected]</code></td></tr> … … 43 43 <tr class="memlist"><td><a class="el" href="classepdf.html#0a322dd106f04c0a2915e3d4f4227396">~epdf</a>()</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 44 44 </table></div> 45 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:512008 for mixpp by 45 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by 46 46 <a href="http://www.doxygen.org/index.html"> 47 47 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classemix.html ¶
r171 r180 80 80 81 81 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr> 82 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 6af383b6f1c6ea6fc5f6724dd03d8877"></a><!-- doxytag: member="emix::evalpdflog" ref="6af383b6f1c6ea6fc5f6724dd03d8877" args="(const mat &Val) const " -->83 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html# 6af383b6f1c6ea6fc5f6724dd03d8877">evalpdflog</a> (const mat &Val) const </td></tr>82 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cebbdd7a85e6328f7358fc0ba8eee06c"></a><!-- doxytag: member="emix::evalpdflog_m" ref="cebbdd7a85e6328f7358fc0ba8eee06c" args="(const mat &Val) const " --> 83 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &Val) const </td></tr> 84 84 85 85 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr> … … 115 115 <li>work/git/mixpp/bdm/stat/<a class="el" href="emix_8h-source.html">emix.h</a><li>work/git/mixpp/bdm/stat/emix.cpp</ul> 116 116 </div> 117 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:512008 for mixpp by 117 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by 118 118 <a href="http://www.doxygen.org/index.html"> 119 119 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classenorm-members.html ¶
r171 r180 37 37 <tr class="memlist"><td><a class="el" href="classepdf.html#c95b1a27a8dd9507bb9a5a3cb2809c7a">epdf</a>(const RV &rv0)</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline]</code></td></tr> 38 38 <tr class="memlist"><td><a class="el" href="classenorm.html#b9e1dfd33692d7b3f1a59f17b0e61bd0">eval</a>(const vec &val) const </td><td><a class="el" href="classenorm.html">enorm< sq_T ></a></td><td><code> [inline, virtual]</code></td></tr> 39 <tr class="memlist"><td><a class="el" href="classe norm.html#609a7c33dbb4fdfab050f3bdd1122401">evalpdflog</a>(const vec &val) const </td><td><a class="el" href="classenorm.html">enorm< sq_T ></a></td><td><code> [inline, virtual]</code></td></tr>40 <tr class="memlist"><td><a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">e EF::evalpdflog</a>(const mat &Val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr>41 <tr class="memlist"><td><a class="el" href="classe EF.html#48cdd33d0e20d1a1aa45683c956bc61c">evalpdflog_nn</a>(const vec &val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr>42 <tr class="memlist"><td><a class="el" href="classenorm.html# 9b9f58dc86affa23511c246887420658">getR</a>()</td><td><a class="el" href="classenorm.html">enorm< sq_T ></a></td><td><code> [inline]</code></td></tr>39 <tr class="memlist"><td><a class="el" href="classeEF.html#6466e8d4aa9dd64698ed288cbb1afc03">evalpdflog</a>(const vec &val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr> 40 <tr class="memlist"><td><a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">evalpdflog</a>(const mat &Val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr> 41 <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 42 <tr class="memlist"><td><a class="el" href="classenorm.html#c1e3dcba256b0153cfdb286120e110be">evalpdflog_nn</a>(const vec &val) const </td><td><a class="el" href="classenorm.html">enorm< sq_T ></a></td><td><code> [inline, virtual]</code></td></tr> 43 43 <tr class="memlist"><td><a class="el" href="classenorm.html#b289a36a69db59d182bb6eba9c05d4a8">lognc</a>() const </td><td><a class="el" href="classenorm.html">enorm< sq_T ></a></td><td><code> [inline, virtual]</code></td></tr> 44 44 <tr class="memlist"><td><a class="el" href="classenorm.html#50fa84da7bae02f7af17a98f37566899">mean</a>() const </td><td><a class="el" href="classenorm.html">enorm< sq_T ></a></td><td><code> [inline, virtual]</code></td></tr> … … 55 55 <tr class="memlist"><td><a class="el" href="classepdf.html#0a322dd106f04c0a2915e3d4f4227396">~epdf</a>()</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 56 56 </table></div> 57 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:512008 for mixpp by 57 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by 58 58 <a href="http://www.doxygen.org/index.html"> 59 59 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classenorm.html ¶
r171 r180 76 76 77 77 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr> 78 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 609a7c33dbb4fdfab050f3bdd1122401"></a><!-- doxytag: member="enorm::evalpdflog" ref="609a7c33dbb4fdfab050f3bdd1122401" args="(const vec &val) const " -->79 double </td><td class="memItemRight" valign="bottom"><a class="el" href="classenorm.html# 609a7c33dbb4fdfab050f3bdd1122401">evalpdflog</a> (const vec &val) const </td></tr>78 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c1e3dcba256b0153cfdb286120e110be"></a><!-- doxytag: member="enorm::evalpdflog_nn" ref="c1e3dcba256b0153cfdb286120e110be" args="(const vec &val) const " --> 79 double </td><td class="memItemRight" valign="bottom"><a class="el" href="classenorm.html#c1e3dcba256b0153cfdb286120e110be">evalpdflog_nn</a> (const vec &val) const </td></tr> 80 80 81 81 <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluate normalized log-probability. <br></td></tr> … … 100 100 101 101 <tr><td class="mdescLeft"> </td><td class="mdescRight">returns pointers to the internal variance and its inverse. Use with Care! <br></td></tr> 102 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9b9f58dc86affa23511c246887420658"></a><!-- doxytag: member="enorm::getR" ref="9b9f58dc86affa23511c246887420658" args="()" -->103 mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classenorm.html#9b9f58dc86affa23511c246887420658">getR</a> ()</td></tr>104 105 <tr><td class="mdescLeft"> </td><td class="mdescRight">access method <br></td></tr>106 102 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a89bef8996410609004fa019b5b48964"></a><!-- doxytag: member="enorm::dupdate" ref="a89bef8996410609004fa019b5b48964" args="(mat &v)" --> 107 103 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEF.html#a89bef8996410609004fa019b5b48964">dupdate</a> (mat &v)</td></tr> 108 104 109 105 <tr><td class="mdescLeft"> </td><td class="mdescRight">TODO decide if it is really needed. <br></td></tr> 110 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 48cdd33d0e20d1a1aa45683c956bc61c"></a><!-- doxytag: member="enorm::evalpdflog_nn" ref="48cdd33d0e20d1a1aa45683c956bc61c" args="(const vec &val) const " -->111 virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEF.html# 48cdd33d0e20d1a1aa45683c956bc61c">evalpdflog_nn</a> (const vec &val) const </td></tr>106 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6466e8d4aa9dd64698ed288cbb1afc03"></a><!-- doxytag: member="enorm::evalpdflog" ref="6466e8d4aa9dd64698ed288cbb1afc03" args="(const vec &val) const " --> 107 virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEF.html#6466e8d4aa9dd64698ed288cbb1afc03">evalpdflog</a> (const vec &val) const </td></tr> 112 108 113 109 <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluate normalized log-probability. <br></td></tr> … … 124 120 125 121 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns N samples from density <img class="formulaInl" alt="$epdf(rv)$" src="form_59.png">. <br></td></tr> 122 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cebbdd7a85e6328f7358fc0ba8eee06c"></a><!-- doxytag: member="enorm::evalpdflog_m" ref="cebbdd7a85e6328f7358fc0ba8eee06c" args="(const mat &Val) const " --> 123 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &Val) const </td></tr> 124 125 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr> 126 126 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ca0d32aabb4cbba347e0c37fe8607562"></a><!-- doxytag: member="enorm::_rv" ref="ca0d32aabb4cbba347e0c37fe8607562" args="() const " --> 127 127 const <a class="el" href="classRV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562">_rv</a> () const </td></tr> … … 159 159 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 160 160 </div> 161 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:512008 for mixpp by 161 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by 162 162 <a href="http://www.doxygen.org/index.html"> 163 163 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classepdf-members.html ¶
r171 r180 31 31 <tr class="memlist"><td><a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">eval</a>(const vec &val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 32 32 <tr class="memlist"><td><a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">evalpdflog</a>(const vec &val) const =0</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [pure virtual]</code></td></tr> 33 <tr class="memlist"><td><a class="el" href="classepdf.html# 6af383b6f1c6ea6fc5f6724dd03d8877">evalpdflog</a>(const mat &Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>33 <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 34 34 <tr class="memlist"><td><a class="el" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870">mean</a>() const =0</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [pure virtual]</code></td></tr> 35 35 <tr class="memlist"><td><a class="el" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">rv</a></td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [protected]</code></td></tr> … … 38 38 <tr class="memlist"><td><a class="el" href="classepdf.html#0a322dd106f04c0a2915e3d4f4227396">~epdf</a>()</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 39 39 </table></div> 40 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 40 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by 41 41 <a href="http://www.doxygen.org/index.html"> 42 42 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classepdf.html ¶
r171 r180 34 34 <p><center><img src="classepdf__inherit__graph.png" border="0" usemap="#epdf__inherit__map" alt="Inheritance graph"></center> 35 35 <map name="epdf__inherit__map"> 36 <area shape="rect" href="classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="261,87,304,113"><area shape="rect" href="classeEmp.html" title="Weighted empirical density." alt="" coords="328,87,387,113"><area shape="rect" href="classemix.html" title="Mixture of epdfs." alt="" coords="411,87,461,113"><area shape="rect" href="classeprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod." alt="" coords="485,87,544,113"><area shape="rect" href="classeuni.html" title="Uniform distributed density on a rectangular support." alt="" coords="568,87,616,113"><area shape="rect" title="internal class for MPDF providing composition of eEmp with external components" alt="" coords="640,87,811,113"><area shape="rect" href="classeDirich.html" title="Dirichlet posterior density." alt="" coords="5,167,69,193"><area shape="rect" href="classegamma.html" title="Gamma posterior density." alt="" coords="93,167,173,193"><area shape="rect" href="classegiw.html" title="Gauss-inverse-Wishart density stored in LD form." alt="" coords="197,167,245,193"><area shape="rect" href="classenorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="392,167,515,193"><area shape="rect" href="classenorm.html" title="enorm\< ldmat \>" alt="" coords="233,263,364,289"><area shape="rect" href="classenorm.html" title="enorm\< chmat \>" alt="" coords="581,263,715,289"><area shape="rect" href="classenorm.html" title="enorm\< fsqmat \>" alt="" coords="396,263,535,289"></map>36 <area shape="rect" href="classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="261,87,304,113"><area shape="rect" href="classeEmp.html" title="Weighted empirical density." alt="" coords="328,87,387,113"><area shape="rect" href="classemix.html" title="Mixture of epdfs." alt="" coords="411,87,461,113"><area shape="rect" href="classeprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod." alt="" coords="485,87,544,113"><area shape="rect" href="classeuni.html" title="Uniform distributed density on a rectangular support." alt="" coords="568,87,616,113"><area shape="rect" href="classmerger.html" title="Function for general combination of pdfs." alt="" coords="640,87,707,113"><area shape="rect" title="internal class for MPDF providing composition of eEmp with external components" alt="" coords="731,87,901,113"><area shape="rect" href="classeDirich.html" title="Dirichlet posterior density." alt="" coords="5,167,69,193"><area shape="rect" href="classegamma.html" title="Gamma posterior density." alt="" coords="93,167,173,193"><area shape="rect" href="classegiw.html" title="Gauss-inverse-Wishart density stored in LD form." alt="" coords="197,167,245,193"><area shape="rect" href="classenorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="392,167,515,193"><area shape="rect" href="classenorm.html" title="enorm\< ldmat \>" alt="" coords="233,263,364,289"><area shape="rect" href="classenorm.html" title="enorm\< chmat \>" alt="" coords="581,263,715,289"><area shape="rect" href="classenorm.html" title="enorm\< fsqmat \>" alt="" coords="396,263,535,289"></map> 37 37 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 38 38 <div class="dynheader"> … … 72 72 73 73 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of argument <code>val</code>. <br></td></tr> 74 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 6af383b6f1c6ea6fc5f6724dd03d8877"></a><!-- doxytag: member="epdf::evalpdflog" ref="6af383b6f1c6ea6fc5f6724dd03d8877" args="(const mat &Val) const " -->75 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html# 6af383b6f1c6ea6fc5f6724dd03d8877">evalpdflog</a> (const mat &Val) const </td></tr>74 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cebbdd7a85e6328f7358fc0ba8eee06c"></a><!-- doxytag: member="epdf::evalpdflog_m" ref="cebbdd7a85e6328f7358fc0ba8eee06c" args="(const mat &Val) const " --> 75 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &Val) const </td></tr> 76 76 77 77 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr> … … 102 102 <li>work/git/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a><li>work/git/mixpp/bdm/stat/libBM.cpp</ul> 103 103 </div> 104 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 104 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by 105 105 <a href="http://www.doxygen.org/index.html"> 106 106 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classepdf__inherit__graph.map ¶
r171 r180 4 4 <area shape="rect" href="$classeprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod." alt="" coords="485,87,544,113"> 5 5 <area shape="rect" href="$classeuni.html" title="Uniform distributed density on a rectangular support." alt="" coords="568,87,616,113"> 6 <area shape="rect" title="internal class for MPDF providing composition of eEmp with external components" alt="" coords="640,87,811,113"> 6 <area shape="rect" href="$classmerger.html" title="Function for general combination of pdfs." alt="" coords="640,87,707,113"> 7 <area shape="rect" title="internal class for MPDF providing composition of eEmp with external components" alt="" coords="731,87,901,113"> 7 8 <area shape="rect" href="$classeDirich.html" title="Dirichlet posterior density." alt="" coords="5,167,69,193"> 8 9 <area shape="rect" href="$classegamma.html" title="Gamma posterior density." alt="" coords="93,167,173,193"> -
TabularUnified doc/html/classepdf__inherit__graph.md5 ¶
r171 r180 1 b93c1d3b26cd43a431d33655ca7d0993 1 00b28a9d55c40d3ad05c2cc08b34812a -
TabularUnified doc/html/classeprod-members.html ¶
r171 r180 33 33 <tr class="memlist"><td><a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">eval</a>(const vec &val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 34 34 <tr class="memlist"><td><a class="el" href="classeprod.html#5adef154e3655a872c284b02635b8b35">evalpdflog</a>(const vec &val) const </td><td><a class="el" href="classeprod.html">eprod</a></td><td><code> [inline, virtual]</code></td></tr> 35 <tr class="memlist"><td><a class="el" href="classepdf.html# 6af383b6f1c6ea6fc5f6724dd03d8877">epdf::evalpdflog</a>(const mat &Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>35 <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 36 36 <tr class="memlist"><td><a class="el" href="classeprod.html#5752dd999e1f4638f9558b0cc35b64f7">mean</a>() const </td><td><a class="el" href="classeprod.html">eprod</a></td><td><code> [inline, virtual]</code></td></tr> 37 37 <tr class="memlist"><td><a class="el" href="classeprod.html#c049331d8b1ec7e4c088cf0cc6d47f3f">operator()</a>(int i) const </td><td><a class="el" href="classeprod.html">eprod</a></td><td><code> [inline]</code></td></tr> … … 42 42 <tr class="memlist"><td><a class="el" href="classepdf.html#0a322dd106f04c0a2915e3d4f4227396">~epdf</a>()</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 43 43 </table></div> 44 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 44 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by 45 45 <a href="http://www.doxygen.org/index.html"> 46 46 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classeprod.html ¶
r171 r180 75 75 76 76 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr> 77 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 6af383b6f1c6ea6fc5f6724dd03d8877"></a><!-- doxytag: member="eprod::evalpdflog" ref="6af383b6f1c6ea6fc5f6724dd03d8877" args="(const mat &Val) const " -->78 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html# 6af383b6f1c6ea6fc5f6724dd03d8877">evalpdflog</a> (const mat &Val) const </td></tr>77 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cebbdd7a85e6328f7358fc0ba8eee06c"></a><!-- doxytag: member="eprod::evalpdflog_m" ref="cebbdd7a85e6328f7358fc0ba8eee06c" args="(const mat &Val) const " --> 78 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &Val) const </td></tr> 79 79 80 80 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr> … … 105 105 <li>work/git/mixpp/bdm/stat/<a class="el" href="emix_8h-source.html">emix.h</a></ul> 106 106 </div> 107 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 107 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by 108 108 <a href="http://www.doxygen.org/index.html"> 109 109 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classeuni-members.html ¶
r171 r180 33 33 <tr class="memlist"><td><a class="el" href="classeuni.html#2723d4992900b5c5495bfa03628195ed">eval</a>(const vec &val) const </td><td><a class="el" href="classeuni.html">euni</a></td><td><code> [inline, virtual]</code></td></tr> 34 34 <tr class="memlist"><td><a class="el" href="classeuni.html#06af95d514a6623ad4688bd2ad50ad71">evalpdflog</a>(const vec &val) const </td><td><a class="el" href="classeuni.html">euni</a></td><td><code> [inline, virtual]</code></td></tr> 35 <tr class="memlist"><td><a class="el" href="classepdf.html# 6af383b6f1c6ea6fc5f6724dd03d8877">epdf::evalpdflog</a>(const mat &Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>35 <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 36 36 <tr class="memlist"><td><a class="el" href="classeuni.html#71b6d6b41aeb61a7f76f682b72119231">high</a></td><td><a class="el" href="classeuni.html">euni</a></td><td><code> [protected]</code></td></tr> 37 37 <tr class="memlist"><td><a class="el" href="classeuni.html#f445a0ce24f39d14c1a4eed53fc8e2c3">lnk</a></td><td><a class="el" href="classeuni.html">euni</a></td><td><code> [protected]</code></td></tr> … … 45 45 <tr class="memlist"><td><a class="el" href="classepdf.html#0a322dd106f04c0a2915e3d4f4227396">~epdf</a>()</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 46 46 </table></div> 47 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 47 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by 48 48 <a href="http://www.doxygen.org/index.html"> 49 49 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classeuni.html ¶
r171 r180 76 76 77 77 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns N samples from density <img class="formulaInl" alt="$epdf(rv)$" src="form_59.png">. <br></td></tr> 78 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 6af383b6f1c6ea6fc5f6724dd03d8877"></a><!-- doxytag: member="euni::evalpdflog" ref="6af383b6f1c6ea6fc5f6724dd03d8877" args="(const mat &Val) const " -->79 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html# 6af383b6f1c6ea6fc5f6724dd03d8877">evalpdflog</a> (const mat &Val) const </td></tr>78 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cebbdd7a85e6328f7358fc0ba8eee06c"></a><!-- doxytag: member="euni::evalpdflog_m" ref="cebbdd7a85e6328f7358fc0ba8eee06c" args="(const mat &Val) const " --> 79 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &Val) const </td></tr> 80 80 81 81 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr> … … 118 118 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 119 119 </div> 120 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 120 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by 121 121 <a href="http://www.doxygen.org/index.html"> 122 122 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classfnc-members.html ¶
r171 r180 31 31 <tr class="memlist"><td><a class="el" href="classfnc.html#17164c202f6feee3d708b8caab6306ab">~fnc</a>()</td><td><a class="el" href="classfnc.html">fnc</a></td><td><code> [inline, virtual]</code></td></tr> 32 32 </table></div> 33 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 33 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by 34 34 <a href="http://www.doxygen.org/index.html"> 35 35 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classfnc.html ¶
r171 r180 67 67 <li>work/git/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul> 68 68 </div> 69 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 69 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by 70 70 <a href="http://www.doxygen.org/index.html"> 71 71 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classfsqmat-members.html ¶
r171 r180 57 57 <tr class="memlist"><td><a class="el" href="classsqmat.html#0481f2067bb32aaea7e6d4f27e46b656">~sqmat</a>()</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [inline, virtual]</code></td></tr> 58 58 </table></div> 59 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 59 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by 60 60 <a href="http://www.doxygen.org/index.html"> 61 61 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classfsqmat.html ¶
r171 r180 328 328 <li>work/git/mixpp/bdm/math/<a class="el" href="libDC_8h-source.html">libDC.h</a><li>work/git/mixpp/bdm/math/libDC.cpp</ul> 329 329 </div> 330 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:522008 for mixpp by 330 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by 331 331 <a href="http://www.doxygen.org/index.html"> 332 332 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classitpp_1_1Gamma__RNG-members.html ¶
r171 r180 32 32 <tr class="memlist"><td><a class="el" href="classitpp_1_1Gamma__RNG.html#dfaae19411e39aa87e1f72e409b6babe">setup</a>(double a0, double b0)</td><td><a class="el" href="classitpp_1_1Gamma__RNG.html">itpp::Gamma_RNG</a></td><td><code> [inline]</code></td></tr> 33 33 </table></div> 34 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:562008 for mixpp by 34 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by 35 35 <a href="http://www.doxygen.org/index.html"> 36 36 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classitpp_1_1Gamma__RNG.html ¶
r171 r180 65 65 <li>work/git/mixpp/bdm/<a class="el" href="itpp__ext_8h-source.html">itpp_ext.h</a><li>work/git/mixpp/bdm/itpp_ext.cpp</ul> 66 66 </div> 67 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:562008 for mixpp by 67 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by 68 68 <a href="http://www.doxygen.org/index.html"> 69 69 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classldmat-members.html ¶
r171 r180 62 62 <tr class="memlist"><td><a class="el" href="classsqmat.html#0481f2067bb32aaea7e6d4f27e46b656">~sqmat</a>()</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [inline, private, virtual]</code></td></tr> 63 63 </table></div> 64 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:532008 for mixpp by 64 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by 65 65 <a href="http://www.doxygen.org/index.html"> 66 66 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classldmat.html ¶
r171 r180 503 503 <li>work/git/mixpp/bdm/math/<a class="el" href="libDC_8h-source.html">libDC.h</a><li>work/git/mixpp/bdm/math/libDC.cpp</ul> 504 504 </div> 505 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:532008 for mixpp by 505 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by 506 506 <a href="http://www.doxygen.org/index.html"> 507 507 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classlinfn-members.html ¶
r171 r180 33 33 <tr class="memlist"><td><a class="el" href="classfnc.html#17164c202f6feee3d708b8caab6306ab">~fnc</a>()</td><td><a class="el" href="classfnc.html">fnc</a></td><td><code> [inline, virtual]</code></td></tr> 34 34 </table></div> 35 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:532008 for mixpp by 35 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by 36 36 <a href="http://www.doxygen.org/index.html"> 37 37 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classlinfn.html ¶
r171 r180 74 74 <li>work/git/mixpp/bdm/stat/<a class="el" href="libFN_8h-source.html">libFN.h</a></ul> 75 75 </div> 76 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:532008 for mixpp by 76 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by 77 77 <a href="http://www.doxygen.org/index.html"> 78 78 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classlogger-members.html ¶
r171 r180 34 34 <tr class="memlist"><td><a class="el" href="classlogger.html#92c63a0a87392c62b9ed3c00faa9d5df">~logger</a>()</td><td><a class="el" href="classlogger.html">logger</a></td><td><code> [inline, virtual]</code></td></tr> 35 35 </table></div> 36 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:532008 for mixpp by 36 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by 37 37 <a href="http://www.doxygen.org/index.html"> 38 38 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classlogger.html ¶
r171 r180 81 81 <li>work/git/mixpp/bdm/stat/<a class="el" href="loggers_8h-source.html">loggers.h</a></ul> 82 82 </div> 83 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:532008 for mixpp by 83 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by 84 84 <a href="http://www.doxygen.org/index.html"> 85 85 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmEF-members.html ¶
r171 r180 39 39 <tr class="memlist"><td><a class="el" href="classmpdf.html#6788be9f3a888796499c5293a318fcfb">~mpdf</a>()</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline, virtual]</code></td></tr> 40 40 </table></div> 41 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:532008 for mixpp by 41 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by 42 42 <a href="http://www.doxygen.org/index.html"> 43 43 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmEF.html ¶
r171 r180 133 133 <p>Reimplemented in <a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">mprod</a>.</p> 134 134 135 <p>References <a class="el" href="libBM_8h-source.html#l002 07">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00190">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p>135 <p>References <a class="el" href="libBM_8h-source.html#l00215">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00198">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> 136 136 137 137 <p>Referenced by <a class="el" href="libPF_8h-source.html#l00137">MPF< BM_T >::bayes()</a>, and <a class="el" href="libPF_8cpp-source.html#l00007">PF::bayes()</a>.</p> … … 183 183 <p>Reimplemented in <a class="el" href="classmprod.html#e171c40e210539c2af01d6237785620b">mprod</a>.</p> 184 184 185 <p>References <a class="el" href="libBM_8h-source.html#l002 07">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00190">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, <a class="el" href="libBM_8h-source.html#l00186">mpdf::rv</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p>185 <p>References <a class="el" href="libBM_8h-source.html#l00215">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00198">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, <a class="el" href="libBM_8h-source.html#l00194">mpdf::rv</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> 186 186 187 187 </div> … … 190 190 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 191 191 </div> 192 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:532008 for mixpp by 192 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by 193 193 <a href="http://www.doxygen.org/index.html"> 194 194 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmemlog-members.html ¶
r171 r180 40 40 <tr class="memlist"><td><a class="el" href="classlogger.html#92c63a0a87392c62b9ed3c00faa9d5df">~logger</a>()</td><td><a class="el" href="classlogger.html">logger</a></td><td><code> [inline, virtual]</code></td></tr> 41 41 </table></div> 42 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:532008 for mixpp by 42 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by 43 43 <a href="http://www.doxygen.org/index.html"> 44 44 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmemlog.html ¶
r171 r180 104 104 <li>work/git/mixpp/bdm/stat/<a class="el" href="loggers_8h-source.html">loggers.h</a><li>work/git/mixpp/bdm/stat/loggers.cpp</ul> 105 105 </div> 106 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:532008 for mixpp by 106 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by 107 107 <a href="http://www.doxygen.org/index.html"> 108 108 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmepdf-members.html ¶
r171 r180 39 39 <tr class="memlist"><td><a class="el" href="classmpdf.html#6788be9f3a888796499c5293a318fcfb">~mpdf</a>()</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline, virtual]</code></td></tr> 40 40 </table></div> 41 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:532008 for mixpp by 41 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by 42 42 <a href="http://www.doxygen.org/index.html"> 43 43 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmepdf.html ¶
r171 r180 133 133 <p>Reimplemented in <a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">mprod</a>.</p> 134 134 135 <p>References <a class="el" href="libBM_8h-source.html#l002 07">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00190">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p>135 <p>References <a class="el" href="libBM_8h-source.html#l00215">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00198">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> 136 136 137 137 <p>Referenced by <a class="el" href="libPF_8h-source.html#l00137">MPF< BM_T >::bayes()</a>, and <a class="el" href="libPF_8cpp-source.html#l00007">PF::bayes()</a>.</p> … … 183 183 <p>Reimplemented in <a class="el" href="classmprod.html#e171c40e210539c2af01d6237785620b">mprod</a>.</p> 184 184 185 <p>References <a class="el" href="libBM_8h-source.html#l002 07">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00190">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, <a class="el" href="libBM_8h-source.html#l00186">mpdf::rv</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p>185 <p>References <a class="el" href="libBM_8h-source.html#l00215">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00198">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, <a class="el" href="libBM_8h-source.html#l00194">mpdf::rv</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> 186 186 187 187 </div> … … 190 190 <li>work/git/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul> 191 191 </div> 192 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:532008 for mixpp by 192 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by 193 193 <a href="http://www.doxygen.org/index.html"> 194 194 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmerger-members.html ¶
r171 r180 25 25 <div class="contents"> 26 26 <h1>merger Member List</h1>This is the complete list of members for <a class="el" href="classmerger.html">merger</a>, including all inherited members.<p><table> 27 <tr class="memlist"><td><a class="el" href="classmpdf.html#e17780ee5b2cfe05922a6c56af1462f8">_epdf</a>()</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline]</code></td></tr> 28 <tr class="memlist"><td><a class="el" href="classmpdf.html#1e71ad4c66d5884c82d4a3b06b42fe32">_rv</a>()</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline]</code></td></tr> 29 <tr class="memlist"><td><a class="el" href="classmpdf.html#ec9c850305984582548e8deb64f0ffe8">_rvc</a>()</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline]</code></td></tr> 30 <tr class="memlist"><td><a class="el" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83">condition</a>(const vec &cond)</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline, virtual]</code></td></tr> 31 <tr class="memlist"><td><a class="el" href="classmerger.html#1712341746811f2844de5499817abb46">condpdf</a></td><td><a class="el" href="classmerger.html">merger</a></td><td><code> [protected]</code></td></tr> 32 <tr class="memlist"><td><a class="el" href="classmpdf.html#7aa894208a32f3487827df6d5054424c">ep</a></td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [protected]</code></td></tr> 33 <tr bgcolor="#f0f0f0"><td><b>epdfs</b> (defined in <a class="el" href="classmprod.html">mprod</a>)</td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [protected]</code></td></tr> 34 <tr class="memlist"><td><a class="el" href="classmpdf.html#80b738ece5bd4f8c4edaee4b38906f91">evalcond</a>(const vec &dt, const vec &cond)</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline, virtual]</code></td></tr> 35 <tr bgcolor="#f0f0f0"><td><b>evalpdflog</b>(const vec &val) const (defined in <a class="el" href="classmprod.html">mprod</a>)</td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [inline]</code></td></tr> 36 <tr class="memlist"><td><a class="el" href="classmerger.html#1a6a721294321c2e412ca0084c636b69">merger</a>(const Array< mpdf * > &in_sources)</td><td><a class="el" href="classmerger.html">merger</a></td><td><code> [inline]</code></td></tr> 37 <tr class="memlist"><td><a class="el" href="classmpdf.html#581ecf362185d37c08bb31cb9d046d6f">mpdf</a>(const RV &rv0, const RV &rvc0)</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline]</code></td></tr> 38 <tr bgcolor="#f0f0f0"><td><b>mpdfs</b> (defined in <a class="el" href="classmprod.html">mprod</a>)</td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [protected]</code></td></tr> 39 <tr class="memlist"><td><a class="el" href="classmprod.html#37f028561c45ce5fd3a1351a911e31dc">mprod</a>(Array< mpdf * > mFacs, bool overlap=false)</td><td><a class="el" href="classmprod.html">mprod</a></td><td></td></tr> 40 <tr bgcolor="#f0f0f0"><td><b>n</b> (defined in <a class="el" href="classmprod.html">mprod</a>)</td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [protected]</code></td></tr> 41 <tr class="memlist"><td><a class="el" href="classmerger.html#11eb177ef6409926b2ba3b4630bceab1">overlaps</a></td><td><a class="el" href="classmerger.html">merger</a></td><td><code> [protected]</code></td></tr> 42 <tr class="memlist"><td><a class="el" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">rv</a></td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [protected]</code></td></tr> 43 <tr class="memlist"><td><a class="el" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab">rvc</a></td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [protected]</code></td></tr> 44 <tr class="memlist"><td><a class="el" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6">rvcinds</a></td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [protected]</code></td></tr> 45 <tr class="memlist"><td><a class="el" href="classmprod.html#1725c7b497a27ab3c4889b846666b516">rvcinrv</a></td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [protected]</code></td></tr> 46 <tr class="memlist"><td><a class="el" href="classmprod.html#c8f78fbcdb4e38ecd3197d2958082497">rvinds</a></td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [protected]</code></td></tr> 47 <tr class="memlist"><td><a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">samplecond</a>(const vec &cond, double &ll)</td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [inline, virtual]</code></td></tr> 48 <tr class="memlist"><td><a class="el" href="classmprod.html#e171c40e210539c2af01d6237785620b">samplecond</a>(const vec &cond, vec &ll, int N)</td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [inline, virtual]</code></td></tr> 27 <tr class="memlist"><td><a class="el" href="classepdf.html#7fb94ce90d1ac7077d29f7d6a6c3e0a5">_renewrv</a>(const RV &in_rv)</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline]</code></td></tr> 28 <tr class="memlist"><td><a class="el" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562">_rv</a>() const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline]</code></td></tr> 29 <tr class="memlist"><td><a class="el" href="classmerger.html#e68a72e2740007ae68545e378c7701ad">beta</a></td><td><a class="el" href="classmerger.html">merger</a></td><td><code> [protected]</code></td></tr> 30 <tr bgcolor="#f0f0f0"><td><b>compositepdf</b>(Array< mpdf * > A0) (defined in <a class="el" href="classcompositepdf.html">compositepdf</a>)</td><td><a class="el" href="classcompositepdf.html">compositepdf</a></td><td><code> [inline]</code></td></tr> 31 <tr class="memlist"><td><a class="el" href="classepdf.html#d8eb760037b3bad5a0d64081606697cd">epdf</a>()</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline]</code></td></tr> 32 <tr class="memlist"><td><a class="el" href="classepdf.html#c95b1a27a8dd9507bb9a5a3cb2809c7a">epdf</a>(const RV &rv0)</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline]</code></td></tr> 33 <tr class="memlist"><td><a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">eval</a>(const vec &val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 34 <tr class="memlist"><td><a class="el" href="classmerger.html#8c37688902b1a1e9fa32edc5709e5a00">evalpdflog</a>(const vec &dt) const </td><td><a class="el" href="classmerger.html">merger</a></td><td><code> [inline, virtual]</code></td></tr> 35 <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 36 <tr bgcolor="#f0f0f0"><td><b>getrv</b>(bool checkoverlap=false) (defined in <a class="el" href="classcompositepdf.html">compositepdf</a>)</td><td><a class="el" href="classcompositepdf.html">compositepdf</a></td><td></td></tr> 37 <tr class="memlist"><td><a class="el" href="classmerger.html#02d2a445e44a87f37ee3a2b9b40cffd1">init</a>()</td><td><a class="el" href="classmerger.html">merger</a></td><td><code> [inline]</code></td></tr> 38 <tr class="memlist"><td><a class="el" href="classmerger.html#217c65f335c603033fa09a2ecc64bc05">lognorm_merge</a>(mat &lW)</td><td><a class="el" href="classmerger.html">merger</a></td><td></td></tr> 39 <tr class="memlist"><td><a class="el" href="classmerger.html#3a46999cd77047d5d4ac6c1cb735a83e">mean</a>() const </td><td><a class="el" href="classmerger.html">merger</a></td><td><code> [inline, virtual]</code></td></tr> 40 <tr class="memlist"><td><a class="el" href="classmerger.html#e56ad4a2bc9be2ddfc051626adf27715">merge</a>(const epdf *g0)</td><td><a class="el" href="classmerger.html">merger</a></td><td></td></tr> 41 <tr class="memlist"><td><a class="el" href="classmerger.html#bc23accc77ec766bce7202934e2c180c">merge</a>()</td><td><a class="el" href="classmerger.html">merger</a></td><td><code> [inline]</code></td></tr> 42 <tr class="memlist"><td><a class="el" href="classmerger.html#3f9a955329eab65026e8322e9027d469">merger</a>(const Array< mpdf * > &S)</td><td><a class="el" href="classmerger.html">merger</a></td><td><code> [inline]</code></td></tr> 43 <tr class="memlist"><td><a class="el" href="classmerger.html#021d1522cea70db8545d708afd32ec2f">Mix</a></td><td><a class="el" href="classmerger.html">merger</a></td><td><code> [protected]</code></td></tr> 44 <tr class="memlist"><td><a class="el" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d">mpdfs</a></td><td><a class="el" href="classcompositepdf.html">compositepdf</a></td><td><code> [protected]</code></td></tr> 45 <tr class="memlist"><td><a class="el" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f">n</a></td><td><a class="el" href="classcompositepdf.html">compositepdf</a></td><td><code> [protected]</code></td></tr> 46 <tr class="memlist"><td><a class="el" href="classmerger.html#6acf33e1c64aaaee20689725e8110f65">Nc</a></td><td><a class="el" href="classmerger.html">merger</a></td><td><code> [protected]</code></td></tr> 47 <tr class="memlist"><td><a class="el" href="classmerger.html#ce84de1824875b4262eefb640e8c6d69">Ns</a></td><td><a class="el" href="classmerger.html">merger</a></td><td><code> [protected]</code></td></tr> 48 <tr class="memlist"><td><a class="el" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">rv</a></td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [protected]</code></td></tr> 49 <tr class="memlist"><td><a class="el" href="classcompositepdf.html#3df07bb5e3ed36a3119b145043296676">rvcsinrv</a></td><td><a class="el" href="classcompositepdf.html">compositepdf</a></td><td><code> [protected]</code></td></tr> 50 <tr class="memlist"><td><a class="el" href="classcompositepdf.html#4d4a8269f9faefeca8cdc251a5a29a7f">rvsinrv</a></td><td><a class="el" href="classcompositepdf.html">compositepdf</a></td><td><code> [protected]</code></td></tr> 51 <tr class="memlist"><td><a class="el" href="classmerger.html#379198c3d2063bfa63f5d1245a2511ba">sample</a>() const </td><td><a class="el" href="classmerger.html">merger</a></td><td><code> [inline, virtual]</code></td></tr> 52 <tr class="memlist"><td><a class="el" href="classepdf.html#54d7dd53a641b618771cd9bee135181f">sampleN</a>(int N) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [virtual]</code></td></tr> 53 <tr class="memlist"><td><a class="el" href="classmerger.html#79420e251308df4502c834171d518ad9">set_parameters</a>(double beta0, int Ns0, int Nc0)</td><td><a class="el" href="classmerger.html">merger</a></td><td><code> [inline]</code></td></tr> 54 <tr bgcolor="#f0f0f0"><td><b>setindices</b>(const RV &rv) (defined in <a class="el" href="classcompositepdf.html">compositepdf</a>)</td><td><a class="el" href="classcompositepdf.html">compositepdf</a></td><td></td></tr> 55 <tr bgcolor="#f0f0f0"><td><b>setrvc</b>(const RV &rv, RV &rvc) (defined in <a class="el" href="classcompositepdf.html">compositepdf</a>)</td><td><a class="el" href="classcompositepdf.html">compositepdf</a></td><td></td></tr> 56 <tr bgcolor="#f0f0f0"><td><b>setrvcinrv</b>(const RV &rvc, Array< ivec > &rvcind) (defined in <a class="el" href="classcompositepdf.html">compositepdf</a>)</td><td><a class="el" href="classcompositepdf.html">compositepdf</a></td><td></td></tr> 57 <tr class="memlist"><td><a class="el" href="classepdf.html#0a322dd106f04c0a2915e3d4f4227396">~epdf</a>()</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr> 49 58 <tr class="memlist"><td><a class="el" href="classmerger.html#51e425ee1dd46d73353526e6a1c24ca3">~merger</a>()</td><td><a class="el" href="classmerger.html">merger</a></td><td><code> [inline, virtual]</code></td></tr> 50 <tr class="memlist"><td><a class="el" href="classmpdf.html#6788be9f3a888796499c5293a318fcfb">~mpdf</a>()</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline, virtual]</code></td></tr>51 <tr bgcolor="#f0f0f0"><td><b>~mprod</b>() (defined in <a class="el" href="classmprod.html">mprod</a>)</td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [inline]</code></td></tr>52 59 </table></div> 53 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:532008 for mixpp by 60 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by 54 61 <a href="http://www.doxygen.org/index.html"> 55 62 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmerger.html ¶
r171 r180 24 24 </div> 25 25 <div class="contents"> 26 <h1>merger Class Reference</h1><!-- doxytag: class="merger" --><!-- doxytag: inherits=" mprod" -->Function for general combination of pdfs.26 <h1>merger Class Reference</h1><!-- doxytag: class="merger" --><!-- doxytag: inherits="compositepdf,epdf" -->Function for general combination of pdfs. 27 27 <a href="#_details">More...</a> 28 28 <p> … … 34 34 <p><center><img src="classmerger__inherit__graph.png" border="0" usemap="#merger__inherit__map" alt="Inheritance graph"></center> 35 35 <map name="merger__inherit__map"> 36 <area shape="rect" href="class mprod.html" title="Chain rule decomposition of epdf." alt="" coords="7,84,71,111"><area shape="rect" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="12,7,65,33"></map>36 <area shape="rect" href="classcompositepdf.html" title="Abstract composition of pdfs, a base for specific classes." alt="" coords="5,7,112,33"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="136,7,184,33"></map> 37 37 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 38 38 <div class="dynheader"> … … 41 41 <p><center><img src="classmerger__coll__graph.png" border="0" usemap="#merger__coll__map" alt="Collaboration graph"></center> 42 42 <map name="merger__coll__map"> 43 <area shape="rect" href="class mprod.html" title="Chain rule decomposition of epdf." alt="" coords="13,353,77,380"><area shape="rect" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="5,204,59,231"><area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="40,7,77,33"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="75,105,123,132"><area shape="rect" href="classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="163,204,205,231"><area shape="rect" href="classenorm.html" title="enorm\< fsqmat \>" alt="" coords="135,407,273,433"><area shape="rect" href="classenorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="63,300,185,327"><area shape="rect" href="classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix." alt="" coords="260,300,327,327"><area shape="rect" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form..." alt="" coords="263,204,324,231"></map>43 <area shape="rect" href="classcompositepdf.html" title="Abstract composition of pdfs, a base for specific classes." alt="" coords="5,481,112,508"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="187,103,235,129"><area shape="rect" href="classeprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod." alt="" coords="171,236,229,263"><area shape="rect" href="classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="241,183,284,209"><area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="252,7,289,33"><area shape="rect" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="333,183,373,209"><area shape="rect" href="classMixEF.html" title="Mixture of Exponential Family Densities." alt="" coords="215,481,271,508"><area shape="rect" href="classBMEF.html" title="Estimator for Exponential family." alt="" coords="325,289,381,316"><area shape="rect" href="classmultiBM.html" title="Estimator for Multinomial density." alt="" coords="237,385,309,412"><area shape="rect" href="classeDirich.html" title="Dirichlet posterior density." alt="" coords="237,289,301,316"></map> 44 44 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 45 45 … … 48 48 <tr><td></td></tr> 49 49 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> 50 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 1a6a721294321c2e412ca0084c636b69"></a><!-- doxytag: member="merger::merger" ref="1a6a721294321c2e412ca0084c636b69" args="(const Array< mpdf * > &in_sources)" -->51 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html# 1a6a721294321c2e412ca0084c636b69">merger</a> (const Array< <a class="el" href="classmpdf.html">mpdf</a> * > &in_sources)</td></tr>50 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3f9a955329eab65026e8322e9027d469"></a><!-- doxytag: member="merger::merger" ref="3f9a955329eab65026e8322e9027d469" args="(const Array< mpdf * > &S)" --> 51 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#3f9a955329eab65026e8322e9027d469">merger</a> (const Array< <a class="el" href="classmpdf.html">mpdf</a> * > &S)</td></tr> 52 52 53 53 <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> 54 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#51e425ee1dd46d73353526e6a1c24ca3">~merger</a> ()</td></tr> 54 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="79420e251308df4502c834171d518ad9"></a><!-- doxytag: member="merger::set_parameters" ref="79420e251308df4502c834171d518ad9" args="(double beta0, int Ns0, int Nc0)" --> 55 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#79420e251308df4502c834171d518ad9">set_parameters</a> (double beta0, int Ns0, int Nc0)</td></tr> 55 56 56 <tr><td class="mdescLeft"> </td><td class="mdescRight"> for future use <a href="#51e425ee1dd46d73353526e6a1c24ca3"></a><br></td></tr>57 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" c15df5d0c7bb9dc82dd78f037b2550a8"></a><!-- doxytag: member="merger::evalpdflog" ref="c15df5d0c7bb9dc82dd78f037b2550a8" args="(const vec &val) const" -->58 double </td><td class="memItemRight" valign="bottom"><b>evalpdflog</b> (const vec &val) const</td></tr>57 <tr><td class="mdescLeft"> </td><td class="mdescRight">Set internal parameters used in approximation. <br></td></tr> 58 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="02d2a445e44a87f37ee3a2b9b40cffd1"></a><!-- doxytag: member="merger::init" ref="02d2a445e44a87f37ee3a2b9b40cffd1" args="()" --> 59 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#02d2a445e44a87f37ee3a2b9b40cffd1">init</a> ()</td></tr> 59 60 60 <tr><td class="memItemLeft" nowrap align="right" valign="top">vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">samplecond</a> (const vec &cond, double &ll)</td></tr> 61 <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize the proposal density. This function must be called before <a class="el" href="classmerger.html#bc23accc77ec766bce7202934e2c180c" title="Create a mixture density, make sure to call init() before the first call.">merge()</a>! <br></td></tr> 62 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e56ad4a2bc9be2ddfc051626adf27715"></a><!-- doxytag: member="merger::merge" ref="e56ad4a2bc9be2ddfc051626adf27715" args="(const epdf *g0)" --> 63 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#e56ad4a2bc9be2ddfc051626adf27715">merge</a> (const <a class="el" href="classepdf.html">epdf</a> *g0)</td></tr> 61 64 62 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the required moment of the <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>. <a href="#a48887eb8738a9e5550bfc38eb8e9d68"></a><br></td></tr> 63 <tr><td class="memItemLeft" nowrap align="right" valign="top">mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classmprod.html#e171c40e210539c2af01d6237785620b">samplecond</a> (const vec &cond, vec &ll, int N)</td></tr> 65 <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a mixture density using known proposal. <br></td></tr> 66 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bc23accc77ec766bce7202934e2c180c"></a><!-- doxytag: member="merger::merge" ref="bc23accc77ec766bce7202934e2c180c" args="()" --> 67 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#bc23accc77ec766bce7202934e2c180c">merge</a> ()</td></tr> 64 68 65 <tr><td class="mdescLeft"> </td><td class="mdescRight"> Returns. <a href="#e171c40e210539c2af01d6237785620b"></a><br></td></tr>66 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 0f95a0cc6ab40611f46804682446ed83"></a><!-- doxytag: member="merger::condition" ref="0f95a0cc6ab40611f46804682446ed83" args="(const vec &cond)" -->67 v irtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83">condition</a> (const vec &cond)</td></tr>69 <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a mixture density, make sure to call <a class="el" href="classmerger.html#02d2a445e44a87f37ee3a2b9b40cffd1" title="Initialize the proposal density. This function must be called before merge()!">init()</a> before the first call. <br></td></tr> 70 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="217c65f335c603033fa09a2ecc64bc05"></a><!-- doxytag: member="merger::lognorm_merge" ref="217c65f335c603033fa09a2ecc64bc05" args="(mat &lW)" --> 71 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#217c65f335c603033fa09a2ecc64bc05">lognorm_merge</a> (mat &lW)</td></tr> 68 72 69 <tr><td class="mdescLeft"> </td><td class="mdescRight">Update <code>ep</code> so that it represents this <a class="el" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> conditioned on <code>rvc</code> = cond. <br></td></tr> 70 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="80b738ece5bd4f8c4edaee4b38906f91"></a><!-- doxytag: member="merger::evalcond" ref="80b738ece5bd4f8c4edaee4b38906f91" args="(const vec &dt, const vec &cond)" --> 71 virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#80b738ece5bd4f8c4edaee4b38906f91">evalcond</a> (const vec &dt, const vec &cond)</td></tr> 73 <tr><td class="mdescLeft"> </td><td class="mdescRight">Merge log-likelihood values. <br></td></tr> 74 <tr><td class="memItemLeft" nowrap align="right" valign="top">vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#379198c3d2063bfa63f5d1245a2511ba">sample</a> () const </td></tr> 72 75 73 <tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut for conditioning and evaluation of the internal <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>. In some cases, this operation can be implemented efficiently. <br></td></tr> 74 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ec9c850305984582548e8deb64f0ffe8"></a><!-- doxytag: member="merger::_rvc" ref="ec9c850305984582548e8deb64f0ffe8" args="()" --> 75 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#ec9c850305984582548e8deb64f0ffe8">_rvc</a> ()</td></tr> 76 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8c37688902b1a1e9fa32edc5709e5a00"></a><!-- doxytag: member="merger::evalpdflog" ref="8c37688902b1a1e9fa32edc5709e5a00" args="(const vec &dt) const " --> 77 double </td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#8c37688902b1a1e9fa32edc5709e5a00">evalpdflog</a> (const vec &dt) const </td></tr> 76 78 77 <tr><td class="mdescLeft"> </td><td class="mdescRight"> access function<br></td></tr>78 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 1e71ad4c66d5884c82d4a3b06b42fe32"></a><!-- doxytag: member="merger::_rv" ref="1e71ad4c66d5884c82d4a3b06b42fe32" args="()" -->79 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#1e71ad4c66d5884c82d4a3b06b42fe32">_rv</a> ()</td></tr>79 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of argument <code>val</code>. <br></td></tr> 80 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3a46999cd77047d5d4ac6c1cb735a83e"></a><!-- doxytag: member="merger::mean" ref="3a46999cd77047d5d4ac6c1cb735a83e" args="() const " --> 81 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#3a46999cd77047d5d4ac6c1cb735a83e">mean</a> () const </td></tr> 80 82 81 <tr><td class="mdescLeft"> </td><td class="mdescRight"> access function<br></td></tr>82 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" e17780ee5b2cfe05922a6c56af1462f8"></a><!-- doxytag: member="merger::_epdf" ref="e17780ee5b2cfe05922a6c56af1462f8" args="()" -->83 <a class="el" href="classepdf.html">epdf</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#e17780ee5b2cfe05922a6c56af1462f8">_epdf</a> ()</td></tr>83 <tr><td class="mdescLeft"> </td><td class="mdescRight">return expected value <br></td></tr> 84 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="51e425ee1dd46d73353526e6a1c24ca3"></a><!-- doxytag: member="merger::~merger" ref="51e425ee1dd46d73353526e6a1c24ca3" args="()" --> 85 virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#51e425ee1dd46d73353526e6a1c24ca3">~merger</a> ()</td></tr> 84 86 85 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 87 <tr><td class="mdescLeft"> </td><td class="mdescRight">for future use <br></td></tr> 88 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="635d219fb3e32852400d6f98aa4bdc93"></a><!-- doxytag: member="merger::getrv" ref="635d219fb3e32852400d6f98aa4bdc93" args="(bool checkoverlap=false)" --> 89 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><b>getrv</b> (bool checkoverlap=false)</td></tr> 90 91 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5a4479785c1fdb2cc351fbea07b899ac"></a><!-- doxytag: member="merger::setrvc" ref="5a4479785c1fdb2cc351fbea07b899ac" args="(const RV &rv, RV &rvc)" --> 92 void </td><td class="memItemRight" valign="bottom"><b>setrvc</b> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">rv</a>, <a class="el" href="classRV.html">RV</a> &rvc)</td></tr> 93 94 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="08958c8f76d65de94ecc37b8d90bc77a"></a><!-- doxytag: member="merger::setindices" ref="08958c8f76d65de94ecc37b8d90bc77a" args="(const RV &rv)" --> 95 void </td><td class="memItemRight" valign="bottom"><b>setindices</b> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">rv</a>)</td></tr> 96 97 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3bd4ada95f381ea6c4cff2dc86e957c4"></a><!-- doxytag: member="merger::setrvcinrv" ref="3bd4ada95f381ea6c4cff2dc86e957c4" args="(const RV &rvc, Array< ivec > &rvcind)" --> 98 void </td><td class="memItemRight" valign="bottom"><b>setrvcinrv</b> (const <a class="el" href="classRV.html">RV</a> &rvc, Array< ivec > &rvcind)</td></tr> 99 100 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="54d7dd53a641b618771cd9bee135181f"></a><!-- doxytag: member="merger::sampleN" ref="54d7dd53a641b618771cd9bee135181f" args="(int N) const " --> 101 virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#54d7dd53a641b618771cd9bee135181f">sampleN</a> (int N) const </td></tr> 102 103 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns N samples from density <img class="formulaInl" alt="$epdf(rv)$" src="form_59.png">. <br></td></tr> 104 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3ea597362e11a0040fe7c990269d072c"></a><!-- doxytag: member="merger::eval" ref="3ea597362e11a0040fe7c990269d072c" args="(const vec &val) const " --> 105 virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">eval</a> (const vec &val) const </td></tr> 106 107 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr> 108 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cebbdd7a85e6328f7358fc0ba8eee06c"></a><!-- doxytag: member="merger::evalpdflog_m" ref="cebbdd7a85e6328f7358fc0ba8eee06c" args="(const mat &Val) const " --> 109 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &Val) const </td></tr> 110 111 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr> 112 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ca0d32aabb4cbba347e0c37fe8607562"></a><!-- doxytag: member="merger::_rv" ref="ca0d32aabb4cbba347e0c37fe8607562" args="() const " --> 113 const <a class="el" href="classRV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562">_rv</a> () const </td></tr> 114 115 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function, possibly dangerous! <br></td></tr> 116 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7fb94ce90d1ac7077d29f7d6a6c3e0a5"></a><!-- doxytag: member="merger::_renewrv" ref="7fb94ce90d1ac7077d29f7d6a6c3e0a5" args="(const RV &in_rv)" --> 117 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#7fb94ce90d1ac7077d29f7d6a6c3e0a5">_renewrv</a> (const <a class="el" href="classRV.html">RV</a> &in_rv)</td></tr> 118 119 <tr><td class="mdescLeft"> </td><td class="mdescRight">modifier function - useful when copying epdfs <br></td></tr> 86 120 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 87 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 1712341746811f2844de5499817abb46"></a><!-- doxytag: member="merger::condpdf" ref="1712341746811f2844de5499817abb46" args="" -->88 <a class="el" href="class enorm.html">enorm</a>< <a class="el" href="classfsqmat.html">fsqmat</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#1712341746811f2844de5499817abb46">condpdf</a></td></tr>121 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="021d1522cea70db8545d708afd32ec2f"></a><!-- doxytag: member="merger::Mix" ref="021d1522cea70db8545d708afd32ec2f" args="" --> 122 <a class="el" href="classMixEF.html">MixEF</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#021d1522cea70db8545d708afd32ec2f">Mix</a></td></tr> 89 123 90 <tr><td class="mdescLeft"> </td><td class="mdescRight"> Additional pdf on the part in condition (if undefined);. <br></td></tr>91 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 11eb177ef6409926b2ba3b4630bceab1"></a><!-- doxytag: member="merger::overlaps" ref="11eb177ef6409926b2ba3b4630bceab1" args="" -->92 Array< ivec > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#11eb177ef6409926b2ba3b4630bceab1">overlaps</a></td></tr>124 <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal mixture of EF models. <br></td></tr> 125 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ce84de1824875b4262eefb640e8c6d69"></a><!-- doxytag: member="merger::Ns" ref="ce84de1824875b4262eefb640e8c6d69" args="" --> 126 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#ce84de1824875b4262eefb640e8c6d69">Ns</a></td></tr> 93 127 94 <tr><td class="mdescLeft"> </td><td class="mdescRight"> Find potential overlaps in rv. <br></td></tr>95 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 7dcf1dde4a220f8c7b97ed987bff6c1f"></a><!-- doxytag: member="merger::n" ref="7dcf1dde4a220f8c7b97ed987bff6c1f" args="" -->96 int </td><td class="memItemRight" valign="bottom">< b>n</b></td></tr>128 <tr><td class="mdescLeft"> </td><td class="mdescRight">Number of samples used in approximation. <br></td></tr> 129 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6acf33e1c64aaaee20689725e8110f65"></a><!-- doxytag: member="merger::Nc" ref="6acf33e1c64aaaee20689725e8110f65" args="" --> 130 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#6acf33e1c64aaaee20689725e8110f65">Nc</a></td></tr> 97 131 98 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0883ce383e8475546df138719918f70e"></a><!-- doxytag: member="merger::epdfs" ref="0883ce383e8475546df138719918f70e" args="" --> 99 Array< <a class="el" href="classepdf.html">epdf</a> * > </td><td class="memItemRight" valign="bottom"><b>epdfs</b></td></tr> 132 <tr><td class="mdescLeft"> </td><td class="mdescRight">Number of components in a mixture. <br></td></tr> 133 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e68a72e2740007ae68545e378c7701ad"></a><!-- doxytag: member="merger::beta" ref="e68a72e2740007ae68545e378c7701ad" args="" --> 134 double </td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#e68a72e2740007ae68545e378c7701ad">beta</a></td></tr> 100 135 101 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2389c7585ac5d0d79587625186818889"></a><!-- doxytag: member="merger::mpdfs" ref="2389c7585ac5d0d79587625186818889" args="" --> 102 Array< <a class="el" href="classmpdf.html">mpdf</a> * > </td><td class="memItemRight" valign="bottom"><b>mpdfs</b></td></tr> 136 <tr><td class="mdescLeft"> </td><td class="mdescRight">Prior on the log-normal merging model. <br></td></tr> 137 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c1646fe41ff5934d010e54ccaa46133f"></a><!-- doxytag: member="merger::n" ref="c1646fe41ff5934d010e54ccaa46133f" args="" --> 138 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f">n</a></td></tr> 103 139 104 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c8f78fbcdb4e38ecd3197d2958082497"></a><!-- doxytag: member="merger::rvinds" ref="c8f78fbcdb4e38ecd3197d2958082497" args="" --> 105 Array< ivec > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmprod.html#c8f78fbcdb4e38ecd3197d2958082497">rvinds</a></td></tr> 140 <tr><td class="mdescLeft"> </td><td class="mdescRight">Number of mpdfs in the composite. <br></td></tr> 141 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="637877061b917a16a0421bb5c4cd480d"></a><!-- doxytag: member="merger::mpdfs" ref="637877061b917a16a0421bb5c4cd480d" args="" --> 142 Array< <a class="el" href="classmpdf.html">mpdf</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d">mpdfs</a></td></tr> 143 144 <tr><td class="mdescLeft"> </td><td class="mdescRight">Elements of composition. <br></td></tr> 145 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4d4a8269f9faefeca8cdc251a5a29a7f"></a><!-- doxytag: member="merger::rvsinrv" ref="4d4a8269f9faefeca8cdc251a5a29a7f" args="" --> 146 Array< ivec > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcompositepdf.html#4d4a8269f9faefeca8cdc251a5a29a7f">rvsinrv</a></td></tr> 106 147 107 148 <tr><td class="mdescLeft"> </td><td class="mdescRight">Indeces of rvs in common rv. <br></td></tr> 108 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 1725c7b497a27ab3c4889b846666b516"></a><!-- doxytag: member="merger::rvcinrv" ref="1725c7b497a27ab3c4889b846666b516" args="" -->109 Array< ivec > </td><td class="memItemRight" valign="bottom"><a class="el" href="class mprod.html#1725c7b497a27ab3c4889b846666b516">rvcinrv</a></td></tr>149 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3df07bb5e3ed36a3119b145043296676"></a><!-- doxytag: member="merger::rvcsinrv" ref="3df07bb5e3ed36a3119b145043296676" args="" --> 150 Array< ivec > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcompositepdf.html#3df07bb5e3ed36a3119b145043296676">rvcsinrv</a></td></tr> 110 151 111 152 <tr><td class="mdescLeft"> </td><td class="mdescRight">Indeces of rvc in common rv. <br></td></tr> 112 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" cc85192d8abc01832937ed8b62e363a6"></a><!-- doxytag: member="merger::rvcinds" ref="cc85192d8abc01832937ed8b62e363a6" args="" -->113 Array< ivec > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6">rvcinds</a></td></tr>153 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="74da992e3f5d598da8850b646b79b9d9"></a><!-- doxytag: member="merger::rv" ref="74da992e3f5d598da8850b646b79b9d9" args="" --> 154 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">rv</a></td></tr> 114 155 115 <tr><td class="mdescLeft"> </td><td class="mdescRight">Indeces of rvc in common rvc. <br></td></tr> 116 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f6687c07ff07d47812dd565368ca59eb"></a><!-- doxytag: member="merger::rv" ref="f6687c07ff07d47812dd565368ca59eb" args="" --> 117 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">rv</a></td></tr> 118 119 <tr><td class="mdescLeft"> </td><td class="mdescRight">modeled random variable <br></td></tr> 120 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="acb7dda792b3cd5576f39fa3129abbab"></a><!-- doxytag: member="merger::rvc" ref="acb7dda792b3cd5576f39fa3129abbab" args="" --> 121 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab">rvc</a></td></tr> 122 123 <tr><td class="mdescLeft"> </td><td class="mdescRight">random variable in condition <br></td></tr> 124 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7aa894208a32f3487827df6d5054424c"></a><!-- doxytag: member="merger::ep" ref="7aa894208a32f3487827df6d5054424c" args="" --> 125 <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#7aa894208a32f3487827df6d5054424c">ep</a></td></tr> 126 127 <tr><td class="mdescLeft"> </td><td class="mdescRight">pointer to internal <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> <br></td></tr> 156 <tr><td class="mdescLeft"> </td><td class="mdescRight">Identified of the random variable. <br></td></tr> 128 157 </table> 129 158 <hr><a name="_details"></a><h2>Detailed Description</h2> 130 159 Function for general combination of pdfs. 131 160 <p> 132 Parent of simple arithmentic or geometric combinations <hr><h2>Constructor & DestructorDocumentation</h2>133 <a class="anchor" name=" 51e425ee1dd46d73353526e6a1c24ca3"></a><!-- doxytag: member="merger::~merger" ref="51e425ee1dd46d73353526e6a1c24ca3" args="()" -->161 Mixtures of Gaussian densities are used internally. Switching to other densities should be trivial. <hr><h2>Member Function Documentation</h2> 162 <a class="anchor" name="379198c3d2063bfa63f5d1245a2511ba"></a><!-- doxytag: member="merger::sample" ref="379198c3d2063bfa63f5d1245a2511ba" args="() const " --> 134 163 <div class="memitem"> 135 164 <div class="memproto"> 136 165 <table class="memname"> 137 166 <tr> 138 <td class="memname">v irtual merger::~merger</td>167 <td class="memname">vec merger::sample </td> 139 168 <td>(</td> 140 169 <td class="paramname"> </td> 141 170 <td> ) </td> 142 <td> <code> [inline, virtual]</code></td>171 <td> const<code> [inline, virtual]</code></td> 143 172 </tr> 144 173 </table> … … 147 176 148 177 <p> 149 for future use150 <p>151 178 sample from merged density weight w is a 152 </div> 153 </div><p> 154 <hr><h2>Member Function Documentation</h2> 155 <a class="anchor" name="a48887eb8738a9e5550bfc38eb8e9d68"></a><!-- doxytag: member="merger::samplecond" ref="a48887eb8738a9e5550bfc38eb8e9d68" args="(const vec &cond, double &ll)" --> 156 <div class="memitem"> 157 <div class="memproto"> 158 <table class="memname"> 159 <tr> 160 <td class="memname">vec mprod::samplecond </td> 161 <td>(</td> 162 <td class="paramtype">const vec & </td> 163 <td class="paramname"> <em>cond</em>, </td> 164 </tr> 165 <tr> 166 <td class="paramkey"></td> 167 <td></td> 168 <td class="paramtype">double & </td> 169 <td class="paramname"> <em>ll</em></td><td> </td> 170 </tr> 171 <tr> 172 <td></td> 173 <td>)</td> 174 <td></td><td></td><td><code> [inline, virtual, inherited]</code></td> 175 </tr> 176 </table> 177 </div> 178 <div class="memdoc"> 179 <p>Implements <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf</a>.</p> 179 180 180 <p> 181 Returns the required moment of the <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>. 182 <p> 183 Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_10.png">. <dl compact><dt><b>Parameters:</b></dt><dd> 184 <table border="0" cellspacing="2" cellpadding="0"> 185 <tr><td valign="top"></td><td valign="top"><em>cond</em> </td><td>is numeric value of <code>rv</code> </td></tr> 186 <tr><td valign="top"></td><td valign="top"><em>ll</em> </td><td>is a return value of log-likelihood of the sample. </td></tr> 187 </table> 188 </dl> 189 190 <p>Reimplemented from <a class="el" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b">mpdf</a>.</p> 191 192 <p>References <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00186">mpdf::rv</a>, <a class="el" href="emix_8h-source.html#l00083">mprod::rvcinds</a>, <a class="el" href="emix_8h-source.html#l00081">mprod::rvcinrv</a>, and <a class="el" href="emix_8h-source.html#l00079">mprod::rvinds</a>.</p> 193 194 <p>Referenced by <a class="el" href="emix_8h-source.html#l00128">mprod::samplecond()</a>.</p> 181 <p>References <a class="el" href="mixef_8h-source.html#l00092">MixEF::_epdf()</a>, <a class="el" href="merger_8h-source.html#l00031">Mix</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> 195 182 196 183 </div> 197 184 </div><p> 198 <a class="anchor" name="e171c40e210539c2af01d6237785620b"></a><!-- doxytag: member="merger::samplecond" ref="e171c40e210539c2af01d6237785620b" args="(const vec &cond, vec &ll, int N)" --> 199 <div class="memitem"> 200 <div class="memproto"> 201 <table class="memname"> 202 <tr> 203 <td class="memname">mat mprod::samplecond </td> 204 <td>(</td> 205 <td class="paramtype">const vec & </td> 206 <td class="paramname"> <em>cond</em>, </td> 207 </tr> 208 <tr> 209 <td class="paramkey"></td> 210 <td></td> 211 <td class="paramtype">vec & </td> 212 <td class="paramname"> <em>ll</em>, </td> 213 </tr> 214 <tr> 215 <td class="paramkey"></td> 216 <td></td> 217 <td class="paramtype">int </td> 218 <td class="paramname"> <em>N</em></td><td> </td> 219 </tr> 220 <tr> 221 <td></td> 222 <td>)</td> 223 <td></td><td></td><td><code> [inline, virtual, inherited]</code></td> 224 </tr> 225 </table> 185 <hr>The documentation for this class was generated from the following files:<ul> 186 <li>work/git/mixpp/bdm/estim/<a class="el" href="merger_8h-source.html">merger.h</a><li>work/git/mixpp/bdm/estim/merger.cpp</ul> 226 187 </div> 227 <div class="memdoc"> 228 229 <p> 230 Returns. 231 <p> 232 <dl compact><dt><b>Parameters:</b></dt><dd> 233 <table border="0" cellspacing="2" cellpadding="0"> 234 <tr><td valign="top"></td><td valign="top"><em>N</em> </td><td>samples from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_10.png">. </td></tr> 235 <tr><td valign="top"></td><td valign="top"><em>cond</em> </td><td>is numeric value of <code>rv</code> </td></tr> 236 <tr><td valign="top"></td><td valign="top"><em>ll</em> </td><td>is a return value of log-likelihood of the sample. </td></tr> 237 </table> 238 </dl> 239 240 <p>Reimplemented from <a class="el" href="classmpdf.html#0e37163660f93df2a4d723cedb1da89c">mpdf</a>.</p> 241 242 <p>References <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00186">mpdf::rv</a>, and <a class="el" href="emix_8h-source.html#l00105">mprod::samplecond()</a>.</p> 243 244 </div> 245 </div><p> 246 <hr>The documentation for this class was generated from the following file:<ul> 247 <li>work/git/mixpp/bdm/stat/<a class="el" href="merger_8h-source.html">merger.h</a></ul> 248 </div> 249 <hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by 188 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by 250 189 <a href="http://www.doxygen.org/index.html"> 251 190 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmerger__coll__graph.map ¶
r171 r180 1 <area shape="rect" href="$classmprod.html" title="Chain rule decomposition of epdf." alt="" coords="13,353,77,380"> 2 <area shape="rect" href="$classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="5,204,59,231"> 3 <area shape="rect" href="$classRV.html" title="Class representing variables, most often random variables." alt="" coords="40,7,77,33"> 4 <area shape="rect" href="$classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="75,105,123,132"> 5 <area shape="rect" href="$classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="163,204,205,231"> 6 <area shape="rect" href="$classenorm.html" title="enorm\< fsqmat \>" alt="" coords="135,407,273,433"> 7 <area shape="rect" href="$classenorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="63,300,185,327"> 8 <area shape="rect" href="$classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix." alt="" coords="260,300,327,327"> 9 <area shape="rect" href="$classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form..." alt="" coords="263,204,324,231"> 1 <area shape="rect" href="$classcompositepdf.html" title="Abstract composition of pdfs, a base for specific classes." alt="" coords="5,481,112,508"> 2 <area shape="rect" href="$classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="187,103,235,129"> 3 <area shape="rect" href="$classeprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod." alt="" coords="171,236,229,263"> 4 <area shape="rect" href="$classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="241,183,284,209"> 5 <area shape="rect" href="$classRV.html" title="Class representing variables, most often random variables." alt="" coords="252,7,289,33"> 6 <area shape="rect" href="$classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="333,183,373,209"> 7 <area shape="rect" href="$classMixEF.html" title="Mixture of Exponential Family Densities." alt="" coords="215,481,271,508"> 8 <area shape="rect" href="$classBMEF.html" title="Estimator for Exponential family." alt="" coords="325,289,381,316"> 9 <area shape="rect" href="$classmultiBM.html" title="Estimator for Multinomial density." alt="" coords="237,385,309,412"> 10 <area shape="rect" href="$classeDirich.html" title="Dirichlet posterior density." alt="" coords="237,289,301,316"> -
TabularUnified doc/html/classmerger__coll__graph.md5 ¶
r171 r180 1 45a8879a1fdebb2bc48d6a4291cafa28 1 07aaf0a4acd39b579e48d1b2185c90a0 -
TabularUnified doc/html/classmerger__inherit__graph.map ¶
r171 r180 1 <area shape="rect" href="$class mprod.html" title="Chain rule decomposition of epdf." alt="" coords="7,84,71,111">2 <area shape="rect" href="$class mpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="12,7,65,33">1 <area shape="rect" href="$classcompositepdf.html" title="Abstract composition of pdfs, a base for specific classes." alt="" coords="5,7,112,33"> 2 <area shape="rect" href="$classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="136,7,184,33"> -
TabularUnified doc/html/classmerger__inherit__graph.md5 ¶
r171 r180 1 4441cebab606141b525225185f134db2 1 d9e46fdf32b57ef7968d46600abc4263 -
TabularUnified doc/html/classmgamma-members.html ¶
r171 r180 44 44 <tr class="memlist"><td><a class="el" href="classmpdf.html#6788be9f3a888796499c5293a318fcfb">~mpdf</a>()</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline, virtual]</code></td></tr> 45 45 </table></div> 46 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:532008 for mixpp by 46 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by 47 47 <a href="http://www.doxygen.org/index.html"> 48 48 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmgamma.html ¶
r171 r180 150 150 <p>Reimplemented in <a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">mprod</a>.</p> 151 151 152 <p>References <a class="el" href="libBM_8h-source.html#l002 07">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00190">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p>152 <p>References <a class="el" href="libBM_8h-source.html#l00215">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00198">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> 153 153 154 154 <p>Referenced by <a class="el" href="libPF_8h-source.html#l00137">MPF< BM_T >::bayes()</a>, and <a class="el" href="libPF_8cpp-source.html#l00007">PF::bayes()</a>.</p> … … 200 200 <p>Reimplemented in <a class="el" href="classmprod.html#e171c40e210539c2af01d6237785620b">mprod</a>.</p> 201 201 202 <p>References <a class="el" href="libBM_8h-source.html#l002 07">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00190">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, <a class="el" href="libBM_8h-source.html#l00186">mpdf::rv</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p>202 <p>References <a class="el" href="libBM_8h-source.html#l00215">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00198">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, <a class="el" href="libBM_8h-source.html#l00194">mpdf::rv</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> 203 203 204 204 </div> … … 207 207 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a><li>work/git/mixpp/bdm/stat/libEF.cpp</ul> 208 208 </div> 209 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:532008 for mixpp by 209 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by 210 210 <a href="http://www.doxygen.org/index.html"> 211 211 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmgamma__fix-members.html ¶
r171 r180 48 48 <tr class="memlist"><td><a class="el" href="classmpdf.html#6788be9f3a888796499c5293a318fcfb">~mpdf</a>()</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline, virtual]</code></td></tr> 49 49 </table></div> 50 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:532008 for mixpp by 50 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by 51 51 <a href="http://www.doxygen.org/index.html"> 52 52 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmgamma__fix.html ¶
r171 r180 166 166 <p>Reimplemented in <a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">mprod</a>.</p> 167 167 168 <p>References <a class="el" href="libBM_8h-source.html#l002 07">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00190">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p>168 <p>References <a class="el" href="libBM_8h-source.html#l00215">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00198">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> 169 169 170 170 <p>Referenced by <a class="el" href="libPF_8h-source.html#l00137">MPF< BM_T >::bayes()</a>, and <a class="el" href="libPF_8cpp-source.html#l00007">PF::bayes()</a>.</p> … … 216 216 <p>Reimplemented in <a class="el" href="classmprod.html#e171c40e210539c2af01d6237785620b">mprod</a>.</p> 217 217 218 <p>References <a class="el" href="libBM_8h-source.html#l002 07">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00190">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, <a class="el" href="libBM_8h-source.html#l00186">mpdf::rv</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p>218 <p>References <a class="el" href="libBM_8h-source.html#l00215">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00198">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, <a class="el" href="libBM_8h-source.html#l00194">mpdf::rv</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> 219 219 220 220 </div> … … 223 223 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 224 224 </div> 225 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:532008 for mixpp by 225 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by 226 226 <a href="http://www.doxygen.org/index.html"> 227 227 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmlnorm-members.html ¶
r171 r180 44 44 <tr class="memlist"><td><a class="el" href="classmpdf.html#6788be9f3a888796499c5293a318fcfb">~mpdf</a>()</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline, virtual]</code></td></tr> 45 45 </table></div> 46 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:542008 for mixpp by 46 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by 47 47 <a href="http://www.doxygen.org/index.html"> 48 48 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmlnorm.html ¶
r171 r180 152 152 <p>Reimplemented in <a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">mprod</a>.</p> 153 153 154 <p>References <a class="el" href="libBM_8h-source.html#l002 07">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00190">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p>154 <p>References <a class="el" href="libBM_8h-source.html#l00215">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00198">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> 155 155 156 156 <p>Referenced by <a class="el" href="libPF_8h-source.html#l00137">MPF< BM_T >::bayes()</a>, and <a class="el" href="libPF_8cpp-source.html#l00007">PF::bayes()</a>.</p> … … 202 202 <p>Reimplemented in <a class="el" href="classmprod.html#e171c40e210539c2af01d6237785620b">mprod</a>.</p> 203 203 204 <p>References <a class="el" href="libBM_8h-source.html#l002 07">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00190">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, <a class="el" href="libBM_8h-source.html#l00186">mpdf::rv</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p>204 <p>References <a class="el" href="libBM_8h-source.html#l00215">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00198">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, <a class="el" href="libBM_8h-source.html#l00194">mpdf::rv</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> 205 205 206 206 </div> … … 209 209 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 210 210 </div> 211 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:542008 for mixpp by 211 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by 212 212 <a href="http://www.doxygen.org/index.html"> 213 213 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmmix-members.html ¶
r171 r180 42 42 <tr class="memlist"><td><a class="el" href="classmpdf.html#6788be9f3a888796499c5293a318fcfb">~mpdf</a>()</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline, virtual]</code></td></tr> 43 43 </table></div> 44 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:542008 for mixpp by 44 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by 45 45 <a href="http://www.doxygen.org/index.html"> 46 46 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmmix.html ¶
r171 r180 145 145 <p>Reimplemented in <a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">mprod</a>.</p> 146 146 147 <p>References <a class="el" href="libBM_8h-source.html#l002 07">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00190">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p>147 <p>References <a class="el" href="libBM_8h-source.html#l00215">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00198">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> 148 148 149 149 <p>Referenced by <a class="el" href="libPF_8h-source.html#l00137">MPF< BM_T >::bayes()</a>, and <a class="el" href="libPF_8cpp-source.html#l00007">PF::bayes()</a>.</p> … … 195 195 <p>Reimplemented in <a class="el" href="classmprod.html#e171c40e210539c2af01d6237785620b">mprod</a>.</p> 196 196 197 <p>References <a class="el" href="libBM_8h-source.html#l002 07">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00190">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, <a class="el" href="libBM_8h-source.html#l00186">mpdf::rv</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p>197 <p>References <a class="el" href="libBM_8h-source.html#l00215">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00198">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, <a class="el" href="libBM_8h-source.html#l00194">mpdf::rv</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> 198 198 199 199 </div> … … 202 202 <li>work/git/mixpp/bdm/stat/<a class="el" href="emix_8h-source.html">emix.h</a></ul> 203 203 </div> 204 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:542008 for mixpp by 204 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by 205 205 <a href="http://www.doxygen.org/index.html"> 206 206 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmpdf-members.html ¶
r171 r180 38 38 <tr class="memlist"><td><a class="el" href="classmpdf.html#6788be9f3a888796499c5293a318fcfb">~mpdf</a>()</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline, virtual]</code></td></tr> 39 39 </table></div> 40 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:542008 for mixpp by 40 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by 41 41 <a href="http://www.doxygen.org/index.html"> 42 42 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmpdf.html ¶
r171 r180 34 34 <p><center><img src="classmpdf__inherit__graph.png" border="0" usemap="#mpdf__inherit__map" alt="Inheritance graph"></center> 35 35 <map name="mpdf__inherit__map"> 36 <area shape="rect" href="classmEF.html" title="Exponential family model." alt="" coords=" 103,84,151,111"><area shape="rect" href="classmepdf.html" title="Unconditional mpdf, allows using epdf in the role of mpdf." alt="" coords="175,84,236,111"><area shape="rect" href="classmmix.html" title="Mixture of mpdfs with constant weights, all mpdfs are of equal type." alt="" coords="260,84,316,111"><area shape="rect" href="classmprod.html" title="Chain rule decomposition of epdf." alt="" coords="340,84,404,111"><area shape="rect" href="classmgamma.html" title="Gamma random walk." alt="" coords="16,161,99,188"><area shape="rect" href="classmlnorm.html" title="Normal distributed linear function with linear function of mean value;." alt="" coords="123,161,253,188"><area shape="rect" href="classmgamma__fix.html" title="Gamma random walk around a fixed point." alt="" coords="5,239,109,265"><area shape="rect" href="classmerger.html" title="Function for general combination of pdfs." alt="" coords="339,161,405,188"></map>36 <area shape="rect" href="classmEF.html" title="Exponential family model." alt="" coords="99,84,147,111"><area shape="rect" href="classmepdf.html" title="Unconditional mpdf, allows using epdf in the role of mpdf." alt="" coords="171,84,232,111"><area shape="rect" href="classmmix.html" title="Mixture of mpdfs with constant weights, all mpdfs are of equal type." alt="" coords="256,84,312,111"><area shape="rect" href="classmprod.html" title="Chain rule decomposition of epdf." alt="" coords="336,84,400,111"><area shape="rect" href="classmgamma.html" title="Gamma random walk." alt="" coords="16,161,99,188"><area shape="rect" href="classmlnorm.html" title="Normal distributed linear function with linear function of mean value;." alt="" coords="123,161,253,188"><area shape="rect" href="classmgamma__fix.html" title="Gamma random walk around a fixed point." alt="" coords="5,239,109,265"></map> 37 37 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 38 38 <div class="dynheader"> … … 135 135 <p>Reimplemented in <a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">mprod</a>.</p> 136 136 137 <p>References <a class="el" href="libBM_8h-source.html#l002 07">condition()</a>, <a class="el" href="libBM_8h-source.html#l00190">ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p>137 <p>References <a class="el" href="libBM_8h-source.html#l00215">condition()</a>, <a class="el" href="libBM_8h-source.html#l00198">ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> 138 138 139 139 <p>Referenced by <a class="el" href="libPF_8h-source.html#l00137">MPF< BM_T >::bayes()</a>, and <a class="el" href="libPF_8cpp-source.html#l00007">PF::bayes()</a>.</p> … … 185 185 <p>Reimplemented in <a class="el" href="classmprod.html#e171c40e210539c2af01d6237785620b">mprod</a>.</p> 186 186 187 <p>References <a class="el" href="libBM_8h-source.html#l002 07">condition()</a>, <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00190">ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, <a class="el" href="libBM_8h-source.html#l00186">rv</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p>187 <p>References <a class="el" href="libBM_8h-source.html#l00215">condition()</a>, <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00198">ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, <a class="el" href="libBM_8h-source.html#l00194">rv</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> 188 188 189 189 </div> … … 192 192 <li>work/git/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul> 193 193 </div> 194 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:542008 for mixpp by 194 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by 195 195 <a href="http://www.doxygen.org/index.html"> 196 196 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmpdf__inherit__graph.map ¶
r171 r180 1 <area shape="rect" href="$classmEF.html" title="Exponential family model." alt="" coords=" 103,84,151,111">2 <area shape="rect" href="$classmepdf.html" title="Unconditional mpdf, allows using epdf in the role of mpdf." alt="" coords="17 5,84,236,111">3 <area shape="rect" href="$classmmix.html" title="Mixture of mpdfs with constant weights, all mpdfs are of equal type." alt="" coords="2 60,84,316,111">4 <area shape="rect" href="$classmprod.html" title="Chain rule decomposition of epdf." alt="" coords="3 40,84,404,111">1 <area shape="rect" href="$classmEF.html" title="Exponential family model." alt="" coords="99,84,147,111"> 2 <area shape="rect" href="$classmepdf.html" title="Unconditional mpdf, allows using epdf in the role of mpdf." alt="" coords="171,84,232,111"> 3 <area shape="rect" href="$classmmix.html" title="Mixture of mpdfs with constant weights, all mpdfs are of equal type." alt="" coords="256,84,312,111"> 4 <area shape="rect" href="$classmprod.html" title="Chain rule decomposition of epdf." alt="" coords="336,84,400,111"> 5 5 <area shape="rect" href="$classmgamma.html" title="Gamma random walk." alt="" coords="16,161,99,188"> 6 6 <area shape="rect" href="$classmlnorm.html" title="Normal distributed linear function with linear function of mean value;." alt="" coords="123,161,253,188"> 7 7 <area shape="rect" href="$classmgamma__fix.html" title="Gamma random walk around a fixed point." alt="" coords="5,239,109,265"> 8 <area shape="rect" href="$classmerger.html" title="Function for general combination of pdfs." alt="" coords="339,161,405,188"> -
TabularUnified doc/html/classmpdf__inherit__graph.md5 ¶
r171 r180 1 f 0d5f49ba7e89fbf9f889addd47d74101 f25b92c9bb95a486e06809385f33792e -
TabularUnified doc/html/classmprod-members.html ¶
r171 r180 28 28 <tr class="memlist"><td><a class="el" href="classmpdf.html#1e71ad4c66d5884c82d4a3b06b42fe32">_rv</a>()</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline]</code></td></tr> 29 29 <tr class="memlist"><td><a class="el" href="classmpdf.html#ec9c850305984582548e8deb64f0ffe8">_rvc</a>()</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline]</code></td></tr> 30 <tr bgcolor="#f0f0f0"><td><b>compositepdf</b>(Array< mpdf * > A0) (defined in <a class="el" href="classcompositepdf.html">compositepdf</a>)</td><td><a class="el" href="classcompositepdf.html">compositepdf</a></td><td><code> [inline]</code></td></tr> 30 31 <tr class="memlist"><td><a class="el" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83">condition</a>(const vec &cond)</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline, virtual]</code></td></tr> 31 32 <tr class="memlist"><td><a class="el" href="classmpdf.html#7aa894208a32f3487827df6d5054424c">ep</a></td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [protected]</code></td></tr> … … 33 34 <tr class="memlist"><td><a class="el" href="classmpdf.html#80b738ece5bd4f8c4edaee4b38906f91">evalcond</a>(const vec &dt, const vec &cond)</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline, virtual]</code></td></tr> 34 35 <tr bgcolor="#f0f0f0"><td><b>evalpdflog</b>(const vec &val) const (defined in <a class="el" href="classmprod.html">mprod</a>)</td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [inline]</code></td></tr> 36 <tr bgcolor="#f0f0f0"><td><b>getrv</b>(bool checkoverlap=false) (defined in <a class="el" href="classcompositepdf.html">compositepdf</a>)</td><td><a class="el" href="classcompositepdf.html">compositepdf</a></td><td></td></tr> 35 37 <tr class="memlist"><td><a class="el" href="classmpdf.html#581ecf362185d37c08bb31cb9d046d6f">mpdf</a>(const RV &rv0, const RV &rvc0)</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline]</code></td></tr> 36 <tr bgcolor="#f0f0f0"><td><b>mpdfs</b> (defined in <a class="el" href="classmprod.html">mprod</a>)</td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [protected]</code></td></tr>37 <tr class="memlist"><td><a class="el" href="classmprod.html# 37f028561c45ce5fd3a1351a911e31dc">mprod</a>(Array< mpdf * > mFacs, bool overlap=false)</td><td><a class="el" href="classmprod.html">mprod</a></td><td></td></tr>38 <tr bgcolor="#f0f0f0"><td><b>n</b> (defined in <a class="el" href="classmprod.html">mprod</a>)</td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [protected]</code></td></tr>38 <tr class="memlist"><td><a class="el" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d">mpdfs</a></td><td><a class="el" href="classcompositepdf.html">compositepdf</a></td><td><code> [protected]</code></td></tr> 39 <tr class="memlist"><td><a class="el" href="classmprod.html#419b303581a91ad85200bdcb4b3186f4">mprod</a>(Array< mpdf * > mFacs)</td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [inline]</code></td></tr> 40 <tr class="memlist"><td><a class="el" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f">n</a></td><td><a class="el" href="classcompositepdf.html">compositepdf</a></td><td><code> [protected]</code></td></tr> 39 41 <tr class="memlist"><td><a class="el" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">rv</a></td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [protected]</code></td></tr> 40 42 <tr class="memlist"><td><a class="el" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab">rvc</a></td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [protected]</code></td></tr> 41 43 <tr class="memlist"><td><a class="el" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6">rvcinds</a></td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [protected]</code></td></tr> 42 <tr class="memlist"><td><a class="el" href="class mprod.html#1725c7b497a27ab3c4889b846666b516">rvcinrv</a></td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [protected]</code></td></tr>43 <tr class="memlist"><td><a class="el" href="class mprod.html#c8f78fbcdb4e38ecd3197d2958082497">rvinds</a></td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [protected]</code></td></tr>44 <tr class="memlist"><td><a class="el" href="classcompositepdf.html#3df07bb5e3ed36a3119b145043296676">rvcsinrv</a></td><td><a class="el" href="classcompositepdf.html">compositepdf</a></td><td><code> [protected]</code></td></tr> 45 <tr class="memlist"><td><a class="el" href="classcompositepdf.html#4d4a8269f9faefeca8cdc251a5a29a7f">rvsinrv</a></td><td><a class="el" href="classcompositepdf.html">compositepdf</a></td><td><code> [protected]</code></td></tr> 44 46 <tr class="memlist"><td><a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">samplecond</a>(const vec &cond, double &ll)</td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [inline, virtual]</code></td></tr> 45 47 <tr class="memlist"><td><a class="el" href="classmprod.html#e171c40e210539c2af01d6237785620b">samplecond</a>(const vec &cond, vec &ll, int N)</td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [inline, virtual]</code></td></tr> 48 <tr bgcolor="#f0f0f0"><td><b>setindices</b>(const RV &rv) (defined in <a class="el" href="classcompositepdf.html">compositepdf</a>)</td><td><a class="el" href="classcompositepdf.html">compositepdf</a></td><td></td></tr> 49 <tr bgcolor="#f0f0f0"><td><b>setrvc</b>(const RV &rv, RV &rvc) (defined in <a class="el" href="classcompositepdf.html">compositepdf</a>)</td><td><a class="el" href="classcompositepdf.html">compositepdf</a></td><td></td></tr> 50 <tr bgcolor="#f0f0f0"><td><b>setrvcinrv</b>(const RV &rvc, Array< ivec > &rvcind) (defined in <a class="el" href="classcompositepdf.html">compositepdf</a>)</td><td><a class="el" href="classcompositepdf.html">compositepdf</a></td><td></td></tr> 46 51 <tr class="memlist"><td><a class="el" href="classmpdf.html#6788be9f3a888796499c5293a318fcfb">~mpdf</a>()</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline, virtual]</code></td></tr> 47 52 <tr bgcolor="#f0f0f0"><td><b>~mprod</b>() (defined in <a class="el" href="classmprod.html">mprod</a>)</td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [inline]</code></td></tr> 48 53 </table></div> 49 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:542008 for mixpp by 54 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by 50 55 <a href="http://www.doxygen.org/index.html"> 51 56 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmprod.html ¶
r171 r180 24 24 </div> 25 25 <div class="contents"> 26 <h1>mprod Class Reference</h1><!-- doxytag: class="mprod" --><!-- doxytag: inherits=" mpdf" -->Chain rule decomposition of <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.26 <h1>mprod Class Reference</h1><!-- doxytag: class="mprod" --><!-- doxytag: inherits="compositepdf,mpdf" -->Chain rule decomposition of <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>. 27 27 <a href="#_details">More...</a> 28 28 <p> … … 34 34 <p><center><img src="classmprod__inherit__graph.png" border="0" usemap="#mprod__inherit__map" alt="Inheritance graph"></center> 35 35 <map name="mprod__inherit__map"> 36 <area shape="rect" href="class merger.html" title="Function for general combination of pdfs." alt="" coords="5,161,72,188"><area shape="rect" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="12,7,65,33"></map>36 <area shape="rect" href="classcompositepdf.html" title="Abstract composition of pdfs, a base for specific classes." alt="" coords="5,7,112,33"><area shape="rect" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="136,7,189,33"></map> 37 37 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 38 38 <div class="dynheader"> … … 41 41 <p><center><img src="classmprod__coll__graph.png" border="0" usemap="#mprod__coll__map" alt="Collaboration graph"></center> 42 42 <map name="mprod__coll__map"> 43 <area shape="rect" href="class mpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="11,204,64,231"><area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="24,7,61,33"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="59,105,107,132"></map>43 <area shape="rect" href="classcompositepdf.html" title="Abstract composition of pdfs, a base for specific classes." alt="" coords="5,204,112,231"><area shape="rect" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="136,204,189,231"><area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="137,7,175,33"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="172,105,220,132"></map> 44 44 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 45 45 … … 48 48 <tr><td></td></tr> 49 49 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> 50 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 37f028561c45ce5fd3a1351a911e31dc"></a><!-- doxytag: member="mprod::mprod" ref="37f028561c45ce5fd3a1351a911e31dc" args="(Array< mpdf * > mFacs, bool overlap=false)" -->51 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmprod.html# 37f028561c45ce5fd3a1351a911e31dc">mprod</a> (Array< <a class="el" href="classmpdf.html">mpdf</a> * > mFacs, bool overlap=false)</td></tr>50 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="419b303581a91ad85200bdcb4b3186f4"></a><!-- doxytag: member="mprod::mprod" ref="419b303581a91ad85200bdcb4b3186f4" args="(Array< mpdf * > mFacs)" --> 51 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmprod.html#419b303581a91ad85200bdcb4b3186f4">mprod</a> (Array< <a class="el" href="classmpdf.html">mpdf</a> * > mFacs)</td></tr> 52 52 53 53 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor from list of mFacs, Additional parameter overlap is left for future use. Do not set to true for <a class="el" href="classmprod.html" title="Chain rule decomposition of epdf.">mprod</a>. <br></td></tr> … … 61 61 62 62 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns. <a href="#e171c40e210539c2af01d6237785620b"></a><br></td></tr> 63 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="635d219fb3e32852400d6f98aa4bdc93"></a><!-- doxytag: member="mprod::getrv" ref="635d219fb3e32852400d6f98aa4bdc93" args="(bool checkoverlap=false)" --> 64 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><b>getrv</b> (bool checkoverlap=false)</td></tr> 65 66 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5a4479785c1fdb2cc351fbea07b899ac"></a><!-- doxytag: member="mprod::setrvc" ref="5a4479785c1fdb2cc351fbea07b899ac" args="(const RV &rv, RV &rvc)" --> 67 void </td><td class="memItemRight" valign="bottom"><b>setrvc</b> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">rv</a>, <a class="el" href="classRV.html">RV</a> &<a class="el" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab">rvc</a>)</td></tr> 68 69 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="08958c8f76d65de94ecc37b8d90bc77a"></a><!-- doxytag: member="mprod::setindices" ref="08958c8f76d65de94ecc37b8d90bc77a" args="(const RV &rv)" --> 70 void </td><td class="memItemRight" valign="bottom"><b>setindices</b> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">rv</a>)</td></tr> 71 72 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3bd4ada95f381ea6c4cff2dc86e957c4"></a><!-- doxytag: member="mprod::setrvcinrv" ref="3bd4ada95f381ea6c4cff2dc86e957c4" args="(const RV &rvc, Array< ivec > &rvcind)" --> 73 void </td><td class="memItemRight" valign="bottom"><b>setrvcinrv</b> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab">rvc</a>, Array< ivec > &rvcind)</td></tr> 74 63 75 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0f95a0cc6ab40611f46804682446ed83"></a><!-- doxytag: member="mprod::condition" ref="0f95a0cc6ab40611f46804682446ed83" args="(const vec &cond)" --> 64 76 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83">condition</a> (const vec &cond)</td></tr> … … 82 94 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 83 95 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 84 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7dcf1dde4a220f8c7b97ed987bff6c1f"></a><!-- doxytag: member="mprod::n" ref="7dcf1dde4a220f8c7b97ed987bff6c1f" args="" -->85 int </td><td class="memItemRight" valign="bottom"><b>n</b></td></tr>86 87 96 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0883ce383e8475546df138719918f70e"></a><!-- doxytag: member="mprod::epdfs" ref="0883ce383e8475546df138719918f70e" args="" --> 88 97 Array< <a class="el" href="classepdf.html">epdf</a> * > </td><td class="memItemRight" valign="bottom"><b>epdfs</b></td></tr> 89 98 90 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2389c7585ac5d0d79587625186818889"></a><!-- doxytag: member="mprod::mpdfs" ref="2389c7585ac5d0d79587625186818889" args="" -->91 Array< <a class="el" href="classmpdf.html">mpdf</a> * > </td><td class="memItemRight" valign="bottom"><b>mpdfs</b></td></tr>92 93 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c8f78fbcdb4e38ecd3197d2958082497"></a><!-- doxytag: member="mprod::rvinds" ref="c8f78fbcdb4e38ecd3197d2958082497" args="" -->94 Array< ivec > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmprod.html#c8f78fbcdb4e38ecd3197d2958082497">rvinds</a></td></tr>95 96 <tr><td class="mdescLeft"> </td><td class="mdescRight">Indeces of rvs in common rv. <br></td></tr>97 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1725c7b497a27ab3c4889b846666b516"></a><!-- doxytag: member="mprod::rvcinrv" ref="1725c7b497a27ab3c4889b846666b516" args="" -->98 Array< ivec > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmprod.html#1725c7b497a27ab3c4889b846666b516">rvcinrv</a></td></tr>99 100 <tr><td class="mdescLeft"> </td><td class="mdescRight">Indeces of rvc in common rv. <br></td></tr>101 99 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cc85192d8abc01832937ed8b62e363a6"></a><!-- doxytag: member="mprod::rvcinds" ref="cc85192d8abc01832937ed8b62e363a6" args="" --> 102 100 Array< ivec > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6">rvcinds</a></td></tr> 103 101 104 102 <tr><td class="mdescLeft"> </td><td class="mdescRight">Indeces of rvc in common rvc. <br></td></tr> 103 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c1646fe41ff5934d010e54ccaa46133f"></a><!-- doxytag: member="mprod::n" ref="c1646fe41ff5934d010e54ccaa46133f" args="" --> 104 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f">n</a></td></tr> 105 106 <tr><td class="mdescLeft"> </td><td class="mdescRight">Number of mpdfs in the composite. <br></td></tr> 107 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="637877061b917a16a0421bb5c4cd480d"></a><!-- doxytag: member="mprod::mpdfs" ref="637877061b917a16a0421bb5c4cd480d" args="" --> 108 Array< <a class="el" href="classmpdf.html">mpdf</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d">mpdfs</a></td></tr> 109 110 <tr><td class="mdescLeft"> </td><td class="mdescRight">Elements of composition. <br></td></tr> 111 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4d4a8269f9faefeca8cdc251a5a29a7f"></a><!-- doxytag: member="mprod::rvsinrv" ref="4d4a8269f9faefeca8cdc251a5a29a7f" args="" --> 112 Array< ivec > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcompositepdf.html#4d4a8269f9faefeca8cdc251a5a29a7f">rvsinrv</a></td></tr> 113 114 <tr><td class="mdescLeft"> </td><td class="mdescRight">Indeces of rvs in common rv. <br></td></tr> 115 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3df07bb5e3ed36a3119b145043296676"></a><!-- doxytag: member="mprod::rvcsinrv" ref="3df07bb5e3ed36a3119b145043296676" args="" --> 116 Array< ivec > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcompositepdf.html#3df07bb5e3ed36a3119b145043296676">rvcsinrv</a></td></tr> 117 118 <tr><td class="mdescLeft"> </td><td class="mdescRight">Indeces of rvc in common rv. <br></td></tr> 105 119 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f6687c07ff07d47812dd565368ca59eb"></a><!-- doxytag: member="mprod::rv" ref="f6687c07ff07d47812dd565368ca59eb" args="" --> 106 120 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">rv</a></td></tr> … … 157 171 <p>Reimplemented from <a class="el" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b">mpdf</a>.</p> 158 172 159 <p>References <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00 186">mpdf::rv</a>, <a class="el" href="emix_8h-source.html#l00083">rvcinds</a>, <a class="el" href="emix_8h-source.html#l00081">rvcinrv</a>, and <a class="el" href="emix_8h-source.html#l00079">rvinds</a>.</p>160 161 <p>Referenced by <a class="el" href="emix_8h-source.html#l0012 8">samplecond()</a>.</p>173 <p>References <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00249">compositepdf::mpdfs</a>, <a class="el" href="libBM_8h-source.html#l00247">compositepdf::n</a>, <a class="el" href="libBM_8h-source.html#l00194">mpdf::rv</a>, <a class="el" href="emix_8h-source.html#l00075">rvcinds</a>, <a class="el" href="libBM_8h-source.html#l00253">compositepdf::rvcsinrv</a>, and <a class="el" href="libBM_8h-source.html#l00251">compositepdf::rvsinrv</a>.</p> 174 175 <p>Referenced by <a class="el" href="emix_8h-source.html#l00121">samplecond()</a>.</p> 162 176 163 177 </div> … … 207 221 <p>Reimplemented from <a class="el" href="classmpdf.html#0e37163660f93df2a4d723cedb1da89c">mpdf</a>.</p> 208 222 209 <p>References <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l001 86">mpdf::rv</a>, and <a class="el" href="emix_8h-source.html#l00105">samplecond()</a>.</p>223 <p>References <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00194">mpdf::rv</a>, and <a class="el" href="emix_8h-source.html#l00098">samplecond()</a>.</p> 210 224 211 225 </div> 212 226 </div><p> 213 <hr>The documentation for this class was generated from the following file s:<ul>214 <li>work/git/mixpp/bdm/stat/<a class="el" href="emix_8h-source.html">emix.h</a>< li>work/git/mixpp/bdm/stat/emix.cpp</ul>215 </div> 216 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:542008 for mixpp by 227 <hr>The documentation for this class was generated from the following file:<ul> 228 <li>work/git/mixpp/bdm/stat/<a class="el" href="emix_8h-source.html">emix.h</a></ul> 229 </div> 230 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by 217 231 <a href="http://www.doxygen.org/index.html"> 218 232 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmprod__coll__graph.map ¶
r171 r180 1 <area shape="rect" href="$classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="11,204,64,231"> 2 <area shape="rect" href="$classRV.html" title="Class representing variables, most often random variables." alt="" coords="24,7,61,33"> 3 <area shape="rect" href="$classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="59,105,107,132"> 1 <area shape="rect" href="$classcompositepdf.html" title="Abstract composition of pdfs, a base for specific classes." alt="" coords="5,204,112,231"> 2 <area shape="rect" href="$classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="136,204,189,231"> 3 <area shape="rect" href="$classRV.html" title="Class representing variables, most often random variables." alt="" coords="137,7,175,33"> 4 <area shape="rect" href="$classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="172,105,220,132"> -
TabularUnified doc/html/classmprod__coll__graph.md5 ¶
r171 r180 1 3b8ab3b994e46b7888ad69e2c93c8fcc 1 ae05eb01ede359bf047b2859d4015285 -
TabularUnified doc/html/classmprod__inherit__graph.map ¶
r171 r180 1 <area shape="rect" href="$class merger.html" title="Function for general combination of pdfs." alt="" coords="5,161,72,188">2 <area shape="rect" href="$classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="1 2,7,65,33">1 <area shape="rect" href="$classcompositepdf.html" title="Abstract composition of pdfs, a base for specific classes." alt="" coords="5,7,112,33"> 2 <area shape="rect" href="$classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="136,7,189,33"> -
TabularUnified doc/html/classmprod__inherit__graph.md5 ¶
r171 r180 1 bdb0436c9ff9557a93d446c32faaf0ad 1 3000fe261d5567c6043db8aa144b24b4 -
TabularUnified doc/html/classmultiBM-members.html ¶
r171 r180 44 44 <tr class="memlist"><td><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 45 45 <tr class="memlist"><td><a class="el" href="classmultiBM.html#13e26a61757278981fd8cac9a7ef91eb">logpred</a>(const vec &dt) const </td><td><a class="el" href="classmultiBM.html">multiBM</a></td><td><code> [inline, virtual]</code></td></tr> 46 <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> 46 47 <tr class="memlist"><td><a class="el" href="classmultiBM.html#7d7d7e78c129602bcde96078359dc6e5">multiBM</a>(const RV &rv, const vec beta0)</td><td><a class="el" href="classmultiBM.html">multiBM</a></td><td><code> [inline]</code></td></tr> 47 48 <tr class="memlist"><td><a class="el" href="classmultiBM.html#b92751adbfb9f259ca8c95232cfd9c09">multiBM</a>(const multiBM &B)</td><td><a class="el" href="classmultiBM.html">multiBM</a></td><td><code> [inline]</code></td></tr> 49 <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 48 50 <tr class="memlist"><td><a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a></td><td><a class="el" href="classBM.html">BM</a></td><td><code> [protected]</code></td></tr> 49 51 <tr class="memlist"><td><a class="el" href="classBM.html#1ffa9f23669aabecc3760c06c6987522">set_evalll</a>(bool evl0)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr> 52 <tr bgcolor="#f0f0f0"><td><b>set_parameters</b>(const vec &beta0) (defined in <a class="el" href="classmultiBM.html">multiBM</a>)</td><td><a class="el" href="classmultiBM.html">multiBM</a></td><td><code> [inline]</code></td></tr> 50 53 <tr bgcolor="#f0f0f0"><td><b>set_statistics</b>(const BM *mB0) (defined in <a class="el" href="classmultiBM.html">multiBM</a>)</td><td><a class="el" href="classmultiBM.html">multiBM</a></td><td><code> [inline]</code></td></tr> 51 54 <tr class="memlist"><td><a class="el" href="classBMEF.html#30bb40eb1fd31869b2e62e79e1ecdcb4">BMEF::set_statistics</a>(const BMEF *BM0)</td><td><a class="el" href="classBMEF.html">BMEF</a></td><td><code> [inline, virtual]</code></td></tr> 52 55 <tr class="memlist"><td><a class="el" href="classBM.html#ca0f02b3b4144e0895cc14f7e0374bdd">~BM</a>()</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr> 53 56 </table></div> 54 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:552008 for mixpp by 57 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by 55 58 <a href="http://www.doxygen.org/index.html"> 56 59 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classmultiBM.html ¶
r171 r180 72 72 73 73 <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> 74 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="164117b1a5eb6f33db9b4b0f4b2d2842"></a><!-- doxytag: member="multiBM::set_parameters" ref="164117b1a5eb6f33db9b4b0f4b2d2842" args="(const vec &beta0)" --> 75 void </td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (const vec &beta0)</td></tr> 76 74 77 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="30bb40eb1fd31869b2e62e79e1ecdcb4"></a><!-- doxytag: member="multiBM::set_statistics" ref="30bb40eb1fd31869b2e62e79e1ecdcb4" args="(const BMEF *BM0)" --> 75 78 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classBMEF.html#30bb40eb1fd31869b2e62e79e1ecdcb4">set_statistics</a> (const <a class="el" href="classBMEF.html">BMEF</a> *BM0)</td></tr> … … 84 87 85 88 <tr><td class="mdescLeft"> </td><td class="mdescRight">Batch Bayes rule (columns of Dt are observations). <br></td></tr> 89 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd0660f2a1a344b56ac39802708ff165"></a><!-- doxytag: member="multiBM::logpred_m" ref="cd0660f2a1a344b56ac39802708ff165" args="(const mat &dt) const " --> 90 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &dt) const </td></tr> 91 92 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 93 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="multiBM::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &rv)" --> 94 virtual <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr> 95 96 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 86 97 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="multiBM::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " --> 87 98 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> … … 156 167 <p>Reimplemented from <a class="el" href="classBMEF.html#52b7719312d545215cca1ff87722a35a">BMEF</a>.</p> 157 168 158 <p>References <a class="el" href="libEF_8h-source.html#l002 24">est</a>, <a class="el" href="libBM_8h-source.html#l00280">BM::evalll</a>, <a class="el" href="libEF_8h-source.html#l00078">BMEF::frg</a>, <a class="el" href="libEF_8h-source.html#l00080">BMEF::last_lognc</a>, <a class="el" href="libBM_8h-source.html#l00278">BM::ll</a>, and <a class="el" href="libEF_8h-source.html#l00210">eDirich::lognc()</a>.</p>159 160 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l0004 0">MixEF::bayes()</a>.</p>169 <p>References <a class="el" href="libEF_8h-source.html#l00230">est</a>, <a class="el" href="libBM_8h-source.html#l00307">BM::evalll</a>, <a class="el" href="libEF_8h-source.html#l00078">BMEF::frg</a>, <a class="el" href="libEF_8h-source.html#l00080">BMEF::last_lognc</a>, <a class="el" href="libBM_8h-source.html#l00305">BM::ll</a>, and <a class="el" href="libEF_8h-source.html#l00208">eDirich::lognc()</a>.</p> 170 171 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00048">MixEF::bayes()</a>.</p> 161 172 162 173 </div> … … 182 193 <p>Reimplemented from <a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">BM</a>.</p> 183 194 184 <p>References <a class="el" href="libEF_8h-source.html#l0021 7">eDirich::_beta()</a>, <a class="el" href="libEF_8h-source.html#l00224">est</a>, <a class="el" href="libBM_8h-source.html#l00280">BM::evalll</a>, <a class="el" href="libEF_8h-source.html#l00078">BMEF::frg</a>, <a class="el" href="libEF_8h-source.html#l00080">BMEF::last_lognc</a>, and <a class="el" href="libEF_8h-source.html#l00210">eDirich::lognc()</a>.</p>185 186 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l0004 0">MixEF::bayes()</a>.</p>195 <p>References <a class="el" href="libEF_8h-source.html#l00215">eDirich::_beta()</a>, <a class="el" href="libEF_8h-source.html#l00230">est</a>, <a class="el" href="libBM_8h-source.html#l00307">BM::evalll</a>, <a class="el" href="libEF_8h-source.html#l00078">BMEF::frg</a>, <a class="el" href="libEF_8h-source.html#l00080">BMEF::last_lognc</a>, and <a class="el" href="libEF_8h-source.html#l00208">eDirich::lognc()</a>.</p> 196 197 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00048">MixEF::bayes()</a>.</p> 187 198 188 199 </div> … … 206 217 <p> 207 218 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; } 208 <p>Reimplemented in <a class="el" href="classARX.html# d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>209 210 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF:: MixEF()</a>.</p>219 <p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p> 220 221 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p> 211 222 212 223 </div> … … 215 226 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 216 227 </div> 217 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:552008 for mixpp by 228 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by 218 229 <a href="http://www.doxygen.org/index.html"> 219 230 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classsqmat-members.html ¶
r171 r180 40 40 <tr class="memlist"><td><a class="el" href="classsqmat.html#0481f2067bb32aaea7e6d4f27e46b656">~sqmat</a>()</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [inline, virtual]</code></td></tr> 41 41 </table></div> 42 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:562008 for mixpp by 42 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by 43 43 <a href="http://www.doxygen.org/index.html"> 44 44 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classsqmat.html ¶
r171 r180 220 220 <li>work/git/mixpp/bdm/math/<a class="el" href="libDC_8h-source.html">libDC.h</a></ul> 221 221 </div> 222 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:562008 for mixpp by 222 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by 223 223 <a href="http://www.doxygen.org/index.html"> 224 224 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classstr-members.html ¶
r171 r180 29 29 <tr bgcolor="#f0f0f0"><td><b>times</b> (defined in <a class="el" href="classstr.html">str</a>)</td><td><a class="el" href="classstr.html">str</a></td><td></td></tr> 30 30 </table></div> 31 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:562008 for mixpp by 31 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by 32 32 <a href="http://www.doxygen.org/index.html"> 33 33 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/classstr.html ¶
r171 r180 49 49 <li>work/git/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul> 50 50 </div> 51 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:562008 for mixpp by 51 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by 52 52 <a href="http://www.doxygen.org/index.html"> 53 53 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/codingrules.html ¶
r171 r180 86 86 <p> 87 87 Explicit destructor functions are not required, unless they are needed. It shall not be possible to use any of the other member functions unless the class has been properly initiated with the input parameters. </div> 88 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 88 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by 89 89 <a href="http://www.doxygen.org/index.html"> 90 90 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/demo__example_2nastaveni__regulatoru__float_8h-source.html ¶
r171 r180 47 47 <a name="l00031"></a>00031 <span class="preprocessor"></span> 48 48 </pre></div></div> 49 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 49 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 50 50 <a href="http://www.doxygen.org/index.html"> 51 51 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/demo__example_2regulace_8h-source.html ¶
r171 r180 33 33 <a name="l00017"></a>00017 <span class="comment">// Idw_urm, Urmf, Iqw_reg </span> 34 34 </pre></div></div> 35 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 35 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by 36 36 <a href="http://www.doxygen.org/index.html"> 37 37 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/demo__example_2simulator_8h-source.html ¶
r171 r180 34 34 <a name="l00018"></a>00018 <span class="keyword">extern</span> <span class="keywordtype">double</span> KalmanObs[4]; 35 35 </pre></div></div> 36 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 36 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by 37 37 <a href="http://www.doxygen.org/index.html"> 38 38 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/ekf_8h-source.html ¶
r171 r180 39 39 <a name="l00023"></a>00023 40 40 </pre></div></div> 41 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 41 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by 42 42 <a href="http://www.doxygen.org/index.html"> 43 43 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/ekf__example_2nastaveni__regulatoru__float_8h-source.html ¶
r171 r180 81 81 <a name="l00065"></a>00065 <span class="preprocessor"></span><span class="preprocessor">#define MINud (-600.) // principialne neni nutne omezovat, avsak s ohledem na format Q13 s dostatecnou bezpecnosti uvazovano 600V</span> 82 82 </pre></div></div> 83 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 83 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 84 84 <a href="http://www.doxygen.org/index.html"> 85 85 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/ekf__example_2regulace_8h-source.html ¶
r171 r180 33 33 <a name="l00017"></a>00017 <span class="comment">// Idw_urm, Urmf, Iqw_reg </span> 34 34 </pre></div></div> 35 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 35 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by 36 36 <a href="http://www.doxygen.org/index.html"> 37 37 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/ekf__obj_8h-source.html ¶
r171 r180 99 99 <a name="l00102"></a>00102 100 100 </pre></div></div> 101 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 101 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by 102 102 <a href="http://www.doxygen.org/index.html"> 103 103 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/ekf__obj_8h.html ¶
r171 r180 53 53 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 54 54 Using IT++ for numerical operations ----------------------------------- </div> 55 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 55 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by 56 56 <a href="http://www.doxygen.org/index.html"> 57 57 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/ekf__templ_8h-source.html ¶
r171 r180 35 35 <a name="l00032"></a>00032 <span class="preprocessor">#endif //EKF_TEMP_H</span> 36 36 </pre></div></div> 37 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:452008 for mixpp by 37 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 38 38 <a href="http://www.doxygen.org/index.html"> 39 39 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/ekf__templ_8h.html ¶
r171 r180 53 53 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 54 54 Using IT++ for numerical operations ----------------------------------- </div> 55 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 55 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by 56 56 <a href="http://www.doxygen.org/index.html"> 57 57 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/emix_8h-source.html ¶
r171 r180 50 50 <a name="l00060"></a>00060 }; 51 51 <a name="l00061"></a>00061 52 <a name="l00070"></a><a class="code" href="classmprod.html">00070</a> <span class="keyword">class </span><a class="code" href="classmprod.html" title="Chain rule decomposition of epdf.">mprod</a>: <span class="keyword">public</span> <a class="code" href="class mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> {52 <a name="l00070"></a><a class="code" href="classmprod.html">00070</a> <span class="keyword">class </span><a class="code" href="classmprod.html" title="Chain rule decomposition of epdf.">mprod</a>: <span class="keyword">public</span> <a class="code" href="classcompositepdf.html" title="Abstract composition of pdfs, a base for specific classes.">compositepdf</a>, <span class="keyword">public</span> <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> { 53 53 <a name="l00071"></a>00071 <span class="keyword">protected</span>: 54 <a name="l00072"></a>00072 <span class="comment">//</span> 55 <a name="l00073"></a>00073 <span class="keywordtype">int</span> n; 56 <a name="l00074"></a>00074 <span class="comment">// pointers to epdfs</span> 57 <a name="l00075"></a>00075 Array<epdf*> epdfs; 58 <a name="l00076"></a>00076 Array<mpdf*> mpdfs; 59 <a name="l00077"></a>00077 <span class="comment">//</span> 60 <a name="l00079"></a><a class="code" href="classmprod.html#c8f78fbcdb4e38ecd3197d2958082497">00079</a> <span class="comment"></span> Array<ivec> <a class="code" href="classmprod.html#c8f78fbcdb4e38ecd3197d2958082497" title="Indeces of rvs in common rv.">rvinds</a>; 61 <a name="l00081"></a><a class="code" href="classmprod.html#1725c7b497a27ab3c4889b846666b516">00081</a> Array<ivec> <a class="code" href="classmprod.html#1725c7b497a27ab3c4889b846666b516" title="Indeces of rvc in common rv.">rvcinrv</a>; 62 <a name="l00083"></a><a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6">00083</a> Array<ivec> <a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6" title="Indeces of rvc in common rvc.">rvcinds</a>; 63 <a name="l00084"></a>00084 <span class="comment">// //! Indicate independence of its factors</span> 64 <a name="l00085"></a>00085 <span class="comment">// bool independent;</span> 65 <a name="l00086"></a>00086 <span class="comment">// //! Indicate internal creation of mpdfs which must be destroyed</span> 66 <a name="l00087"></a>00087 <span class="comment">// bool intermpdfs;</span> 67 <a name="l00088"></a>00088 <span class="keyword">public</span>: 68 <a name="l00092"></a>00092 <a class="code" href="classmprod.html#37f028561c45ce5fd3a1351a911e31dc" title="Constructor from list of mFacs, Additional parameter overlap is left for future use...">mprod</a> ( Array<mpdf*> mFacs, <span class="keywordtype">bool</span> overlap=<span class="keyword">false</span> ); 69 <a name="l00093"></a>00093 70 <a name="l00094"></a>00094 <span class="keywordtype">double</span> evalpdflog ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{ 71 <a name="l00095"></a>00095 <span class="keywordtype">int</span> i; 72 <a name="l00096"></a>00096 <span class="keywordtype">double</span> res = 0.0; 73 <a name="l00097"></a>00097 <span class="keywordflow">for</span> ( i = n - 1;i > 0;i++ ) { 74 <a name="l00098"></a>00098 <span class="keywordflow">if</span> ( <a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6" title="Indeces of rvc in common rvc.">rvcinds</a> ( i ).length() > 0 ) 75 <a name="l00099"></a>00099 {mpdfs ( i )->condition ( val ( <a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6" title="Indeces of rvc in common rvc.">rvcinds</a> ( i ) ) );} 76 <a name="l00100"></a>00100 <span class="comment">// add logarithms</span> 77 <a name="l00101"></a>00101 res += epdfs ( i )->evalpdflog ( val ( <a class="code" href="classmprod.html#c8f78fbcdb4e38ecd3197d2958082497" title="Indeces of rvs in common rv.">rvinds</a> ( i ) ) ); 78 <a name="l00102"></a>00102 } 79 <a name="l00103"></a>00103 <span class="keywordflow">return</span> res; 80 <a name="l00104"></a>00104 } 81 <a name="l00105"></a><a class="code" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">00105</a> vec <a class="code" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68" title="Returns the required moment of the epdf.">samplecond</a> ( <span class="keyword">const</span> vec &cond, <span class="keywordtype">double</span> &ll ) { 82 <a name="l00106"></a>00106 vec smp=zeros ( <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() ); 83 <a name="l00107"></a>00107 vec condi; 84 <a name="l00108"></a>00108 vec smpi; 85 <a name="l00109"></a>00109 ll = 0; 86 <a name="l00110"></a>00110 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = ( n - 1 );i >= 0;i-- ) { 87 <a name="l00111"></a>00111 <span class="keywordflow">if</span> ( <a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6" title="Indeces of rvc in common rvc.">rvcinds</a> ( i ).length() > 0 ) { 88 <a name="l00112"></a>00112 condi = zeros ( <a class="code" href="classmprod.html#1725c7b497a27ab3c4889b846666b516" title="Indeces of rvc in common rv.">rvcinrv</a>.length() + <a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6" title="Indeces of rvc in common rvc.">rvcinds</a>.length() ); 89 <a name="l00113"></a>00113 <span class="comment">// copy data in condition</span> 90 <a name="l00114"></a>00114 set_subvector ( condi,<a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6" title="Indeces of rvc in common rvc.">rvcinds</a> ( i ), cond ); 91 <a name="l00115"></a>00115 <span class="comment">// copy data in already generated sample</span> 92 <a name="l00116"></a>00116 set_subvector ( condi,<a class="code" href="classmprod.html#1725c7b497a27ab3c4889b846666b516" title="Indeces of rvc in common rv.">rvcinrv</a> ( i ), smp ); 93 <a name="l00117"></a>00117 94 <a name="l00118"></a>00118 mpdfs ( i )->condition ( condi ); 95 <a name="l00119"></a>00119 } 96 <a name="l00120"></a>00120 smpi = epdfs ( i )->sample(); 97 <a name="l00121"></a>00121 <span class="comment">// copy contribution of this pdf into smp</span> 98 <a name="l00122"></a>00122 set_subvector ( smp,<a class="code" href="classmprod.html#c8f78fbcdb4e38ecd3197d2958082497" title="Indeces of rvs in common rv.">rvinds</a> ( i ), smpi ); 99 <a name="l00123"></a>00123 <span class="comment">// add ith likelihood contribution</span> 100 <a name="l00124"></a>00124 ll+=epdfs ( i )->evalpdflog ( smpi ); 101 <a name="l00125"></a>00125 } 102 <a name="l00126"></a>00126 <span class="keywordflow">return</span> smp; 103 <a name="l00127"></a>00127 } 104 <a name="l00128"></a><a class="code" href="classmprod.html#e171c40e210539c2af01d6237785620b">00128</a> mat <a class="code" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68" title="Returns the required moment of the epdf.">samplecond</a> ( <span class="keyword">const</span> vec &cond, vec &ll, <span class="keywordtype">int</span> N ) { 105 <a name="l00129"></a>00129 mat Smp ( <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>(),N ); 106 <a name="l00130"></a>00130 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<N;i++ ) {Smp.set_col ( i,<a class="code" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68" title="Returns the required moment of the epdf.">samplecond</a> ( cond,ll ( i ) ) );} 107 <a name="l00131"></a>00131 <span class="keywordflow">return</span> Smp; 108 <a name="l00132"></a>00132 } 109 <a name="l00133"></a>00133 110 <a name="l00134"></a>00134 ~<a class="code" href="classmprod.html" title="Chain rule decomposition of epdf.">mprod</a>() {}; 111 <a name="l00135"></a>00135 }; 112 <a name="l00136"></a>00136 113 <a name="l00138"></a><a class="code" href="classeprod.html">00138</a> <span class="keyword">class </span><a class="code" href="classeprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod.">eprod</a>: <span class="keyword">public</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> { 114 <a name="l00139"></a>00139 <span class="keyword">protected</span>: 115 <a name="l00141"></a><a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357">00141</a> Array<const epdf*> <a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>; 116 <a name="l00143"></a><a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3">00143</a> Array<ivec> <a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3" title="Array of indeces.">rvinds</a>; 117 <a name="l00144"></a>00144 <span class="keyword">public</span>: 118 <a name="l00145"></a>00145 <a class="code" href="classeprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod.">eprod</a> ( <span class="keyword">const</span> Array<const epdf*> epdfs0 ) : <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>() ),<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a> ( epdfs0 ),<a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3" title="Array of indeces.">rvinds</a> ( <a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>.length() ) { 119 <a name="l00146"></a>00146 <span class="keywordtype">bool</span> independent=<span class="keyword">true</span>; 120 <a name="l00147"></a>00147 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>.length();i++ ) { 121 <a name="l00148"></a>00148 independent=<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>.<a class="code" href="classRV.html#935790526b630dec4ffefa9ec0c2b6fb" title="Add (concat) another variable to the current one,.">add</a> ( <a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a> ( i )-><a class="code" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562" title="access function, possibly dangerous!">_rv</a>() ); 122 <a name="l00149"></a>00149 it_assert_debug ( independent==<span class="keyword">true</span>, <span class="stringliteral">"eprod:: given components are not independent ."</span> ); 123 <a name="l00150"></a>00150 <a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3" title="Array of indeces.">rvinds</a> ( i ) = ( <a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a> ( i )->_rv() ).dataind ( <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a> ); 124 <a name="l00151"></a>00151 } 125 <a name="l00152"></a>00152 } 126 <a name="l00153"></a>00153 127 <a name="l00154"></a><a class="code" href="classeprod.html#5752dd999e1f4638f9558b0cc35b64f7">00154</a> vec <a class="code" href="classeprod.html#5752dd999e1f4638f9558b0cc35b64f7" title="return expected value">mean</a>()<span class="keyword"> const </span>{ 128 <a name="l00155"></a>00155 vec tmp ( <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() ); 129 <a name="l00156"></a>00156 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>.length();i++ ) { 130 <a name="l00157"></a>00157 vec pom = <a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a> ( i )->mean(); 131 <a name="l00158"></a>00158 set_subvector ( tmp,<a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3" title="Array of indeces.">rvinds</a> ( i ), pom ); 132 <a name="l00159"></a>00159 } 133 <a name="l00160"></a>00160 <span class="keywordflow">return</span> tmp; 134 <a name="l00161"></a>00161 } 135 <a name="l00162"></a><a class="code" href="classeprod.html#94a5b7c44056cf7f4e688d53ba6295b4">00162</a> vec <a class="code" href="classeprod.html#94a5b7c44056cf7f4e688d53ba6295b4" title="Returns a sample, from density .">sample</a>()<span class="keyword"> const </span>{ 136 <a name="l00163"></a>00163 vec tmp ( <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() ); 137 <a name="l00164"></a>00164 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>.length();i++ ) { 138 <a name="l00165"></a>00165 vec pom = <a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a> ( i )->sample(); 139 <a name="l00166"></a>00166 set_subvector ( tmp,<a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3" title="Array of indeces.">rvinds</a> ( i ), pom ); 54 <a name="l00072"></a>00072 <span class="comment">// pointers to epdfs</span> 55 <a name="l00073"></a>00073 Array<epdf*> epdfs; 56 <a name="l00075"></a><a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6">00075</a> Array<ivec> <a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6" title="Indeces of rvc in common rvc.">rvcinds</a>; 57 <a name="l00076"></a>00076 <span class="keyword">public</span>: 58 <a name="l00080"></a><a class="code" href="classmprod.html#419b303581a91ad85200bdcb4b3186f4">00080</a> <a class="code" href="classmprod.html#419b303581a91ad85200bdcb4b3186f4" title="Constructor from list of mFacs, Additional parameter overlap is left for future use...">mprod</a> ( Array<mpdf*> mFacs): <a class="code" href="classcompositepdf.html" title="Abstract composition of pdfs, a base for specific classes.">compositepdf</a>(mFacs), <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>(getrv(true),<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>()), epdfs(<a class="code" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f" title="Number of mpdfs in the composite.">n</a>), <a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6" title="Indeces of rvc in common rvc.">rvcinds</a>(<a class="code" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f" title="Number of mpdfs in the composite.">n</a>) 59 <a name="l00081"></a>00081 { setrvc(<a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>,<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a>); 60 <a name="l00082"></a>00082 setrvcinrv(<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a>,<a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6" title="Indeces of rvc in common rvc.">rvcinds</a>); 61 <a name="l00083"></a>00083 setindices(<a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>); 62 <a name="l00084"></a>00084 <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0;i<<a class="code" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f" title="Number of mpdfs in the composite.">n</a>;i++){epdfs(i)=&(<a class="code" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d" title="Elements of composition.">mpdfs</a>(i)->_epdf());} 63 <a name="l00085"></a>00085 }; 64 <a name="l00086"></a>00086 65 <a name="l00087"></a>00087 <span class="keywordtype">double</span> evalpdflog ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{ 66 <a name="l00088"></a>00088 <span class="keywordtype">int</span> i; 67 <a name="l00089"></a>00089 <span class="keywordtype">double</span> res = 0.0; 68 <a name="l00090"></a>00090 <span class="keywordflow">for</span> ( i = <a class="code" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f" title="Number of mpdfs in the composite.">n</a> - 1;i > 0;i++ ) { 69 <a name="l00091"></a>00091 <span class="keywordflow">if</span> ( <a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6" title="Indeces of rvc in common rvc.">rvcinds</a> ( i ).length() > 0 ) 70 <a name="l00092"></a>00092 {<a class="code" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d" title="Elements of composition.">mpdfs</a> ( i )->condition ( val ( <a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6" title="Indeces of rvc in common rvc.">rvcinds</a> ( i ) ) );} 71 <a name="l00093"></a>00093 <span class="comment">// add logarithms</span> 72 <a name="l00094"></a>00094 res += epdfs ( i )->evalpdflog ( val ( <a class="code" href="classcompositepdf.html#4d4a8269f9faefeca8cdc251a5a29a7f" title="Indeces of rvs in common rv.">rvsinrv</a> ( i ) ) ); 73 <a name="l00095"></a>00095 } 74 <a name="l00096"></a>00096 <span class="keywordflow">return</span> res; 75 <a name="l00097"></a>00097 } 76 <a name="l00098"></a><a class="code" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">00098</a> vec <a class="code" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68" title="Returns the required moment of the epdf.">samplecond</a> ( <span class="keyword">const</span> vec &cond, <span class="keywordtype">double</span> &ll ) { 77 <a name="l00099"></a>00099 vec smp=zeros ( <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() ); 78 <a name="l00100"></a>00100 vec condi; 79 <a name="l00101"></a>00101 vec smpi; 80 <a name="l00102"></a>00102 ll = 0; 81 <a name="l00103"></a>00103 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = ( <a class="code" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f" title="Number of mpdfs in the composite.">n</a> - 1 );i >= 0;i-- ) { 82 <a name="l00104"></a>00104 <span class="keywordflow">if</span> ( <a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6" title="Indeces of rvc in common rvc.">rvcinds</a> ( i ).length() > 0 ) { 83 <a name="l00105"></a>00105 condi = zeros ( <a class="code" href="classcompositepdf.html#3df07bb5e3ed36a3119b145043296676" title="Indeces of rvc in common rv.">rvcsinrv</a>.length() + <a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6" title="Indeces of rvc in common rvc.">rvcinds</a>.length() ); 84 <a name="l00106"></a>00106 <span class="comment">// copy data in condition</span> 85 <a name="l00107"></a>00107 set_subvector ( condi,<a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6" title="Indeces of rvc in common rvc.">rvcinds</a> ( i ), cond ); 86 <a name="l00108"></a>00108 <span class="comment">// copy data in already generated sample</span> 87 <a name="l00109"></a>00109 set_subvector ( condi,<a class="code" href="classcompositepdf.html#3df07bb5e3ed36a3119b145043296676" title="Indeces of rvc in common rv.">rvcsinrv</a> ( i ), smp ); 88 <a name="l00110"></a>00110 89 <a name="l00111"></a>00111 <a class="code" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d" title="Elements of composition.">mpdfs</a> ( i )->condition ( condi ); 90 <a name="l00112"></a>00112 } 91 <a name="l00113"></a>00113 smpi = epdfs ( i )->sample(); 92 <a name="l00114"></a>00114 <span class="comment">// copy contribution of this pdf into smp</span> 93 <a name="l00115"></a>00115 set_subvector ( smp,<a class="code" href="classcompositepdf.html#4d4a8269f9faefeca8cdc251a5a29a7f" title="Indeces of rvs in common rv.">rvsinrv</a> ( i ), smpi ); 94 <a name="l00116"></a>00116 <span class="comment">// add ith likelihood contribution</span> 95 <a name="l00117"></a>00117 ll+=epdfs ( i )->evalpdflog ( smpi ); 96 <a name="l00118"></a>00118 } 97 <a name="l00119"></a>00119 <span class="keywordflow">return</span> smp; 98 <a name="l00120"></a>00120 } 99 <a name="l00121"></a><a class="code" href="classmprod.html#e171c40e210539c2af01d6237785620b">00121</a> mat <a class="code" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68" title="Returns the required moment of the epdf.">samplecond</a> ( <span class="keyword">const</span> vec &cond, vec &ll, <span class="keywordtype">int</span> N ) { 100 <a name="l00122"></a>00122 mat Smp ( <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>(),N ); 101 <a name="l00123"></a>00123 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<N;i++ ) {Smp.set_col ( i,<a class="code" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68" title="Returns the required moment of the epdf.">samplecond</a> ( cond,ll ( i ) ) );} 102 <a name="l00124"></a>00124 <span class="keywordflow">return</span> Smp; 103 <a name="l00125"></a>00125 } 104 <a name="l00126"></a>00126 105 <a name="l00127"></a>00127 ~<a class="code" href="classmprod.html" title="Chain rule decomposition of epdf.">mprod</a>() {}; 106 <a name="l00128"></a>00128 }; 107 <a name="l00129"></a>00129 108 <a name="l00131"></a><a class="code" href="classeprod.html">00131</a> <span class="keyword">class </span><a class="code" href="classeprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod.">eprod</a>: <span class="keyword">public</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> { 109 <a name="l00132"></a>00132 <span class="keyword">protected</span>: 110 <a name="l00134"></a><a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357">00134</a> Array<const epdf*> <a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>; 111 <a name="l00136"></a><a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3">00136</a> Array<ivec> <a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3" title="Array of indeces.">rvinds</a>; 112 <a name="l00137"></a>00137 <span class="keyword">public</span>: 113 <a name="l00138"></a>00138 <a class="code" href="classeprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod.">eprod</a> ( <span class="keyword">const</span> Array<const epdf*> epdfs0 ) : <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>() ),<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a> ( epdfs0 ),<a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3" title="Array of indeces.">rvinds</a> ( <a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>.length() ) { 114 <a name="l00139"></a>00139 <span class="keywordtype">bool</span> independent=<span class="keyword">true</span>; 115 <a name="l00140"></a>00140 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>.length();i++ ) { 116 <a name="l00141"></a>00141 independent=<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>.<a class="code" href="classRV.html#935790526b630dec4ffefa9ec0c2b6fb" title="Add (concat) another variable to the current one,.">add</a> ( <a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a> ( i )-><a class="code" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562" title="access function, possibly dangerous!">_rv</a>() ); 117 <a name="l00142"></a>00142 it_assert_debug ( independent==<span class="keyword">true</span>, <span class="stringliteral">"eprod:: given components are not independent ."</span> ); 118 <a name="l00143"></a>00143 <a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3" title="Array of indeces.">rvinds</a> ( i ) = ( <a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a> ( i )->_rv() ).dataind ( <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a> ); 119 <a name="l00144"></a>00144 } 120 <a name="l00145"></a>00145 } 121 <a name="l00146"></a>00146 122 <a name="l00147"></a><a class="code" href="classeprod.html#5752dd999e1f4638f9558b0cc35b64f7">00147</a> vec <a class="code" href="classeprod.html#5752dd999e1f4638f9558b0cc35b64f7" title="return expected value">mean</a>()<span class="keyword"> const </span>{ 123 <a name="l00148"></a>00148 vec tmp ( <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() ); 124 <a name="l00149"></a>00149 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>.length();i++ ) { 125 <a name="l00150"></a>00150 vec pom = <a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a> ( i )->mean(); 126 <a name="l00151"></a>00151 set_subvector ( tmp,<a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3" title="Array of indeces.">rvinds</a> ( i ), pom ); 127 <a name="l00152"></a>00152 } 128 <a name="l00153"></a>00153 <span class="keywordflow">return</span> tmp; 129 <a name="l00154"></a>00154 } 130 <a name="l00155"></a><a class="code" href="classeprod.html#94a5b7c44056cf7f4e688d53ba6295b4">00155</a> vec <a class="code" href="classeprod.html#94a5b7c44056cf7f4e688d53ba6295b4" title="Returns a sample, from density .">sample</a>()<span class="keyword"> const </span>{ 131 <a name="l00156"></a>00156 vec tmp ( <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() ); 132 <a name="l00157"></a>00157 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>.length();i++ ) { 133 <a name="l00158"></a>00158 vec pom = <a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a> ( i )->sample(); 134 <a name="l00159"></a>00159 set_subvector ( tmp,<a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3" title="Array of indeces.">rvinds</a> ( i ), pom ); 135 <a name="l00160"></a>00160 } 136 <a name="l00161"></a>00161 <span class="keywordflow">return</span> tmp; 137 <a name="l00162"></a>00162 } 138 <a name="l00163"></a><a class="code" href="classeprod.html#5adef154e3655a872c284b02635b8b35">00163</a> <span class="keywordtype">double</span> <a class="code" href="classeprod.html#5adef154e3655a872c284b02635b8b35" title="Compute log-probability of argument val.">evalpdflog</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{ 139 <a name="l00164"></a>00164 <span class="keywordtype">double</span> tmp=0; 140 <a name="l00165"></a>00165 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>.length();i++ ) { 141 <a name="l00166"></a>00166 tmp+=<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>(i)->evalpdflog(val(<a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3" title="Array of indeces.">rvinds</a>(i))); 140 142 <a name="l00167"></a>00167 } 141 143 <a name="l00168"></a>00168 <span class="keywordflow">return</span> tmp; 142 144 <a name="l00169"></a>00169 } 143 <a name="l00170"></a><a class="code" href="classeprod.html#5adef154e3655a872c284b02635b8b35">00170</a> <span class="keywordtype">double</span> <a class="code" href="classeprod.html#5adef154e3655a872c284b02635b8b35" title="Compute log-probability of argument val.">evalpdflog</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{ 144 <a name="l00171"></a>00171 <span class="keywordtype">double</span> tmp=0; 145 <a name="l00172"></a>00172 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>.length();i++ ) { 146 <a name="l00173"></a>00173 tmp+=<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>(i)->evalpdflog(val(<a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3" title="Array of indeces.">rvinds</a>(i))); 147 <a name="l00174"></a>00174 } 148 <a name="l00175"></a>00175 <span class="keywordflow">return</span> tmp; 149 <a name="l00176"></a>00176 } 150 <a name="l00178"></a><a class="code" href="classeprod.html#c049331d8b1ec7e4c088cf0cc6d47f3f">00178</a> <span class="keyword">const</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* <a class="code" href="classeprod.html#c049331d8b1ec7e4c088cf0cc6d47f3f" title="access function">operator () </a>(<span class="keywordtype">int</span> i)<span class="keyword"> const </span>{it_assert_debug(i<<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>.length(),<span class="stringliteral">"wrong index"</span>);<span class="keywordflow">return</span> <a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>(i);} 151 <a name="l00179"></a>00179 }; 152 <a name="l00180"></a>00180 153 <a name="l00181"></a>00181 154 <a name="l00185"></a><a class="code" href="classmmix.html">00185</a> <span class="keyword">class </span><a class="code" href="classmmix.html" title="Mixture of mpdfs with constant weights, all mpdfs are of equal type.">mmix</a> : <span class="keyword">public</span> <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> { 155 <a name="l00186"></a>00186 <span class="keyword">protected</span>: 156 <a name="l00188"></a><a class="code" href="classmmix.html#460632c7a0afd41b7840902181a7d85f">00188</a> Array<mpdf*> <a class="code" href="classmmix.html#460632c7a0afd41b7840902181a7d85f" title="Component (epdfs).">Coms</a>; 157 <a name="l00190"></a><a class="code" href="classmmix.html#507a5e6df53e6e9a6a330f1271cf0914">00190</a> <a class="code" href="classemix.html" title="Mixture of epdfs.">emix</a> <a class="code" href="classmmix.html#507a5e6df53e6e9a6a330f1271cf0914" title="Internal epdf.">Epdf</a>; 158 <a name="l00191"></a>00191 <span class="keyword">public</span>: 159 <a name="l00193"></a><a class="code" href="classmmix.html#6769a962f1f4d0ecc5b903b5f7d26ad3">00193</a> <a class="code" href="classmmix.html#6769a962f1f4d0ecc5b903b5f7d26ad3" title="Default constructor.">mmix</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>, <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a> ) : <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> ( rv, rvc ), <a class="code" href="classmmix.html#507a5e6df53e6e9a6a330f1271cf0914" title="Internal epdf.">Epdf</a> ( rv ) {<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a> = &<a class="code" href="classmmix.html#507a5e6df53e6e9a6a330f1271cf0914" title="Internal epdf.">Epdf</a>;}; 160 <a name="l00195"></a><a class="code" href="classmmix.html#e7681490a5c5b2d0a43f4e5842e10a9d">00195</a> <span class="keywordtype">void</span> <a class="code" href="classmmix.html#e7681490a5c5b2d0a43f4e5842e10a9d" title="Set weights w and components R.">set_parameters</a> ( <span class="keyword">const</span> vec &w, <span class="keyword">const</span> Array<mpdf*> &<a class="code" href="classmmix.html#460632c7a0afd41b7840902181a7d85f" title="Component (epdfs).">Coms</a> ) { 161 <a name="l00196"></a>00196 Array<epdf*> Eps ( Coms.length() ); 162 <a name="l00197"></a>00197 163 <a name="l00198"></a>00198 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0;i < Coms.length();i++ ) { 164 <a name="l00199"></a>00199 Eps ( i ) = & ( <a class="code" href="classmmix.html#460632c7a0afd41b7840902181a7d85f" title="Component (epdfs).">Coms</a> ( i )->_epdf() ); 165 <a name="l00200"></a>00200 } 166 <a name="l00201"></a>00201 <a class="code" href="classmmix.html#507a5e6df53e6e9a6a330f1271cf0914" title="Internal epdf.">Epdf</a>.<a class="code" href="classemix.html#6ce82b24d7fe540ddbf44b472a005555" title="Set weights w and components R.">set_parameters</a> ( w, Eps ); 167 <a name="l00202"></a>00202 }; 168 <a name="l00203"></a>00203 169 <a name="l00204"></a><a class="code" href="classmmix.html#1a66629ec5c2b6f4740606cf737f0193">00204</a> <span class="keywordtype">void</span> <a class="code" href="classmmix.html#1a66629ec5c2b6f4740606cf737f0193" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &cond ) { 170 <a name="l00205"></a>00205 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0;i < <a class="code" href="classmmix.html#460632c7a0afd41b7840902181a7d85f" title="Component (epdfs).">Coms</a>.length();i++ ) {<a class="code" href="classmmix.html#460632c7a0afd41b7840902181a7d85f" title="Component (epdfs).">Coms</a> ( i )->condition ( cond );} 171 <a name="l00206"></a>00206 }; 172 <a name="l00207"></a>00207 }; 173 <a name="l00208"></a>00208 <span class="preprocessor">#endif //MX_H</span> 145 <a name="l00171"></a><a class="code" href="classeprod.html#c049331d8b1ec7e4c088cf0cc6d47f3f">00171</a> <span class="keyword">const</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* <a class="code" href="classeprod.html#c049331d8b1ec7e4c088cf0cc6d47f3f" title="access function">operator () </a>(<span class="keywordtype">int</span> i)<span class="keyword"> const </span>{it_assert_debug(i<<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>.length(),<span class="stringliteral">"wrong index"</span>);<span class="keywordflow">return</span> <a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>(i);} 146 <a name="l00172"></a>00172 }; 147 <a name="l00173"></a>00173 148 <a name="l00174"></a>00174 149 <a name="l00178"></a><a class="code" href="classmmix.html">00178</a> <span class="keyword">class </span><a class="code" href="classmmix.html" title="Mixture of mpdfs with constant weights, all mpdfs are of equal type.">mmix</a> : <span class="keyword">public</span> <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> { 150 <a name="l00179"></a>00179 <span class="keyword">protected</span>: 151 <a name="l00181"></a><a class="code" href="classmmix.html#460632c7a0afd41b7840902181a7d85f">00181</a> Array<mpdf*> <a class="code" href="classmmix.html#460632c7a0afd41b7840902181a7d85f" title="Component (epdfs).">Coms</a>; 152 <a name="l00183"></a><a class="code" href="classmmix.html#507a5e6df53e6e9a6a330f1271cf0914">00183</a> <a class="code" href="classemix.html" title="Mixture of epdfs.">emix</a> <a class="code" href="classmmix.html#507a5e6df53e6e9a6a330f1271cf0914" title="Internal epdf.">Epdf</a>; 153 <a name="l00184"></a>00184 <span class="keyword">public</span>: 154 <a name="l00186"></a><a class="code" href="classmmix.html#6769a962f1f4d0ecc5b903b5f7d26ad3">00186</a> <a class="code" href="classmmix.html#6769a962f1f4d0ecc5b903b5f7d26ad3" title="Default constructor.">mmix</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>, <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a> ) : <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> ( rv, rvc ), <a class="code" href="classmmix.html#507a5e6df53e6e9a6a330f1271cf0914" title="Internal epdf.">Epdf</a> ( rv ) {<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a> = &<a class="code" href="classmmix.html#507a5e6df53e6e9a6a330f1271cf0914" title="Internal epdf.">Epdf</a>;}; 155 <a name="l00188"></a><a class="code" href="classmmix.html#e7681490a5c5b2d0a43f4e5842e10a9d">00188</a> <span class="keywordtype">void</span> <a class="code" href="classmmix.html#e7681490a5c5b2d0a43f4e5842e10a9d" title="Set weights w and components R.">set_parameters</a> ( <span class="keyword">const</span> vec &w, <span class="keyword">const</span> Array<mpdf*> &<a class="code" href="classmmix.html#460632c7a0afd41b7840902181a7d85f" title="Component (epdfs).">Coms</a> ) { 156 <a name="l00189"></a>00189 Array<epdf*> Eps ( Coms.length() ); 157 <a name="l00190"></a>00190 158 <a name="l00191"></a>00191 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0;i < Coms.length();i++ ) { 159 <a name="l00192"></a>00192 Eps ( i ) = & ( <a class="code" href="classmmix.html#460632c7a0afd41b7840902181a7d85f" title="Component (epdfs).">Coms</a> ( i )->_epdf() ); 160 <a name="l00193"></a>00193 } 161 <a name="l00194"></a>00194 <a class="code" href="classmmix.html#507a5e6df53e6e9a6a330f1271cf0914" title="Internal epdf.">Epdf</a>.<a class="code" href="classemix.html#6ce82b24d7fe540ddbf44b472a005555" title="Set weights w and components R.">set_parameters</a> ( w, Eps ); 162 <a name="l00195"></a>00195 }; 163 <a name="l00196"></a>00196 164 <a name="l00197"></a><a class="code" href="classmmix.html#1a66629ec5c2b6f4740606cf737f0193">00197</a> <span class="keywordtype">void</span> <a class="code" href="classmmix.html#1a66629ec5c2b6f4740606cf737f0193" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &cond ) { 165 <a name="l00198"></a>00198 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0;i < <a class="code" href="classmmix.html#460632c7a0afd41b7840902181a7d85f" title="Component (epdfs).">Coms</a>.length();i++ ) {<a class="code" href="classmmix.html#460632c7a0afd41b7840902181a7d85f" title="Component (epdfs).">Coms</a> ( i )->condition ( cond );} 166 <a name="l00199"></a>00199 }; 167 <a name="l00200"></a>00200 }; 168 <a name="l00201"></a>00201 <span class="preprocessor">#endif //MX_H</span> 174 169 </pre></div></div> 175 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:452008 for mixpp by 170 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 176 171 <a href="http://www.doxygen.org/index.html"> 177 172 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/emix_8h.html ¶
r171 r180 37 37 <p><center><img src="emix_8h__dep__incl.png" border="0" usemap="#work/git/mixpp/bdm/stat/emix.hdep_map" alt=""></center> 38 38 <map name="work/git/mixpp/bdm/stat/emix.hdep_map"> 39 <area shape="rect" href="mixef_8h.html" title="Bayesian Filtering for mixtures of exponential family (EF) members." alt="" coords=" 5,84,240,111"><area shape="rect" href="merger_8h.html" title="Mergers for combination of pdfs." alt="" coords="264,84,501,111"><area shape="rect" href="pmsm__mix_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="525,84,784,111"></map>39 <area shape="rect" href="mixef_8h.html" title="Bayesian Filtering for mixtures of exponential family (EF) members." alt="" coords="12,84,247,111"><area shape="rect" href="pmsm__mix_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="271,84,529,111"><area shape="rect" href="merger_8h.html" title="Mergers for combination of pdfs." alt="" coords="5,161,253,188"></map> 40 40 </div> 41 41 … … 63 63 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 64 64 Using IT++ for numerical operations ----------------------------------- </div> 65 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 65 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by 66 66 <a href="http://www.doxygen.org/index.html"> 67 67 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/emix_8h__dep__incl.map ¶
r171 r180 1 <area shape="rect" href="$mixef_8h.html" title="Bayesian Filtering for mixtures of exponential family (EF) members." alt="" coords=" 5,84,240,111">2 <area shape="rect" href="$ merger_8h.html" title="Mergers for combination of pdfs." alt="" coords="264,84,501,111">3 <area shape="rect" href="$ pmsm__mix_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="525,84,784,111">1 <area shape="rect" href="$mixef_8h.html" title="Bayesian Filtering for mixtures of exponential family (EF) members." alt="" coords="12,84,247,111"> 2 <area shape="rect" href="$pmsm__mix_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="271,84,529,111"> 3 <area shape="rect" href="$merger_8h.html" title="Mergers for combination of pdfs." alt="" coords="5,161,253,188"> -
TabularUnified doc/html/emix_8h__dep__incl.md5 ¶
r171 r180 1 aaafddd2b3508f9e7f50e2eda8b13da3 1 239c44cf3753a17e871d80606e121665 -
TabularUnified doc/html/files.html ¶
r171 r180 31 31 <tr><td class="indexkey">work/git/mixpp/bdm/estim/<a class="el" href="libKF_8h.html">libKF.h</a> <a href="libKF_8h-source.html">[code]</a></td><td class="indexvalue">Bayesian Filtering for linear Gaussian models (<a class="el" href="classKalman.html" title="Kalman filter with covariance matrices in square root form.">Kalman</a> Filter) and extensions </td></tr> 32 32 <tr><td class="indexkey">work/git/mixpp/bdm/estim/<a class="el" href="libPF_8h.html">libPF.h</a> <a href="libPF_8h-source.html">[code]</a></td><td class="indexvalue">Bayesian Filtering using stochastic sampling (Particle Filters) </td></tr> 33 <tr><td class="indexkey">work/git/mixpp/bdm/estim/<a class="el" href="merger_8h.html">merger.h</a> <a href="merger_8h-source.html">[code]</a></td><td class="indexvalue">Mergers for combination of pdfs </td></tr> 33 34 <tr><td class="indexkey">work/git/mixpp/bdm/estim/<a class="el" href="mixef_8h.html">mixef.h</a> <a href="mixef_8h-source.html">[code]</a></td><td class="indexvalue">Bayesian Filtering for mixtures of exponential family (EF) members </td></tr> 34 35 <tr><td class="indexkey">work/git/mixpp/bdm/math/<a class="el" href="chmat_8h.html">chmat.h</a> <a href="chmat_8h-source.html">[code]</a></td><td class="indexvalue">Matrices in decomposed forms (LDL', LU, UDU', etc) </td></tr> … … 40 41 <tr><td class="indexkey">work/git/mixpp/bdm/stat/<b>libFN.h</b> <a href="libFN_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> 41 42 <tr><td class="indexkey">work/git/mixpp/bdm/stat/<a class="el" href="loggers_8h.html">loggers.h</a> <a href="loggers_8h-source.html">[code]</a></td><td class="indexvalue">Loggers for storing results of experiments </td></tr> 42 <tr><td class="indexkey">work/git/mixpp/bdm/stat/<a class="el" href="merger_8h.html">merger.h</a> <a href="merger_8h-source.html">[code]</a></td><td class="indexvalue">Mergers for combination of pdfs </td></tr>43 43 <tr><td class="indexkey">work/git/mixpp/pmsm/<b>pmsm.h</b> <a href="pmsm_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr> 44 44 <tr><td class="indexkey">work/git/mixpp/pmsm/<a class="el" href="pmsm__mix_8cpp.html">pmsm_mix.cpp</a></td><td class="indexvalue">Models for synchronous electric drive using IT++ and BDM </td></tr> … … 64 64 </table> 65 65 </div> 66 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:562008 for mixpp by 66 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:45 2008 for mixpp by 67 67 <a href="http://www.doxygen.org/index.html"> 68 68 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/fixed_8h-source.html ¶
r171 r180 33 33 <a name="l00017"></a>00017 <span class="comment">// obecne deleni: x_"Qposun1"*"Qscale"/y_"Qposun2" -> "Q_posun_fin"</span> 34 34 </pre></div></div> 35 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 35 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by 36 36 <a href="http://www.doxygen.org/index.html"> 37 37 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions.html ¶
r171 r180 72 72 : <a class="el" href="classchmat.html#9c50d31c999d85d8e9d8cf2b69b6ac8c">chmat</a> 73 73 <li>_copy_() 74 : <a class="el" href="classARX.html# d2751057811c6fb8f4ff86e1648bcddc">ARX</a>74 : <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a> 75 75 , <a class="el" href="classBM.html#eb58c81d6a7b75b05fc6f276eed78887">BM</a> 76 76 <li>_D() … … 137 137 </ul> 138 138 </div> 139 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 139 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 140 140 <a href="http://www.doxygen.org/index.html"> 141 141 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x61.html ¶
r171 r180 87 87 </ul> 88 88 </div> 89 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 89 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 90 90 <a href="http://www.doxygen.org/index.html"> 91 91 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x62.html ¶
r171 r180 87 87 , <a class="el" href="classBM.html#0186270f75189677f390fe088a9947e9">BM</a> 88 88 <li>beta 89 : <a class="el" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7">eDirich</a> 90 , <a class="el" href="classegamma.html#cfc5f136467488a421ab22f886323790">egamma</a> 89 : <a class="el" href="classegamma.html#cfc5f136467488a421ab22f886323790">egamma</a> 90 , <a class="el" href="classmerger.html#e68a72e2740007ae68545e378c7701ad">merger</a> 91 , <a class="el" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7">eDirich</a> 91 92 <li>bilinfn() 92 93 : <a class="el" href="classbilinfn.html#c99f91d7752e131275b219df731868bd">bilinfn</a> … … 103 104 </ul> 104 105 </div> 105 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 106 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 106 107 <a href="http://www.doxygen.org/index.html"> 107 108 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x63.html ¶
r171 r180 83 83 , <a class="el" href="classmmix.html#460632c7a0afd41b7840902181a7d85f">mmix</a> 84 84 <li>condition() 85 : <a class="el" href="classKFcondQR.html#c9ecf292a85327aa6309c9fd70ceb606">KFcondQR</a> 85 : <a class="el" href="classBMcond.html#3543cfe274c35f9033c24d8036a96c4d">BMcond</a> 86 , <a class="el" href="classmmix.html#1a66629ec5c2b6f4740606cf737f0193">mmix</a> 87 , <a class="el" href="classEKF__unQ.html#cd06a8c662da244cf61bb5bd39688c99">EKF_unQ</a> 86 88 , <a class="el" href="classmlnorm.html#5232fc7e305eceab4e2bd6a8daa44195">mlnorm< sq_T ></a> 87 89 , <a class="el" href="classEKF__unQ.html#cd06a8c662da244cf61bb5bd39688c99">EKF_unQ</a> 90 , <a class="el" href="classmgamma__fix.html#6ea3931eec7b7da7b693e45981052460">mgamma_fix</a> 91 , <a class="el" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83">mpdf</a> 92 , <a class="el" href="classEKFful__unQR.html#b586e534c8a8d219561b0c020329d412">EKFful_unQR</a> 93 , <a class="el" href="classEKFfixed.html#c7fee79e75ad7f0c0e96c5a322cbf44e">EKFfixed</a> 94 , <a class="el" href="classKFcondR.html#8c0721e47879bb8840d829db7a174a7f">KFcondR</a> 95 , <a class="el" href="classEKF__unQ.html#cd06a8c662da244cf61bb5bd39688c99">EKF_unQ</a> 88 96 , <a class="el" href="classmgamma.html#a61094c9f7a2d64ea77b130cbc031f97">mgamma</a> 89 , <a class="el" href="classEKFful__unQR.html#b586e534c8a8d219561b0c020329d412">EKFful_unQR</a> 90 , <a class="el" href="classEKF__unQ.html#cd06a8c662da244cf61bb5bd39688c99">EKF_unQ</a> 91 , <a class="el" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83">mpdf</a> 92 , <a class="el" href="classKFcondR.html#8c0721e47879bb8840d829db7a174a7f">KFcondR</a> 93 , <a class="el" href="classmgamma__fix.html#6ea3931eec7b7da7b693e45981052460">mgamma_fix</a> 94 , <a class="el" href="classmmix.html#1a66629ec5c2b6f4740606cf737f0193">mmix</a> 95 , <a class="el" href="classEKFfixed.html#c7fee79e75ad7f0c0e96c5a322cbf44e">EKFfixed</a> 96 , <a class="el" href="classBMcond.html#3543cfe274c35f9033c24d8036a96c4d">BMcond</a> 97 <li>condpdf 98 : <a class="el" href="classmerger.html#1712341746811f2844de5499817abb46">merger</a> 97 , <a class="el" href="classKFcondQR.html#c9ecf292a85327aa6309c9fd70ceb606">KFcondQR</a> 99 98 <li>constfn() 100 99 : <a class="el" href="classconstfn.html#d08acd7fac0ef3edfa59bbe48403f2bc">constfn</a> … … 103 102 </ul> 104 103 </div> 105 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 104 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 106 105 <a href="http://www.doxygen.org/index.html"> 107 106 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x64.html ¶
r171 r180 68 68 , <a class="el" href="classldmat.html#4cce04824539c4a8d062d9a36d6e014e">ldmat</a> 69 69 <li>dataind() 70 : <a class="el" href="classRV.html# 1844ea0d9c10428f5e0ee1d4d569ef0a">RV</a>70 : <a class="el" href="classRV.html#bb724fa4e2d9ed7bfd0993b5975018a4">RV</a> 71 71 <li>dfdu_cond() 72 72 : <a class="el" href="classdiffbifn.html#1978bafd7909d15c139a08c495c24aa0">diffbifn</a> … … 110 110 </ul> 111 111 </div> 112 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 112 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 113 113 <a href="http://www.doxygen.org/index.html"> 114 114 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x65.html ¶
r171 r180 112 112 : <a class="el" href="classeuni.html#2537a6c239cff52e3ba814851a1116cd">euni</a> 113 113 <li>eval() 114 : <a class="el" href="classIMpmsm.html#45785869d978dda42828a072ec2caebe">IMpmsm</a> 115 , <a class="el" href="classfnc.html#7fad2e6cb35909a165ec5a53def4a18c">fnc</a> 114 : <a class="el" href="classfnc.html#7fad2e6cb35909a165ec5a53def4a18c">fnc</a> 116 115 , <a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">epdf</a> 117 116 , <a class="el" href="classenorm.html#b9e1dfd33692d7b3f1a59f17b0e61bd0">enorm< sq_T ></a> 117 , <a class="el" href="classeuni.html#2723d4992900b5c5495bfa03628195ed">euni</a> 118 118 , <a class="el" href="classconstfn.html#0411f603cbf675f2bc04a8f85e4e3b52">constfn</a> 119 119 , <a class="el" href="classlinfn.html#fac0e56701f4c7beaf1c91f9b2a55f0b">linfn</a> 120 120 , <a class="el" href="classdiffbifn.html#ad7673e16aa1a046b131b24c731c4632">diffbifn</a> 121 , <a class="el" href="classIMpmsm.html#45785869d978dda42828a072ec2caebe">IMpmsm</a> 121 122 , <a class="el" href="classbilinfn.html#e36a16e72e7f9fedf3cb18d2d5505a24">bilinfn</a> 122 123 , <a class="el" href="classOMpmsm.html#8e32392c9c635584606287b8c0e8c9da">OMpmsm</a> 123 124 , <a class="el" href="classdiffbifn.html#40d8a7eee45acc55cda33d43282faa03">diffbifn</a> 124 , <a class="el" href="classeuni.html#2723d4992900b5c5495bfa03628195ed">euni</a>125 125 <li>evalcond() 126 126 : <a class="el" href="classmpdf.html#80b738ece5bd4f8c4edaee4b38906f91">mpdf</a> … … 128 128 : <a class="el" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129">BM</a> 129 129 <li>evalpdflog() 130 : <a class="el" href="classeuni.html#06af95d514a6623ad4688bd2ad50ad71">euni</a> 130 : <a class="el" href="classeprod.html#5adef154e3655a872c284b02635b8b35">eprod</a> 131 , <a class="el" href="classemix.html#469e910479b3402589104ef3bb1b5741">emix</a> 132 , <a class="el" href="classeuni.html#06af95d514a6623ad4688bd2ad50ad71">euni</a> 133 , <a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">eEF</a> 134 , <a class="el" href="classeEmp.html#23e7358995400865ad2e278945922fb3">eEmp</a> 131 135 , <a class="el" href="classegamma.html#de84faac8f9799dfe2777ddbedf997ef">egamma</a> 132 , <a class="el" href="classepdf.html#6af383b6f1c6ea6fc5f6724dd03d8877">epdf</a> 133 , <a class="el" href="classeprod.html#5adef154e3655a872c284b02635b8b35">eprod</a> 134 , <a class="el" href="classeEmp.html#23e7358995400865ad2e278945922fb3">eEmp</a> 136 , <a class="el" href="classmerger.html#8c37688902b1a1e9fa32edc5709e5a00">merger</a> 135 137 , <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf</a> 136 138 , <a class="el" href="classeEF.html#6466e8d4aa9dd64698ed288cbb1afc03">eEF</a> 137 , <a class="el" href="classemix.html#469e910479b3402589104ef3bb1b5741">emix</a> 138 , <a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">eEF</a> 139 , <a class="el" href="classenorm.html#609a7c33dbb4fdfab050f3bdd1122401">enorm< sq_T ></a> 139 <li>evalpdflog_m() 140 : <a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">epdf</a> 140 141 <li>evalpdflog_nn() 141 142 : <a class="el" href="classeDirich.html#688a24f04be6d80d4769cf0e4ded7acc">eDirich</a> 143 , <a class="el" href="classegiw.html#2ab1e525d692be8272a6f383d60b94cd">egiw</a> 144 , <a class="el" href="classenorm.html#c1e3dcba256b0153cfdb286120e110be">enorm< sq_T ></a> 142 145 , <a class="el" href="classeEF.html#48cdd33d0e20d1a1aa45683c956bc61c">eEF</a> 143 , <a class="el" href="classegiw.html#2ab1e525d692be8272a6f383d60b94cd">egiw</a>144 146 </ul> 145 147 </div> 146 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 148 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 147 149 <a href="http://www.doxygen.org/index.html"> 148 150 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x66.html ¶
r171 r180 83 83 </ul> 84 84 </div> 85 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 85 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 86 86 <a href="http://www.doxygen.org/index.html"> 87 87 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x67.html ¶
r171 r180 75 75 : <a class="el" href="classfsqmat.html#bcf837b2956745e8986044f5600dbd6e">fsqmat</a> 76 76 <li>getdata() 77 : <a class="el" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1">DS</a> 78 , <a class="el" href="classMemDS.html#23522b9e7dd0bb0c365cc9cde4c05449">MemDS</a> 79 <li>getR() 80 : <a class="el" href="classenorm.html#9b9f58dc86affa23511c246887420658">enorm< sq_T ></a> 77 : <a class="el" href="classDS.html#4027575bc66ea358f9b03dd3be28fe1e">DS</a> 78 , <a class="el" href="classMemDS.html#900f1e1c9eb950f87e557c068628e60e">MemDS</a> 79 , <a class="el" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1">DS</a> 81 80 </ul> 82 81 </div> 83 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 82 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 84 83 <a href="http://www.doxygen.org/index.html"> 85 84 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x68.html ¶
r171 r180 70 70 </ul> 71 71 </div> 72 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 72 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 73 73 <a href="http://www.doxygen.org/index.html"> 74 74 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x69.html ¶
r171 r180 71 71 : <a class="el" href="classmemlog.html#3410b4c002636508c43ddcba8d394520">memlog</a> 72 72 <li>init() 73 : <a class="el" href="classmemlog.html#b081ef5acb4816e6b5fcb56c19cc7e47">memlog</a> 73 : <a class="el" href="classmerger.html#02d2a445e44a87f37ee3a2b9b40cffd1">merger</a> 74 , <a class="el" href="classMixEF.html#73a782d2f464c830bbdbb03d34c6d63e">MixEF</a> 75 , <a class="el" href="classmemlog.html#b081ef5acb4816e6b5fcb56c19cc7e47">memlog</a> 74 76 , <a class="el" href="classdirfilelog.html#afeaebe003110f9db1ac43edf8e53a92">dirfilelog</a> 75 77 <li>instance 76 78 : <a class="el" href="classTypedUserInfo.html#c7ad10a9ff002383518155c965ade85c">TypedUserInfo< T ></a> 77 79 <li>inv() 78 : <a class="el" href="classfsqmat.html#9fa853e1ca28f2a1a1c43377e798ecb1">fsqmat</a> 80 : <a class="el" href="classchmat.html#5ce4e21a9012a4e98c1f0ed1ca5669bd">chmat</a> 81 , <a class="el" href="classfsqmat.html#9fa853e1ca28f2a1a1c43377e798ecb1">fsqmat</a> 79 82 , <a class="el" href="classldmat.html#2c160cb123c1102face7a50ec566a031">ldmat</a> 80 , <a class="el" href="classchmat.html#5ce4e21a9012a4e98c1f0ed1ca5669bd">chmat</a>81 83 <li>invqform() 82 84 : <a class="el" href="classldmat.html#d876c5f83e02b3e809b35c9de5068f14">ldmat</a> 85 , <a class="el" href="classsqmat.html#6230e8e8a9341866aaa0ce008691aac2">sqmat</a> 83 86 , <a class="el" href="classfsqmat.html#58075da64ddadd4df40654c35b928c6f">fsqmat</a> 84 , <a class="el" href="classsqmat.html#6230e8e8a9341866aaa0ce008691aac2">sqmat</a>85 87 , <a class="el" href="classchmat.html#b49427cff186c62f5df3724e5d2c34b4">chmat</a> 86 88 <li>itsave() … … 88 90 </ul> 89 91 </div> 90 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 92 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 91 93 <a href="http://www.doxygen.org/index.html"> 92 94 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x6b.html ¶
r171 r180 78 78 </ul> 79 79 </div> 80 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 80 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 81 81 <a href="http://www.doxygen.org/index.html"> 82 82 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x6c.html ¶
r171 r180 97 97 : <a class="el" href="classlogger.html#4f753a510e00c892b38e95c2284363a6">logger</a> 98 98 <li>logit() 99 : <a class="el" href="class memlog.html#8d2feeb826f7249e9104d616b5a67144">memlog</a>100 , <a class="el" href="class logger.html#efb5a59cb329f58810b09bd9cc270b78">logger</a>99 : <a class="el" href="classlogger.html#efb5a59cb329f58810b09bd9cc270b78">logger</a> 100 , <a class="el" href="classmemlog.html#8d2feeb826f7249e9104d616b5a67144">memlog</a> 101 101 <li>lognc() 102 : <a class="el" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77">eDirich</a> 102 : <a class="el" href="classegamma.html#d6dbbdb72360f9e54d64501f80318bb6">egamma</a> 103 , <a class="el" href="classegiw.html#70eb1a0b88459b227f919b425b0d3359">egiw</a> 103 104 , <a class="el" href="classeEF.html#69e5680dac10375d62520d26c672477d">eEF</a> 104 , <a class="el" href="classegamma.html#d6dbbdb72360f9e54d64501f80318bb6">egamma</a>105 105 , <a class="el" href="classenorm.html#b289a36a69db59d182bb6eba9c05d4a8">enorm< sq_T ></a> 106 , <a class="el" href="classegiw.html#70eb1a0b88459b227f919b425b0d3359">egiw</a> 106 , <a class="el" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77">eDirich</a> 107 <li>lognorm_merge() 108 : <a class="el" href="classmerger.html#217c65f335c603033fa09a2ecc64bc05">merger</a> 107 109 <li>logpred() 108 110 : <a class="el" href="classARX.html#e7f9e7823aec9bf7ddc3b42d9b3304c4">ARX</a> … … 110 112 , <a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">BM</a> 111 113 , <a class="el" href="classmultiBM.html#13e26a61757278981fd8cac9a7ef91eb">multiBM</a> 114 <li>logpred_m() 115 : <a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">BM</a> 112 116 <li>low 113 117 : <a class="el" href="classeuni.html#ef42cd8d7645422048d46c46ec5cdac1">euni</a> 114 118 </ul> 115 119 </div> 116 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 120 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 117 121 <a href="http://www.doxygen.org/index.html"> 118 122 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x6d.html ¶
r171 r180 69 69 : <a class="el" href="classmemlog.html#4195f322897ededdac66c404b848ced3">memlog</a> 70 70 <li>mean() 71 : <a class="el" href="classeprod.html#5752dd999e1f4638f9558b0cc35b64f7">eprod</a> 71 : <a class="el" href="classemix.html#b662a51d042b062020460e64bff4e9e8">emix</a> 72 , <a class="el" href="classegiw.html#6deb0ff2859f41ef7cbdf6a842cabb29">egiw</a> 72 73 , <a class="el" href="classeDirich.html#4206e1da149d51ff3b663c9241096b73">eDirich</a> 74 , <a class="el" href="classeprod.html#5752dd999e1f4638f9558b0cc35b64f7">eprod</a> 73 75 , <a class="el" href="classegamma.html#6ab5ba56f7cdb2e5921c3e77524fa50a">egamma</a> 76 , <a class="el" href="classeuni.html#8050087e421a9cfd1b4b1f8bd33b1cc1">euni</a> 77 , <a class="el" href="classmerger.html#3a46999cd77047d5d4ac6c1cb735a83e">merger</a> 74 78 , <a class="el" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870">epdf</a> 75 , <a class="el" href="classeuni.html#8050087e421a9cfd1b4b1f8bd33b1cc1">euni</a>76 79 , <a class="el" href="classeEmp.html#ba055c19038cc72628d98e25197e982d">eEmp</a> 77 , <a class="el" href="classemix.html#b662a51d042b062020460e64bff4e9e8">emix</a>78 80 , <a class="el" href="classenorm.html#50fa84da7bae02f7af17a98f37566899">enorm< sq_T ></a> 79 , <a class="el" href="classegiw.html#6deb0ff2859f41ef7cbdf6a842cabb29">egiw</a>80 81 <li>mEF() 81 82 : <a class="el" href="classmEF.html#8bf51fe8654d7b83c8c8afeb19409d4f">mEF</a> … … 86 87 <li>mepdf() 87 88 : <a class="el" href="classmepdf.html#7ab1c50f0aa16230117436dee500f2e0">mepdf</a> 89 <li>merge() 90 : <a class="el" href="classmerger.html#e56ad4a2bc9be2ddfc051626adf27715">merger</a> 88 91 <li>merger() 89 : <a class="el" href="classmerger.html# 1a6a721294321c2e412ca0084c636b69">merger</a>92 : <a class="el" href="classmerger.html#3f9a955329eab65026e8322e9027d469">merger</a> 90 93 <li>mgamma() 91 94 : <a class="el" href="classmgamma.html#af43e61b86900c0398d5c0ffc83b94e6">mgamma</a> 92 95 <li>mgamma_fix() 93 96 : <a class="el" href="classmgamma__fix.html#b92c3d2e5fd0381033a072e5ef3bcf80">mgamma_fix</a> 97 <li>Mix 98 : <a class="el" href="classmerger.html#021d1522cea70db8545d708afd32ec2f">merger</a> 94 99 <li>MixEF() 95 : <a class="el" href="classMixEF.html# 7713c2f01e97df268049821749405bc2">MixEF</a>100 : <a class="el" href="classMixEF.html#509ac467674c39af46aba42297528aad">MixEF</a> 96 101 <li>mlnorm() 97 102 : <a class="el" href="classmlnorm.html#f927203b3f31171c5c10ffc7caa797f5">mlnorm< sq_T ></a> … … 100 105 <li>mpdf() 101 106 : <a class="el" href="classmpdf.html#581ecf362185d37c08bb31cb9d046d6f">mpdf</a> 107 <li>mpdfs 108 : <a class="el" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d">compositepdf</a> 102 109 <li>MPF() 103 110 : <a class="el" href="classMPF.html#fc5e11e11eec3195e3c6503937bf02bd">MPF< BM_T ></a> 104 111 <li>mprod() 105 : <a class="el" href="classmprod.html# 37f028561c45ce5fd3a1351a911e31dc">mprod</a>112 : <a class="el" href="classmprod.html#419b303581a91ad85200bdcb4b3186f4">mprod</a> 106 113 <li>mu 107 114 : <a class="el" href="classenorm.html#71fde0d54bba147e00f612577f95ad20">enorm< sq_T ></a> … … 110 117 : <a class="el" href="classfsqmat.html#5530d2756b5d991de755e6121c9a452e">fsqmat</a> 111 118 , <a class="el" href="classchmat.html#66f509f92b0ccf020e2a2a32566e0777">chmat</a> 119 , <a class="el" href="classsqmat.html#60fbbfa9e483b8187c135f787ee53afa">sqmat</a> 112 120 , <a class="el" href="classldmat.html#e967b9425007f0cb6cd59b845f9756d8">ldmat</a> 113 121 , <a class="el" href="classfsqmat.html#d4eddc3743c8865cc5ed92d14de0e3e3">fsqmat</a> 114 , <a class="el" href="classsqmat.html#60fbbfa9e483b8187c135f787ee53afa">sqmat</a>115 122 <li>mult_sym_t() 116 : <a class="el" href="classldmat.html#f94dc3a233f3d40fc853d8d4ac3b8eab">ldmat</a> 123 : <a class="el" href="classfsqmat.html#92052a8adc2054b63e42d1373d145c89">fsqmat</a> 124 , <a class="el" href="classchmat.html#07f50d1332b901eee962e8b1913102f7">chmat</a> 117 125 , <a class="el" href="classsqmat.html#6909e906da17725b1b80f3cae7cf3325">sqmat</a> 126 , <a class="el" href="classldmat.html#f94dc3a233f3d40fc853d8d4ac3b8eab">ldmat</a> 118 127 , <a class="el" href="classfsqmat.html#ae4949ad2a32553c7fa04d6d1483770a">fsqmat</a> 119 , <a class="el" href="classchmat.html#07f50d1332b901eee962e8b1913102f7">chmat</a>120 , <a class="el" href="classldmat.html#4fd155f38eb6dd5af4bdf9c98a7999a9">ldmat</a>121 128 <li>multiBM() 122 : <a class="el" href="classmultiBM.html# 7d7d7e78c129602bcde96078359dc6e5">multiBM</a>129 : <a class="el" href="classmultiBM.html#b92751adbfb9f259ca8c95232cfd9c09">multiBM</a> 123 130 </ul> 124 131 </div> 125 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 132 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 126 133 <a href="http://www.doxygen.org/index.html"> 127 134 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x6e.html ¶
r171 r180 68 68 , <a class="el" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149">MixEF</a> 69 69 , <a class="el" href="classeEmp.html#8c33034de0e35f03f8bb85d3d67438fd">eEmp</a> 70 , <a class="el" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f">compositepdf</a> 70 71 <li>name() 71 72 : <a class="el" href="classRV.html#3ae4dd6e368f814a02710636ac8e1721">RV</a> … … 73 74 : <a class="el" href="classRV.html#df5d0030b277a1db2f1fd5fb79152acb">RV</a> 74 75 , <a class="el" href="classlogger.html#39cb79e839ca8f8bb9dcbc8c5b9c7786">logger</a> 76 <li>Nc 77 : <a class="el" href="classmerger.html#6acf33e1c64aaaee20689725e8110f65">merger</a> 75 78 <li>newids() 76 79 : <a class="el" href="classRV.html#fc4a3175ff678cba7ae4109654f66ce5">RV</a> … … 79 82 <li>nPsi 80 83 : <a class="el" href="classegiw.html#c70d13d86e0d9f0acede3e1dc0368812">egiw</a> 84 <li>Ns 85 : <a class="el" href="classmerger.html#ce84de1824875b4262eefb640e8c6d69">merger</a> 81 86 <li>nu 82 87 : <a class="el" href="classARX.html#a4182c281098b2d86b62518a7493d9be">ARX</a> … … 84 89 </ul> 85 90 </div> 86 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 91 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 87 92 <a href="http://www.doxygen.org/index.html"> 88 93 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x6f.html ¶
r171 r180 71 71 : <a class="el" href="classitpp_1_1Gamma__RNG.html#d407bbcda8a39e3f07cac3fdf58ca430">itpp::Gamma_RNG</a> 72 72 , <a class="el" href="classeprod.html#c049331d8b1ec7e4c088cf0cc6d47f3f">eprod</a> 73 , <a class="el" href="classRV.html# 65e5b820e482caff7f284d11898ef64f">RV</a>73 , <a class="el" href="classRV.html#248dfb2387976db2658489347669278c">RV</a> 74 74 <li>operator*=() 75 75 : <a class="el" href="classfsqmat.html#af800e7b2146da5e60897255dde80059">fsqmat</a> … … 84 84 , <a class="el" href="classfsqmat.html#e976bc9d899961e1d2087b0630ed33b7">fsqmat</a> 85 85 <li>operator<< 86 : <a class="el" href="class KalmanFull.html#86ba216243ed95bb46d80d88775d16af">KalmanFull</a>86 : <a class="el" href="classldmat.html#eaaa0baa6026b84cfcbced41c84599d1">ldmat</a> 87 87 , <a class="el" href="classfsqmat.html#e06aba54d61e807b41bd68b5ee6ac22f">fsqmat</a> 88 , <a class="el" href="class ldmat.html#eaaa0baa6026b84cfcbced41c84599d1">ldmat</a>88 , <a class="el" href="classKalmanFull.html#86ba216243ed95bb46d80d88775d16af">KalmanFull</a> 89 89 , <a class="el" href="classRV.html#cad6f15535d10437f6690cb4492176a8">RV</a> 90 90 <li>opupdt() 91 : <a class="el" href="classfsqmat.html#b36530e155667fe9f1bd58394e50c65a">fsqmat</a> 92 , <a class="el" href="classldmat.html#0f0f6e083e6d947cf58097ffce3ccd1a">ldmat</a> 91 : <a class="el" href="classldmat.html#0f0f6e083e6d947cf58097ffce3ccd1a">ldmat</a> 93 92 , <a class="el" href="classchmat.html#bbc2d98d7455b1f38828907d442836bf">chmat</a> 93 , <a class="el" href="classfsqmat.html#b36530e155667fe9f1bd58394e50c65a">fsqmat</a> 94 94 , <a class="el" href="classsqmat.html#b223484796661f2dadb5607a86ce0581">sqmat</a> 95 <li>overlaps96 : <a class="el" href="classmerger.html#11eb177ef6409926b2ba3b4630bceab1">merger</a>97 95 </ul> 98 96 </div> 99 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 97 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 100 98 <a href="http://www.doxygen.org/index.html"> 101 99 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x70.html ¶
r171 r180 77 77 <li>preA 78 78 : <a class="el" href="classKalmanCh.html#94ee9da75b0e0f632e4a354988ca3798">KalmanCh</a> 79 <li>predictor() 80 : <a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">BM</a> 79 81 </ul> 80 82 </div> 81 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 83 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 82 84 <a href="http://www.doxygen.org/index.html"> 83 85 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x71.html ¶
r171 r180 73 73 </ul> 74 74 </div> 75 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 75 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 76 76 <a href="http://www.doxygen.org/index.html"> 77 77 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x72.html ¶
r171 r180 79 79 : <a class="el" href="classsqmat.html#071e80ced9cc3b8cbb360fa7462eb646">sqmat</a> 80 80 , <a class="el" href="classldmat.html#96dfb21865db4f5bd36fa70f9b0b1163">ldmat</a> 81 <li>RV() 82 : <a class="el" href="classRV.html#6a22f5c06d6403870d4e414b1993bf9e">RV</a> 83 <li>rv 84 : <a class="el" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">epdf</a> 85 , <a class="el" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">mpdf</a> 86 <li>RV() 87 : <a class="el" href="classRV.html#261702f85831392d7d67e2bcf0b69960">RV</a> 81 88 <li>rv 82 89 : <a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">BM</a> 83 90 <li>RV() 84 91 : <a class="el" href="classRV.html#bedfd8d197f0a7ac28a4d412dfc5b8af">RV</a> 85 <li>rv86 : <a class="el" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">mpdf</a>87 <li>RV()88 : <a class="el" href="classRV.html#261702f85831392d7d67e2bcf0b69960">RV</a>89 <li>rv90 : <a class="el" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">epdf</a>91 92 <li>rvc 92 93 : <a class="el" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab">mpdf</a> … … 94 95 <li>rvcinds 95 96 : <a class="el" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6">mprod</a> 96 <li>rvc inrv97 : <a class="el" href="class mprod.html#1725c7b497a27ab3c4889b846666b516">mprod</a>97 <li>rvcsinrv 98 : <a class="el" href="classcompositepdf.html#3df07bb5e3ed36a3119b145043296676">compositepdf</a> 98 99 <li>rvinds 99 : <a class="el" href="classmprod.html#c8f78fbcdb4e38ecd3197d2958082497">mprod</a> 100 , <a class="el" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3">eprod</a> 100 : <a class="el" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3">eprod</a> 101 <li>rvsinrv 102 : <a class="el" href="classcompositepdf.html#4d4a8269f9faefeca8cdc251a5a29a7f">compositepdf</a> 101 103 <li>rvu 102 104 : <a class="el" href="classKalman.html#44a16ffd5ac1e6e39bae34fea9e1e498">Kalman< sq_T ></a> … … 108 110 </ul> 109 111 </div> 110 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 112 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 111 113 <a href="http://www.doxygen.org/index.html"> 112 114 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x73.html ¶
r171 r180 65 65 <h3><a class="anchor" name="index_s">- s -</a></h3><ul> 66 66 <li>sample() 67 : <a class="el" href="classemix.html#0650601f24e633e0ab09aa1e46c14483">emix</a> 67 : <a class="el" href="classmerger.html#379198c3d2063bfa63f5d1245a2511ba">merger</a> 68 , <a class="el" href="classemix.html#0650601f24e633e0ab09aa1e46c14483">emix</a> 69 , <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf</a> 70 , <a class="el" href="classeDirich.html#23dff79110822e9639343fe8e177fd80">eDirich</a> 71 , <a class="el" href="classegamma.html#8e10c0021b5dfdd9cb62c6959b5ef425">egamma</a> 72 , <a class="el" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5">enorm< sq_T ></a> 73 , <a class="el" href="classeuni.html#4a0e09392be17beaee120ba98fc038cd">euni</a> 74 , <a class="el" href="classeEmp.html#83f9283f92b805508d896479dc1ccf12">eEmp</a> 68 75 , <a class="el" href="classeprod.html#94a5b7c44056cf7f4e688d53ba6295b4">eprod</a> 69 , <a class="el" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5">enorm< sq_T ></a>70 , <a class="el" href="classegamma.html#8e10c0021b5dfdd9cb62c6959b5ef425">egamma</a>71 , <a class="el" href="classeuni.html#4a0e09392be17beaee120ba98fc038cd">euni</a>72 76 , <a class="el" href="classenorm.html#60f0f3bfa53d6e65843eea9532b16d36">enorm< sq_T ></a> 73 , <a class="el" href="classeEmp.html#83f9283f92b805508d896479dc1ccf12">eEmp</a>74 , <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf</a>75 77 , <a class="el" href="classegiw.html#3d2c1f2ba0f9966781f1e0ae695e8a6f">egiw</a> 76 , <a class="el" href="classeDirich.html#23dff79110822e9639343fe8e177fd80">eDirich</a>77 78 <li>samplecond() 78 : <a class="el" href="classmlnorm.html# 215fb88cc8b95d64cdefd6849abdd1e8">mlnorm< sq_T ></a>79 : <a class="el" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18">mlnorm< sq_T ></a> 79 80 , <a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">mprod</a> 80 81 , <a class="el" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b">mpdf</a> 81 , <a class="el" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18">mlnorm< sq_T ></a>82 82 <li>sampleN() 83 83 : <a class="el" href="classepdf.html#54d7dd53a641b618771cd9bee135181f">epdf</a> … … 98 98 <li>set_evalll() 99 99 : <a class="el" href="classBM.html#1ffa9f23669aabecc3760c06c6987522">BM</a> 100 <li>set_id() 101 : <a class="el" href="classRV.html#f58db96c9f5b8a538e26f154b1047c62">RV</a> 100 102 <li>set_mu() 101 103 : <a class="el" href="classenorm.html#d892a38f03be12e572ea57d9689cef6b">enorm< sq_T ></a> 102 104 <li>set_parameters() 103 : <a class="el" href="classeEmp.html#6606a656c1b28114f7384c25aaf80e8d">eEmp</a> 105 : <a class="el" href="classKalman.html#239b28a0380946f5749b2f8d2807f93a">Kalman< sq_T ></a> 106 , <a class="el" href="classeEmp.html#eab03bd3381aaea11ce34d5a26556353">eEmp</a> 107 , <a class="el" href="classKalmanCh.html#92fb227287af05c9f0078d523c7c9793">KalmanCh</a> 104 108 , <a class="el" href="classEKFfull.html#fc753106e0d4cf68e4f2160fd54458c0">EKFfull</a> 105 109 , <a class="el" href="classEKF.html#28d058ae4d24d992d2f055419a06ee66">EKF< sq_T ></a> 110 , <a class="el" href="classeuni.html#4fd7c6a05100616ad16ece405cad7bf2">euni</a> 106 111 , <a class="el" href="classEKFCh.html#0216bed270df59fe65d0d62d41f8257c">EKFCh</a> 107 , <a class="el" href="class euni.html#4fd7c6a05100616ad16ece405cad7bf2">euni</a>112 , <a class="el" href="classmerger.html#79420e251308df4502c834171d518ad9">merger</a> 108 113 , <a class="el" href="classemix.html#6ce82b24d7fe540ddbf44b472a005555">emix</a> 109 114 , <a class="el" href="classmmix.html#e7681490a5c5b2d0a43f4e5842e10a9d">mmix</a> 110 115 , <a class="el" href="classenorm.html#1394a65caa6e00d42e00cc99b12227af">enorm< sq_T ></a> 116 , <a class="el" href="classeDirich.html#c842acb2e1cce5cc9000769ff06c086d">eDirich</a> 111 117 , <a class="el" href="classegamma.html#8e348b89be82b70471fe8c5630f61339">egamma</a> 112 118 , <a class="el" href="classmlnorm.html#b6749030c5d5abcb3eb6898f74cea3c0">mlnorm< sq_T ></a> … … 116 122 , <a class="el" href="classIMpmsm.html#42818f3426d99fecb7e97be8ffe2e228">IMpmsm</a> 117 123 , <a class="el" href="classARX.html#bc8c36399e82b2fc504baed845ed2007">ARX</a> 118 , <a class="el" href="classKalman.html#239b28a0380946f5749b2f8d2807f93a">Kalman< sq_T ></a> 119 , <a class="el" href="classKalmanCh.html#92fb227287af05c9f0078d523c7c9793">KalmanCh</a> 124 <li>set_samples() 125 : <a class="el" href="classeEmp.html#e31bc9e6196173c3480b06a761a3e716">eEmp</a> 126 <li>set_size() 127 : <a class="el" href="classRV.html#70b24c39c5130b1e4753fa2eef495433">RV</a> 120 128 <li>set_statistics() 121 129 : <a class="el" href="classARX.html#26925d66dfc366815c497d67b62ee49c">ARX</a> 122 130 , <a class="el" href="classBMEF.html#30bb40eb1fd31869b2e62e79e1ecdcb4">BMEF</a> 131 <li>set_time() 132 : <a class="el" href="classRV.html#af668289c016d12ac2a9ddb85416006b">RV</a> 123 133 <li>setD() 124 : <a class="el" href="classldmat.html# 7619922b4de18830ce5351c6b5667e60">ldmat</a>134 : <a class="el" href="classldmat.html#0884a613b94fde61bfc84288e73ce57f">ldmat</a> 125 135 , <a class="el" href="classfsqmat.html#922f8190c13987cbcdb33ec2bf5cf105">fsqmat</a> 126 136 , <a class="el" href="classchmat.html#a4fc7f9b0539b97c414442a22f3db6e8">chmat</a> 127 , <a class="el" href="classldmat.html#0884a613b94fde61bfc84288e73ce57f">ldmat</a>128 137 , <a class="el" href="classfsqmat.html#03a8f49eb4d38a054ecc522be59cd2ad">fsqmat</a> 138 , <a class="el" href="classchmat.html#4b9271097d8317d9514c5d0d62cccb39">chmat</a> 139 , <a class="el" href="classldmat.html#7619922b4de18830ce5351c6b5667e60">ldmat</a> 129 140 <li>setL() 130 141 : <a class="el" href="classldmat.html#32ff66296627ff5341d7c0b973249614">ldmat</a> … … 139 150 <li>sqrt_mult() 140 151 : <a class="el" href="classchmat.html#b22aa239dbaca33e3fb93b4f674d7051">chmat</a> 141 , <a class="el" href="classfsqmat.html#842a774077ee34ac3c36d180ab33e103">fsqmat</a>142 152 , <a class="el" href="classsqmat.html#6b79438b5d7544a9c8e110a145355d8f">sqmat</a> 143 153 , <a class="el" href="classldmat.html#fc380626ced6f9244fb58c5f0231174d">ldmat</a> 154 , <a class="el" href="classfsqmat.html#842a774077ee34ac3c36d180ab33e103">fsqmat</a> 144 155 <li>step() 145 : <a class="el" href="classdirfilelog.html#f5fe9483a041591bfe6f3d6393b02aa7">dirfilelog</a> 156 : <a class="el" href="classMemDS.html#21916feb3e5ff960855c09b06a0d279b">MemDS</a> 157 , <a class="el" href="classlogger.html#709b3ebefa0da3ed371aa802b06512a2">logger</a> 146 158 , <a class="el" href="classmemlog.html#c97961eda9cda9f0e63c703cf21e5804">memlog</a> 147 , <a class="el" href="classMemDS.html#21916feb3e5ff960855c09b06a0d279b">MemDS</a>148 , <a class="el" href="classlogger.html#709b3ebefa0da3ed371aa802b06512a2">logger</a>149 159 , <a class="el" href="classDS.html#470ba89e8e7c3c4d830803221b4e9be6">DS</a> 160 , <a class="el" href="classdirfilelog.html#f5fe9483a041591bfe6f3d6393b02aa7">dirfilelog</a> 150 161 <li>structure_est() 151 162 : <a class="el" href="classARX.html#130bb7336aac681ce14b027b8f1409fa">ARX</a> 152 163 <li>subselect() 153 : <a class="el" href="classRV.html# 0a9ea7bc6fad270cc54a455a9f8f387d">RV</a>164 : <a class="el" href="classRV.html#b26d25a122be3303806af7726a625a0f">RV</a> 154 165 <li>subt() 155 : <a class="el" href="classRV.html# a85c47bd838ebbdcb6798d7843e87db2">RV</a>166 : <a class="el" href="classRV.html#b9d175c327c21488b1e2fb756a84e149">RV</a> 156 167 </ul> 157 168 </div> 158 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 169 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 159 170 <a href="http://www.doxygen.org/index.html"> 160 171 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x74.html ¶
r171 r180 87 87 </ul> 88 88 </div> 89 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 89 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 90 90 <a href="http://www.doxygen.org/index.html"> 91 91 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x75.html ¶
r171 r180 70 70 </ul> 71 71 </div> 72 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 72 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 73 73 <a href="http://www.doxygen.org/index.html"> 74 74 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x76.html ¶
r171 r180 74 74 </ul> 75 75 </div> 76 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 76 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 77 77 <a href="http://www.doxygen.org/index.html"> 78 78 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x77.html ¶
r171 r180 77 77 </ul> 78 78 </div> 79 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 79 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 80 80 <a href="http://www.doxygen.org/index.html"> 81 81 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x78.html ¶
r171 r180 70 70 </ul> 71 71 </div> 72 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 72 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 73 73 <a href="http://www.doxygen.org/index.html"> 74 74 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_0x7e.html ¶
r171 r180 90 90 </ul> 91 91 </div> 92 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 92 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 93 93 <a href="http://www.doxygen.org/index.html"> 94 94 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func.html ¶
r171 r180 69 69 : <a class="el" href="classchmat.html#9c50d31c999d85d8e9d8cf2b69b6ac8c">chmat</a> 70 70 <li>_copy_() 71 : <a class="el" href="classARX.html# d2751057811c6fb8f4ff86e1648bcddc">ARX</a>71 : <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a> 72 72 , <a class="el" href="classBM.html#eb58c81d6a7b75b05fc6f276eed78887">BM</a> 73 73 <li>_D() … … 123 123 </ul> 124 124 </div> 125 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 125 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 126 126 <a href="http://www.doxygen.org/index.html"> 127 127 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x61.html ¶
r171 r180 81 81 </ul> 82 82 </div> 83 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 83 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 84 84 <a href="http://www.doxygen.org/index.html"> 85 85 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x62.html ¶
r171 r180 96 96 </ul> 97 97 </div> 98 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 98 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 99 99 <a href="http://www.doxygen.org/index.html"> 100 100 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x63.html ¶
r171 r180 92 92 </ul> 93 93 </div> 94 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 94 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 95 95 <a href="http://www.doxygen.org/index.html"> 96 96 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x64.html ¶
r171 r180 63 63 <h3><a class="anchor" name="index_d">- d -</a></h3><ul> 64 64 <li>dataind() 65 : <a class="el" href="classRV.html# 1844ea0d9c10428f5e0ee1d4d569ef0a">RV</a>65 : <a class="el" href="classRV.html#bb724fa4e2d9ed7bfd0993b5975018a4">RV</a> 66 66 <li>dfdu_cond() 67 67 : <a class="el" href="classdiffbifn.html#1978bafd7909d15c139a08c495c24aa0">diffbifn</a> … … 87 87 </ul> 88 88 </div> 89 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 89 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 90 90 <a href="http://www.doxygen.org/index.html"> 91 91 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x65.html ¶
r171 r180 96 96 <li>eval() 97 97 : <a class="el" href="classlinfn.html#fac0e56701f4c7beaf1c91f9b2a55f0b">linfn</a> 98 , <a class="el" href="classIMpmsm.html#45785869d978dda42828a072ec2caebe">IMpmsm</a> 98 99 , <a class="el" href="classOMpmsm.html#8e32392c9c635584606287b8c0e8c9da">OMpmsm</a> 99 , <a class="el" href="classIMpmsm.html#45785869d978dda42828a072ec2caebe">IMpmsm</a>100 100 , <a class="el" href="classfnc.html#7fad2e6cb35909a165ec5a53def4a18c">fnc</a> 101 101 , <a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">epdf</a> … … 108 108 : <a class="el" href="classmpdf.html#80b738ece5bd4f8c4edaee4b38906f91">mpdf</a> 109 109 <li>evalpdflog() 110 : <a class="el" href="classeEmp.html#23e7358995400865ad2e278945922fb3">eEmp</a> 110 : <a class="el" href="classemix.html#469e910479b3402589104ef3bb1b5741">emix</a> 111 , <a class="el" href="classeEmp.html#23e7358995400865ad2e278945922fb3">eEmp</a> 112 , <a class="el" href="classeprod.html#5adef154e3655a872c284b02635b8b35">eprod</a> 113 , <a class="el" href="classegamma.html#de84faac8f9799dfe2777ddbedf997ef">egamma</a> 114 , <a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">eEF</a> 111 115 , <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf</a> 112 , <a class="el" href="classeprod.html#5adef154e3655a872c284b02635b8b35">eprod</a>113 , <a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">eEF</a>114 , <a class="el" href="classenorm.html#609a7c33dbb4fdfab050f3bdd1122401">enorm< sq_T ></a>115 , <a class="el" href="classegamma.html#de84faac8f9799dfe2777ddbedf997ef">egamma</a>116 116 , <a class="el" href="classeuni.html#06af95d514a6623ad4688bd2ad50ad71">euni</a> 117 , <a class="el" href="class emix.html#469e910479b3402589104ef3bb1b5741">emix</a>117 , <a class="el" href="classmerger.html#8c37688902b1a1e9fa32edc5709e5a00">merger</a> 118 118 , <a class="el" href="classeEF.html#6466e8d4aa9dd64698ed288cbb1afc03">eEF</a> 119 , <a class="el" href="classepdf.html#6af383b6f1c6ea6fc5f6724dd03d8877">epdf</a> 119 <li>evalpdflog_m() 120 : <a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">epdf</a> 120 121 <li>evalpdflog_nn() 121 : <a class="el" href="classeEF.html#48cdd33d0e20d1a1aa45683c956bc61c">eEF</a> 122 , <a class="el" href="classegiw.html#2ab1e525d692be8272a6f383d60b94cd">egiw</a> 122 : <a class="el" href="classegiw.html#2ab1e525d692be8272a6f383d60b94cd">egiw</a> 123 , <a class="el" href="classenorm.html#c1e3dcba256b0153cfdb286120e110be">enorm< sq_T ></a> 124 , <a class="el" href="classeEF.html#48cdd33d0e20d1a1aa45683c956bc61c">eEF</a> 123 125 , <a class="el" href="classeDirich.html#688a24f04be6d80d4769cf0e4ded7acc">eDirich</a> 124 126 </ul> 125 127 </div> 126 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 128 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 127 129 <a href="http://www.doxygen.org/index.html"> 128 130 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x66.html ¶
r171 r180 77 77 </ul> 78 78 </div> 79 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 79 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 80 80 <a href="http://www.doxygen.org/index.html"> 81 81 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x67.html ¶
r171 r180 73 73 : <a class="el" href="classfsqmat.html#bcf837b2956745e8986044f5600dbd6e">fsqmat</a> 74 74 <li>getdata() 75 : <a class="el" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1">DS</a> 76 , <a class="el" href="classMemDS.html#23522b9e7dd0bb0c365cc9cde4c05449">MemDS</a> 77 <li>getR() 78 : <a class="el" href="classenorm.html#9b9f58dc86affa23511c246887420658">enorm< sq_T ></a> 75 : <a class="el" href="classDS.html#4027575bc66ea358f9b03dd3be28fe1e">DS</a> 76 , <a class="el" href="classMemDS.html#900f1e1c9eb950f87e557c068628e60e">MemDS</a> 77 , <a class="el" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1">DS</a> 79 78 </ul> 80 79 </div> 81 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 80 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 82 81 <a href="http://www.doxygen.org/index.html"> 83 82 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x69.html ¶
r171 r180 65 65 : <a class="el" href="classRV.html#4a0069bc69f5a98d7ce9ed59077f2e6c">RV</a> 66 66 <li>init() 67 : <a class="el" href="classmemlog.html#b081ef5acb4816e6b5fcb56c19cc7e47">memlog</a> 67 : <a class="el" href="classmerger.html#02d2a445e44a87f37ee3a2b9b40cffd1">merger</a> 68 , <a class="el" href="classmemlog.html#b081ef5acb4816e6b5fcb56c19cc7e47">memlog</a> 68 69 , <a class="el" href="classdirfilelog.html#afeaebe003110f9db1ac43edf8e53a92">dirfilelog</a> 70 , <a class="el" href="classMixEF.html#73a782d2f464c830bbdbb03d34c6d63e">MixEF</a> 69 71 <li>inv() 70 : <a class="el" href="classchmat.html#5ce4e21a9012a4e98c1f0ed1ca5669bd">chmat</a> 72 : <a class="el" href="classldmat.html#2c160cb123c1102face7a50ec566a031">ldmat</a> 73 , <a class="el" href="classchmat.html#5ce4e21a9012a4e98c1f0ed1ca5669bd">chmat</a> 71 74 , <a class="el" href="classfsqmat.html#9fa853e1ca28f2a1a1c43377e798ecb1">fsqmat</a> 72 , <a class="el" href="classldmat.html#2c160cb123c1102face7a50ec566a031">ldmat</a>73 75 <li>invqform() 74 : <a class="el" href="classldmat.html#d876c5f83e02b3e809b35c9de5068f14">ldmat</a> 76 : <a class="el" href="classchmat.html#b49427cff186c62f5df3724e5d2c34b4">chmat</a> 77 , <a class="el" href="classldmat.html#d876c5f83e02b3e809b35c9de5068f14">ldmat</a> 75 78 , <a class="el" href="classfsqmat.html#58075da64ddadd4df40654c35b928c6f">fsqmat</a> 76 79 , <a class="el" href="classsqmat.html#6230e8e8a9341866aaa0ce008691aac2">sqmat</a> 77 , <a class="el" href="classchmat.html#b49427cff186c62f5df3724e5d2c34b4">chmat</a>78 80 <li>itsave() 79 81 : <a class="el" href="classmemlog.html#65571ebbb16577b5211adbb27baf769c">memlog</a> 80 82 </ul> 81 83 </div> 82 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 84 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 83 85 <a href="http://www.doxygen.org/index.html"> 84 86 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x6b.html ¶
r171 r180 74 74 </ul> 75 75 </div> 76 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 76 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 77 77 <a href="http://www.doxygen.org/index.html"> 78 78 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x6c.html ¶
r171 r180 86 86 , <a class="el" href="classmemlog.html#8d2feeb826f7249e9104d616b5a67144">memlog</a> 87 87 <li>lognc() 88 : <a class="el" href="classenorm.html#b289a36a69db59d182bb6eba9c05d4a8">enorm< sq_T ></a> 88 : <a class="el" href="classegamma.html#d6dbbdb72360f9e54d64501f80318bb6">egamma</a> 89 , <a class="el" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77">eDirich</a> 89 90 , <a class="el" href="classegiw.html#70eb1a0b88459b227f919b425b0d3359">egiw</a> 91 , <a class="el" href="classenorm.html#b289a36a69db59d182bb6eba9c05d4a8">enorm< sq_T ></a> 90 92 , <a class="el" href="classeEF.html#69e5680dac10375d62520d26c672477d">eEF</a> 91 , <a class="el" href="classegamma.html#d6dbbdb72360f9e54d64501f80318bb6">egamma</a> 92 , <a class="el" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77">eDirich</a>93 <li>lognorm_merge() 94 : <a class="el" href="classmerger.html#217c65f335c603033fa09a2ecc64bc05">merger</a> 93 95 <li>logpred() 94 : <a class="el" href="class MixEF.html#424ca64f36d4e41de7a7e7ae921d35ea">MixEF</a>96 : <a class="el" href="classARX.html#e7f9e7823aec9bf7ddc3b42d9b3304c4">ARX</a> 95 97 , <a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">BM</a> 98 , <a class="el" href="classMixEF.html#424ca64f36d4e41de7a7e7ae921d35ea">MixEF</a> 96 99 , <a class="el" href="classmultiBM.html#13e26a61757278981fd8cac9a7ef91eb">multiBM</a> 97 , <a class="el" href="classARX.html#e7f9e7823aec9bf7ddc3b42d9b3304c4">ARX</a> 100 <li>logpred_m() 101 : <a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">BM</a> 98 102 </ul> 99 103 </div> 100 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 104 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 101 105 <a href="http://www.doxygen.org/index.html"> 102 106 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x6d.html ¶
r171 r180 63 63 <h3><a class="anchor" name="index_m">- m -</a></h3><ul> 64 64 <li>mean() 65 : <a class="el" href="classemix.html#b662a51d042b062020460e64bff4e9e8">emix</a> 65 : <a class="el" href="classmerger.html#3a46999cd77047d5d4ac6c1cb735a83e">merger</a> 66 , <a class="el" href="classemix.html#b662a51d042b062020460e64bff4e9e8">emix</a> 67 , <a class="el" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870">epdf</a> 68 , <a class="el" href="classegamma.html#6ab5ba56f7cdb2e5921c3e77524fa50a">egamma</a> 69 , <a class="el" href="classeuni.html#8050087e421a9cfd1b4b1f8bd33b1cc1">euni</a> 70 , <a class="el" href="classenorm.html#50fa84da7bae02f7af17a98f37566899">enorm< sq_T ></a> 71 , <a class="el" href="classeEmp.html#ba055c19038cc72628d98e25197e982d">eEmp</a> 66 72 , <a class="el" href="classeprod.html#5752dd999e1f4638f9558b0cc35b64f7">eprod</a> 67 , <a class="el" href="classenorm.html#50fa84da7bae02f7af17a98f37566899">enorm< sq_T ></a>68 , <a class="el" href="classeuni.html#8050087e421a9cfd1b4b1f8bd33b1cc1">euni</a>69 , <a class="el" href="classeEmp.html#ba055c19038cc72628d98e25197e982d">eEmp</a>70 73 , <a class="el" href="classegiw.html#6deb0ff2859f41ef7cbdf6a842cabb29">egiw</a> 71 , <a class="el" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870">epdf</a>72 74 , <a class="el" href="classeDirich.html#4206e1da149d51ff3b663c9241096b73">eDirich</a> 73 , <a class="el" href="classegamma.html#6ab5ba56f7cdb2e5921c3e77524fa50a">egamma</a>74 75 <li>mEF() 75 76 : <a class="el" href="classmEF.html#8bf51fe8654d7b83c8c8afeb19409d4f">mEF</a> … … 80 81 <li>mepdf() 81 82 : <a class="el" href="classmepdf.html#7ab1c50f0aa16230117436dee500f2e0">mepdf</a> 83 <li>merge() 84 : <a class="el" href="classmerger.html#bc23accc77ec766bce7202934e2c180c">merger</a> 82 85 <li>merger() 83 : <a class="el" href="classmerger.html# 1a6a721294321c2e412ca0084c636b69">merger</a>86 : <a class="el" href="classmerger.html#3f9a955329eab65026e8322e9027d469">merger</a> 84 87 <li>mgamma() 85 88 : <a class="el" href="classmgamma.html#af43e61b86900c0398d5c0ffc83b94e6">mgamma</a> … … 87 90 : <a class="el" href="classmgamma__fix.html#b92c3d2e5fd0381033a072e5ef3bcf80">mgamma_fix</a> 88 91 <li>MixEF() 89 : <a class="el" href="classMixEF.html# 7713c2f01e97df268049821749405bc2">MixEF</a>92 : <a class="el" href="classMixEF.html#509ac467674c39af46aba42297528aad">MixEF</a> 90 93 <li>mlnorm() 91 94 : <a class="el" href="classmlnorm.html#f927203b3f31171c5c10ffc7caa797f5">mlnorm< sq_T ></a> … … 97 100 : <a class="el" href="classMPF.html#fc5e11e11eec3195e3c6503937bf02bd">MPF< BM_T ></a> 98 101 <li>mprod() 99 : <a class="el" href="classmprod.html# 37f028561c45ce5fd3a1351a911e31dc">mprod</a>102 : <a class="el" href="classmprod.html#419b303581a91ad85200bdcb4b3186f4">mprod</a> 100 103 <li>mult_sym() 101 : <a class="el" href="classldmat.html#e 7207748909325bb0f99b43f090a2b7e">ldmat</a>104 : <a class="el" href="classldmat.html#e967b9425007f0cb6cd59b845f9756d8">ldmat</a> 102 105 , <a class="el" href="classfsqmat.html#5530d2756b5d991de755e6121c9a452e">fsqmat</a> 103 106 , <a class="el" href="classchmat.html#66f509f92b0ccf020e2a2a32566e0777">chmat</a> 107 , <a class="el" href="classfsqmat.html#d4eddc3743c8865cc5ed92d14de0e3e3">fsqmat</a> 108 , <a class="el" href="classldmat.html#e7207748909325bb0f99b43f090a2b7e">ldmat</a> 104 109 , <a class="el" href="classsqmat.html#60fbbfa9e483b8187c135f787ee53afa">sqmat</a> 105 110 <li>mult_sym_t() 106 : <a class="el" href="classldmat.html#f94dc3a233f3d40fc853d8d4ac3b8eab">ldmat</a> 107 , <a class="el" href="classsqmat.html#6909e906da17725b1b80f3cae7cf3325">sqmat</a> 111 : <a class="el" href="classldmat.html#4fd155f38eb6dd5af4bdf9c98a7999a9">ldmat</a> 108 112 , <a class="el" href="classchmat.html#07f50d1332b901eee962e8b1913102f7">chmat</a> 109 113 , <a class="el" href="classfsqmat.html#92052a8adc2054b63e42d1373d145c89">fsqmat</a> 110 , <a class="el" href="class ldmat.html#4fd155f38eb6dd5af4bdf9c98a7999a9">ldmat</a>114 , <a class="el" href="classsqmat.html#6909e906da17725b1b80f3cae7cf3325">sqmat</a> 111 115 , <a class="el" href="classfsqmat.html#ae4949ad2a32553c7fa04d6d1483770a">fsqmat</a> 116 , <a class="el" href="classldmat.html#f94dc3a233f3d40fc853d8d4ac3b8eab">ldmat</a> 112 117 <li>multiBM() 113 : <a class="el" href="classmultiBM.html# 7d7d7e78c129602bcde96078359dc6e5">multiBM</a>118 : <a class="el" href="classmultiBM.html#b92751adbfb9f259ca8c95232cfd9c09">multiBM</a> 114 119 </ul> 115 120 </div> 116 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 121 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 117 122 <a href="http://www.doxygen.org/index.html"> 118 123 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x6e.html ¶
r171 r180 68 68 </ul> 69 69 </div> 70 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 70 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 71 71 <a href="http://www.doxygen.org/index.html"> 72 72 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x6f.html ¶
r171 r180 68 68 , <a class="el" href="classeprod.html#c049331d8b1ec7e4c088cf0cc6d47f3f">eprod</a> 69 69 , <a class="el" href="classitpp_1_1Gamma__RNG.html#d407bbcda8a39e3f07cac3fdf58ca430">itpp::Gamma_RNG</a> 70 , <a class="el" href="classRV.html# 65e5b820e482caff7f284d11898ef64f">RV</a>70 , <a class="el" href="classRV.html#248dfb2387976db2658489347669278c">RV</a> 71 71 <li>operator*=() 72 72 : <a class="el" href="classldmat.html#875b7e6dcf73ae7001329099019fdb1d">ldmat</a> … … 87 87 </ul> 88 88 </div> 89 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 89 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 90 90 <a href="http://www.doxygen.org/index.html"> 91 91 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x70.html ¶
r171 r180 65 65 : <a class="el" href="classPF.html#e99f0d866721405dd281e315ecb690aa">PF</a> 66 66 <li>pow() 67 : <a class="el" href="classegiw.html#036306322a90a9977834baac07460816">egiw</a> 68 , <a class="el" href="classeEF.html#4f8385dd1cc9740522dc373b1dc3cbf5">eEF</a> 67 : <a class="el" href="classeEF.html#4f8385dd1cc9740522dc373b1dc3cbf5">eEF</a> 68 , <a class="el" href="classegiw.html#036306322a90a9977834baac07460816">egiw</a> 69 <li>predictor() 70 : <a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">BM</a> 69 71 </ul> 70 72 </div> 71 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 73 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 72 74 <a href="http://www.doxygen.org/index.html"> 73 75 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x71.html ¶
r171 r180 69 69 </ul> 70 70 </div> 71 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 71 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 72 72 <a href="http://www.doxygen.org/index.html"> 73 73 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x72.html ¶
r171 r180 76 76 </ul> 77 77 </div> 78 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 78 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 79 79 <a href="http://www.doxygen.org/index.html"> 80 80 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x73.html ¶
r171 r180 63 63 <h3><a class="anchor" name="index_s">- s -</a></h3><ul> 64 64 <li>sample() 65 : <a class="el" href="classemix.html#0650601f24e633e0ab09aa1e46c14483">emix</a> 65 : <a class="el" href="classmerger.html#379198c3d2063bfa63f5d1245a2511ba">merger</a> 66 , <a class="el" href="classemix.html#0650601f24e633e0ab09aa1e46c14483">emix</a> 67 , <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf</a> 68 , <a class="el" href="classeDirich.html#23dff79110822e9639343fe8e177fd80">eDirich</a> 69 , <a class="el" href="classegamma.html#8e10c0021b5dfdd9cb62c6959b5ef425">egamma</a> 70 , <a class="el" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5">enorm< sq_T ></a> 71 , <a class="el" href="classeuni.html#4a0e09392be17beaee120ba98fc038cd">euni</a> 72 , <a class="el" href="classeEmp.html#83f9283f92b805508d896479dc1ccf12">eEmp</a> 66 73 , <a class="el" href="classeprod.html#94a5b7c44056cf7f4e688d53ba6295b4">eprod</a> 67 , <a class="el" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5">enorm< sq_T ></a>68 , <a class="el" href="classegamma.html#8e10c0021b5dfdd9cb62c6959b5ef425">egamma</a>69 , <a class="el" href="classeuni.html#4a0e09392be17beaee120ba98fc038cd">euni</a>70 74 , <a class="el" href="classenorm.html#60f0f3bfa53d6e65843eea9532b16d36">enorm< sq_T ></a> 71 , <a class="el" href="classeEmp.html#83f9283f92b805508d896479dc1ccf12">eEmp</a>72 , <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf</a>73 75 , <a class="el" href="classegiw.html#3d2c1f2ba0f9966781f1e0ae695e8a6f">egiw</a> 74 , <a class="el" href="classeDirich.html#23dff79110822e9639343fe8e177fd80">eDirich</a>75 76 <li>samplecond() 76 : <a class="el" href="classmlnorm.html# 215fb88cc8b95d64cdefd6849abdd1e8">mlnorm< sq_T ></a>77 : <a class="el" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18">mlnorm< sq_T ></a> 77 78 , <a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">mprod</a> 78 79 , <a class="el" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b">mpdf</a> 79 , <a class="el" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18">mlnorm< sq_T ></a>80 80 <li>sampleN() 81 81 : <a class="el" href="classepdf.html#54d7dd53a641b618771cd9bee135181f">epdf</a> … … 92 92 <li>set_evalll() 93 93 : <a class="el" href="classBM.html#1ffa9f23669aabecc3760c06c6987522">BM</a> 94 <li>set_id() 95 : <a class="el" href="classRV.html#f58db96c9f5b8a538e26f154b1047c62">RV</a> 94 96 <li>set_mu() 95 97 : <a class="el" href="classenorm.html#d892a38f03be12e572ea57d9689cef6b">enorm< sq_T ></a> 96 98 <li>set_parameters() 97 : <a class="el" href="classEKFCh.html#0216bed270df59fe65d0d62d41f8257c">EKFCh</a> 99 : <a class="el" href="classIMpmsm.html#42818f3426d99fecb7e97be8ffe2e228">IMpmsm</a> 100 , <a class="el" href="classEKFfull.html#fc753106e0d4cf68e4f2160fd54458c0">EKFfull</a> 101 , <a class="el" href="classEKF.html#28d058ae4d24d992d2f055419a06ee66">EKF< sq_T ></a> 102 , <a class="el" href="classEKFCh.html#0216bed270df59fe65d0d62d41f8257c">EKFCh</a> 103 , <a class="el" href="classmgamma.html#a9d646cf758a70126dde7c48790b6e94">mgamma</a> 104 , <a class="el" href="classmerger.html#79420e251308df4502c834171d518ad9">merger</a> 98 105 , <a class="el" href="classemix.html#6ce82b24d7fe540ddbf44b472a005555">emix</a> 99 106 , <a class="el" href="classmmix.html#e7681490a5c5b2d0a43f4e5842e10a9d">mmix</a> 100 , <a class="el" href="classmgamma.html#a9d646cf758a70126dde7c48790b6e94">mgamma</a>101 107 , <a class="el" href="classenorm.html#1394a65caa6e00d42e00cc99b12227af">enorm< sq_T ></a> 108 , <a class="el" href="classeDirich.html#c842acb2e1cce5cc9000769ff06c086d">eDirich</a> 102 109 , <a class="el" href="classegamma.html#8e348b89be82b70471fe8c5630f61339">egamma</a> 103 110 , <a class="el" href="classeuni.html#4fd7c6a05100616ad16ece405cad7bf2">euni</a> 104 111 , <a class="el" href="classmlnorm.html#b6749030c5d5abcb3eb6898f74cea3c0">mlnorm< sq_T ></a> 105 112 , <a class="el" href="classmgamma__fix.html#ec6f846896749e27cb7be9fa48dd1cb1">mgamma_fix</a> 106 , <a class="el" href="classeEmp.html# 6606a656c1b28114f7384c25aaf80e8d">eEmp</a>113 , <a class="el" href="classeEmp.html#eab03bd3381aaea11ce34d5a26556353">eEmp</a> 107 114 , <a class="el" href="classlinfn.html#15eb81f2141984a61706b7ad5b411505">linfn</a> 108 , <a class="el" href="classEKF.html#28d058ae4d24d992d2f055419a06ee66">EKF< sq_T ></a>109 , <a class="el" href="classIMpmsm.html#42818f3426d99fecb7e97be8ffe2e228">IMpmsm</a>110 115 , <a class="el" href="classARX.html#bc8c36399e82b2fc504baed845ed2007">ARX</a> 111 116 , <a class="el" href="classKalman.html#239b28a0380946f5749b2f8d2807f93a">Kalman< sq_T ></a> 112 117 , <a class="el" href="classKalmanCh.html#92fb227287af05c9f0078d523c7c9793">KalmanCh</a> 113 , <a class="el" href="classEKFfull.html#fc753106e0d4cf68e4f2160fd54458c0">EKFfull</a> 118 <li>set_samples() 119 : <a class="el" href="classeEmp.html#e31bc9e6196173c3480b06a761a3e716">eEmp</a> 120 <li>set_size() 121 : <a class="el" href="classRV.html#70b24c39c5130b1e4753fa2eef495433">RV</a> 114 122 <li>set_statistics() 115 123 : <a class="el" href="classARX.html#26925d66dfc366815c497d67b62ee49c">ARX</a> 116 124 , <a class="el" href="classBMEF.html#30bb40eb1fd31869b2e62e79e1ecdcb4">BMEF</a> 125 <li>set_time() 126 : <a class="el" href="classRV.html#af668289c016d12ac2a9ddb85416006b">RV</a> 117 127 <li>setD() 118 : <a class="el" href="classldmat.html#7619922b4de18830ce5351c6b5667e60">ldmat</a> 128 : <a class="el" href="classfsqmat.html#922f8190c13987cbcdb33ec2bf5cf105">fsqmat</a> 129 , <a class="el" href="classchmat.html#a4fc7f9b0539b97c414442a22f3db6e8">chmat</a> 130 , <a class="el" href="classldmat.html#0884a613b94fde61bfc84288e73ce57f">ldmat</a> 119 131 , <a class="el" href="classchmat.html#4b9271097d8317d9514c5d0d62cccb39">chmat</a> 120 , <a class="el" href="classfsqmat.html# 922f8190c13987cbcdb33ec2bf5cf105">fsqmat</a>121 , <a class="el" href="classldmat.html# 0884a613b94fde61bfc84288e73ce57f">ldmat</a>132 , <a class="el" href="classfsqmat.html#03a8f49eb4d38a054ecc522be59cd2ad">fsqmat</a> 133 , <a class="el" href="classldmat.html#7619922b4de18830ce5351c6b5667e60">ldmat</a> 122 134 <li>setL() 123 135 : <a class="el" href="classldmat.html#32ff66296627ff5341d7c0b973249614">ldmat</a> … … 129 141 : <a class="el" href="classsqmat.html#4268750c040c716b2c05037f725078a2">sqmat</a> 130 142 <li>sqrt_mult() 131 : <a class="el" href="classfsqmat.html#842a774077ee34ac3c36d180ab33e103">fsqmat</a> 143 : <a class="el" href="classsqmat.html#6b79438b5d7544a9c8e110a145355d8f">sqmat</a> 144 , <a class="el" href="classchmat.html#b22aa239dbaca33e3fb93b4f674d7051">chmat</a> 132 145 , <a class="el" href="classldmat.html#fc380626ced6f9244fb58c5f0231174d">ldmat</a> 133 , <a class="el" href="classsqmat.html#6b79438b5d7544a9c8e110a145355d8f">sqmat</a> 134 , <a class="el" href="classchmat.html#b22aa239dbaca33e3fb93b4f674d7051">chmat</a> 146 , <a class="el" href="classfsqmat.html#842a774077ee34ac3c36d180ab33e103">fsqmat</a> 135 147 <li>step() 136 : <a class="el" href="class DS.html#470ba89e8e7c3c4d830803221b4e9be6">DS</a>148 : <a class="el" href="classdirfilelog.html#f5fe9483a041591bfe6f3d6393b02aa7">dirfilelog</a> 137 149 , <a class="el" href="classMemDS.html#21916feb3e5ff960855c09b06a0d279b">MemDS</a> 138 , <a class="el" href="classdirfilelog.html#f5fe9483a041591bfe6f3d6393b02aa7">dirfilelog</a>139 150 , <a class="el" href="classlogger.html#709b3ebefa0da3ed371aa802b06512a2">logger</a> 140 151 , <a class="el" href="classmemlog.html#c97961eda9cda9f0e63c703cf21e5804">memlog</a> 152 , <a class="el" href="classDS.html#470ba89e8e7c3c4d830803221b4e9be6">DS</a> 141 153 <li>structure_est() 142 154 : <a class="el" href="classARX.html#130bb7336aac681ce14b027b8f1409fa">ARX</a> 143 155 <li>subselect() 144 : <a class="el" href="classRV.html# 0a9ea7bc6fad270cc54a455a9f8f387d">RV</a>156 : <a class="el" href="classRV.html#b26d25a122be3303806af7726a625a0f">RV</a> 145 157 <li>subt() 146 : <a class="el" href="classRV.html# a85c47bd838ebbdcb6798d7843e87db2">RV</a>158 : <a class="el" href="classRV.html#b9d175c327c21488b1e2fb756a84e149">RV</a> 147 159 </ul> 148 160 </div> 149 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 161 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 150 162 <a href="http://www.doxygen.org/index.html"> 151 163 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x74.html ¶
r171 r180 79 79 </ul> 80 80 </div> 81 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 81 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 82 82 <a href="http://www.doxygen.org/index.html"> 83 83 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x75.html ¶
r171 r180 66 66 </ul> 67 67 </div> 68 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 68 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 69 69 <a href="http://www.doxygen.org/index.html"> 70 70 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x77.html ¶
r171 r180 69 69 </ul> 70 70 </div> 71 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 71 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 72 72 <a href="http://www.doxygen.org/index.html"> 73 73 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x78.html ¶
r171 r180 66 66 </ul> 67 67 </div> 68 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 68 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 69 69 <a href="http://www.doxygen.org/index.html"> 70 70 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_func_0x7e.html ¶
r171 r180 88 88 </ul> 89 89 </div> 90 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 90 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 91 91 <a href="http://www.doxygen.org/index.html"> 92 92 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_rela.html ¶
r171 r180 42 42 </ul> 43 43 </div> 44 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 44 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 45 45 <a href="http://www.doxygen.org/index.html"> 46 46 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/functions_vars.html ¶
r171 r180 91 91 : <a class="el" href="classegamma.html#cfc5f136467488a421ab22f886323790">egamma</a> 92 92 , <a class="el" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7">eDirich</a> 93 , <a class="el" href="classmerger.html#e68a72e2740007ae68545e378c7701ad">merger</a> 93 94 </ul> 94 95 <h3><a class="anchor" name="index_c">- c -</a></h3><ul> … … 98 99 : <a class="el" href="classchmat.html#95158bb150f5e7f939168abcd577fd9c">chmat</a> 99 100 <li>Coms 100 : <a class="el" href="classmmix.html#460632c7a0afd41b7840902181a7d85f">mmix</a> 101 , <a class="el" href="classemix.html#7155d827417b53fb6aa5cff1459e6eb4">emix</a> 101 : <a class="el" href="classemix.html#7155d827417b53fb6aa5cff1459e6eb4">emix</a> 102 102 , <a class="el" href="classMixEF.html#4c4a140ca4e6e71b00237b7bc754302e">MixEF</a> 103 <li>condpdf 104 : <a class="el" href="classmerger.html#1712341746811f2844de5499817abb46">merger</a> 103 , <a class="el" href="classmmix.html#460632c7a0afd41b7840902181a7d85f">mmix</a> 105 104 </ul> 106 105 <h3><a class="anchor" name="index_d">- d -</a></h3><ul> … … 192 191 <li>maxlen 193 192 : <a class="el" href="classmemlog.html#4195f322897ededdac66c404b848ced3">memlog</a> 193 <li>Mix 194 : <a class="el" href="classmerger.html#021d1522cea70db8545d708afd32ec2f">merger</a> 195 <li>mpdfs 196 : <a class="el" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d">compositepdf</a> 194 197 <li>mu 195 198 : <a class="el" href="classKalmanFull.html#fb5aec635e2720cc5ac31bc01c18a68a">KalmanFull</a> … … 201 204 , <a class="el" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149">MixEF</a> 202 205 , <a class="el" href="classeEmp.html#8c33034de0e35f03f8bb85d3d67438fd">eEmp</a> 206 , <a class="el" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f">compositepdf</a> 203 207 <li>names 204 208 : <a class="el" href="classRV.html#df5d0030b277a1db2f1fd5fb79152acb">RV</a> 205 209 , <a class="el" href="classlogger.html#39cb79e839ca8f8bb9dcbc8c5b9c7786">logger</a> 210 <li>Nc 211 : <a class="el" href="classmerger.html#6acf33e1c64aaaee20689725e8110f65">merger</a> 206 212 <li>nk 207 213 : <a class="el" href="classeuni.html#63105490e946e43372d6187ad1bafdda">euni</a> 208 214 <li>nPsi 209 215 : <a class="el" href="classegiw.html#c70d13d86e0d9f0acede3e1dc0368812">egiw</a> 216 <li>Ns 217 : <a class="el" href="classmerger.html#ce84de1824875b4262eefb640e8c6d69">merger</a> 210 218 <li>nu 211 : <a class="el" href="class ARX.html#a4182c281098b2d86b62518a7493d9be">ARX</a>212 , <a class="el" href="class egiw.html#4a2f130b91afe84f6d62fed289d5d453">egiw</a>219 : <a class="el" href="classegiw.html#4a2f130b91afe84f6d62fed289d5d453">egiw</a> 220 , <a class="el" href="classARX.html#a4182c281098b2d86b62518a7493d9be">ARX</a> 213 221 </ul> 214 222 <h3><a class="anchor" name="index_o">- o -</a></h3><ul> 215 223 <li>obs 216 224 : <a class="el" href="classPF.html#dd0a687a4515333d6809147335854e77">PF</a> 217 <li>overlaps218 : <a class="el" href="classmerger.html#11eb177ef6409926b2ba3b4630bceab1">merger</a>219 225 </ul> 220 226 <h3><a class="anchor" name="index_p">- p -</a></h3><ul> … … 247 253 <li>rvcinds 248 254 : <a class="el" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6">mprod</a> 249 <li>rvc inrv250 : <a class="el" href="class mprod.html#1725c7b497a27ab3c4889b846666b516">mprod</a>255 <li>rvcsinrv 256 : <a class="el" href="classcompositepdf.html#3df07bb5e3ed36a3119b145043296676">compositepdf</a> 251 257 <li>rvinds 252 : <a class="el" href="classmprod.html#c8f78fbcdb4e38ecd3197d2958082497">mprod</a> 253 , <a class="el" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3">eprod</a> 258 : <a class="el" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3">eprod</a> 259 <li>rvsinrv 260 : <a class="el" href="classcompositepdf.html#4d4a8269f9faefeca8cdc251a5a29a7f">compositepdf</a> 254 261 <li>rvu 255 262 : <a class="el" href="classKalman.html#44a16ffd5ac1e6e39bae34fea9e1e498">Kalman< sq_T ></a> … … 302 309 </ul> 303 310 </div> 304 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:482008 for mixpp by 311 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by 305 312 <a href="http://www.doxygen.org/index.html"> 306 313 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/globals.html ¶
r171 r180 52 52 </ul> 53 53 </div> 54 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:562008 for mixpp by 54 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:45 2008 for mixpp by 55 55 <a href="http://www.doxygen.org/index.html"> 56 56 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/globals_enum.html ¶
r171 r180 38 38 </ul> 39 39 </div> 40 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:562008 for mixpp by 40 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:45 2008 for mixpp by 41 41 <a href="http://www.doxygen.org/index.html"> 42 42 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/globals_func.html ¶
r171 r180 44 44 </ul> 45 45 </div> 46 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:562008 for mixpp by 46 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:45 2008 for mixpp by 47 47 <a href="http://www.doxygen.org/index.html"> 48 48 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/globals_vars.html ¶
r171 r180 42 42 </ul> 43 43 </div> 44 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:562008 for mixpp by 44 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:45 2008 for mixpp by 45 45 <a href="http://www.doxygen.org/index.html"> 46 46 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/graph_legend.html ¶
r171 r180 80 80 </ul> 81 81 </div> 82 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:562008 for mixpp by 82 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:45 2008 for mixpp by 83 83 <a href="http://www.doxygen.org/index.html"> 84 84 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/hierarchy.html ¶
r171 r180 115 115 <li><a class="el" href="classKFcondR.html">KFcondR</a> 116 116 </ul> 117 <li><a class="el" href="classcompositepdf.html">compositepdf</a> 118 <ul> 119 <li><a class="el" href="classmerger.html">merger</a> 120 <li><a class="el" href="classmprod.html">mprod</a> 121 </ul> 117 122 <li><a class="el" href="classDS.html">DS</a> 118 123 <ul> … … 135 140 <li><a class="el" href="classeprod.html">eprod</a> 136 141 <li><a class="el" href="classeuni.html">euni</a> 142 <li><a class="el" href="classmerger.html">merger</a> 137 143 </ul> 138 144 <li><a class="el" href="classfnc.html">fnc</a> … … 175 181 <li><a class="el" href="classmmix.html">mmix</a> 176 182 <li><a class="el" href="classmprod.html">mprod</a> 177 <ul>178 <li><a class="el" href="classmerger.html">merger</a>179 </ul>180 183 </ul> 181 184 <li><a class="el" href="classRootElement.html">RootElement</a> … … 190 193 </ul> 191 194 </div> 192 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 195 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by 193 196 <a href="http://www.doxygen.org/index.html"> 194 197 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/index.html ¶
r171 r180 44 44 </ul> 45 45 </div> 46 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:452008 for mixpp by 46 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 47 47 <a href="http://www.doxygen.org/index.html"> 48 48 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/inherit__graph__10.map ¶
r171 r180 1 <area shape="rect" href="$classR ootElement.html" title="This class serves to load and/or save DOMElements into/from files stored on a hard-disk..." alt="" coords="7,5,108,32">1 <area shape="rect" href="$classRV.html" title="Class representing variables, most often random variables." alt="" coords="7,5,44,32"> -
TabularUnified doc/html/inherit__graph__10.md5 ¶
r171 r180 1 cedfddaa2f3cbe0dceadd003ab3993a8 1 ed533ad24bdcc81be8df35b79001d1d2 -
TabularUnified doc/html/inherit__graph__11.map ¶
r171 r180 1 <area shape="rect" href="$classRV.html" title="Class representing variables, most often random variables." alt="" coords="7,5,44,32"> 1 <area shape="rect" href="$classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form..." alt="" coords="7,56,68,83"> 2 <area shape="rect" href="$classchmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky." alt="" coords="120,5,181,32"> 3 <area shape="rect" href="$classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix." alt="" coords="117,56,184,83"> 4 <area shape="rect" href="$classldmat.html" title="Matrix stored in LD form, (typically known as UD)." alt="" coords="121,107,180,133"> -
TabularUnified doc/html/inherit__graph__11.md5 ¶
r171 r180 1 ed533ad24bdcc81be8df35b79001d1d2 1 c27e963ef008944448151a95bb06381d -
TabularUnified doc/html/inherit__graph__12.map ¶
r171 r180 1 <area shape="rect" href="$classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form..." alt="" coords="7,56,68,83"> 2 <area shape="rect" href="$classchmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky." alt="" coords="120,5,181,32"> 3 <area shape="rect" href="$classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix." alt="" coords="117,56,184,83"> 4 <area shape="rect" href="$classldmat.html" title="Matrix stored in LD form, (typically known as UD)." alt="" coords="121,107,180,133"> 1 <area shape="rect" href="$classstr.html" title="Structure of RV (used internally)." alt="" coords="7,5,44,32"> -
TabularUnified doc/html/inherit__graph__12.md5 ¶
r171 r180 1 c 27e963ef008944448151a95bb06381d1 c43c01f84d4160095eb375e98d833c97 -
TabularUnified doc/html/inherit__graph__4.map ¶
r171 r180 1 <area shape="rect" href="$classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="7,259,55,285"> 2 <area shape="rect" href="$classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="112,157,155,184"> 3 <area shape="rect" href="$classeEmp.html" title="Weighted empirical density." alt="" coords="104,208,163,235"> 4 <area shape="rect" href="$classemix.html" title="Mixture of epdfs." alt="" coords="108,259,159,285"> 5 <area shape="rect" href="$classeprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod." alt="" coords="104,309,163,336"> 6 <area shape="rect" href="$classeuni.html" title="Uniform distributed density on a rectangular support." alt="" coords="109,360,157,387"> 7 <area shape="rect" href="$classeDirich.html" title="Dirichlet posterior density." alt="" coords="248,5,312,32"> 8 <area shape="rect" href="$classegamma.html" title="Gamma posterior density." alt="" coords="240,56,320,83"> 9 <area shape="rect" href="$classegiw.html" title="Gauss-inverse-Wishart density stored in LD form." alt="" coords="256,107,304,133"> 10 <area shape="rect" href="$classenorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="219,157,341,184"> 11 <area shape="rect" href="$classenorm.html" title="enorm\< chmat \>" alt="" coords="213,208,347,235"> 12 <area shape="rect" href="$classenorm.html" title="enorm\< fsqmat \>" alt="" coords="211,259,349,285"> 13 <area shape="rect" href="$classenorm.html" title="enorm\< ldmat \>" alt="" coords="215,309,345,336"> 1 <area shape="rect" href="$classfnc.html" title="Class representing function  of variable  represented by rv." alt="" coords="5,56,45,83"> 2 <area shape="rect" href="$classconstfn.html" title="class representing function , here rv is empty" alt="" coords="95,5,161,32"> 3 <area shape="rect" href="$classdiffbifn.html" title="Class representing a differentiable function of two variables ." alt="" coords="96,56,160,83"> 4 <area shape="rect" href="$classlinfn.html" title="Class representing function ." alt="" coords="104,107,152,133"> 5 <area shape="rect" href="$classbilinfn.html" title="Class representing function ." alt="" coords="224,5,283,32"> 6 <area shape="rect" href="$classIMpmsm.html" title="State evolution model for a PMSM drive and its derivative with respect to $." alt="" coords="216,56,291,83"> 7 <area shape="rect" href="$classOMpmsm.html" title="Observation model for PMSM drive and its derivative with respect to ." alt="" coords="212,107,295,133"> 8 <area shape="rect" href="$classIMpmsmStat.html" title="State evolution model for a PMSM drive and its derivative with respect to , equation..." alt="" coords="344,56,448,83"> -
TabularUnified doc/html/inherit__graph__4.md5 ¶
r171 r180 1 1a19fc85ac4142aa016801054bb90d3d 1 e444d990850db412317a9c0e33514d49 -
TabularUnified doc/html/inherit__graph__5.map ¶
r162 r180 1 <area shape="rect" href="$classfnc.html" title="Class representing function  of variable  represented by rv." alt="" coords="5,56,45,83"> 2 <area shape="rect" href="$classconstfn.html" title="class representing function , here rv is empty" alt="" coords="95,5,161,32"> 3 <area shape="rect" href="$classdiffbifn.html" title="Class representing a differentiable function of two variables ." alt="" coords="96,56,160,83"> 4 <area shape="rect" href="$classlinfn.html" title="Class representing function ." alt="" coords="104,107,152,133"> 5 <area shape="rect" href="$classbilinfn.html" title="Class representing function ." alt="" coords="224,5,283,32"> 6 <area shape="rect" href="$classIMpmsm.html" title="State evolution model for a PMSM drive and its derivative with respect to $." alt="" coords="216,56,291,83"> 7 <area shape="rect" href="$classOMpmsm.html" title="Observation model for PMSM drive and its derivative with respect to ." alt="" coords="212,107,295,133"> 8 <area shape="rect" href="$classIMpmsmStat.html" title="State evolution model for a PMSM drive and its derivative with respect to , equation..." alt="" coords="344,56,448,83"> 1 <area shape="rect" href="$classitpp_1_1Gamma__RNG.html" title="Gamma distribution." alt="" coords="7,5,145,32"> -
TabularUnified doc/html/inherit__graph__5.md5 ¶
r162 r180 1 e444d990850db412317a9c0e33514d49 1 02a2715b2ed1df5ea708815b8edb77bb -
TabularUnified doc/html/inherit__graph__6.map ¶
r162 r180 1 <area shape="rect" href="$classitpp_1_1Gamma__RNG.html" title="Gamma distribution." alt="" coords="7,5,145,32"> 1 <area shape="rect" href="$classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="31,259,71,285"> 2 <area shape="rect" href="$classBMEF.html" title="Estimator for Exponential family." alt="" coords="188,157,244,184"> 3 <area shape="rect" href="$classEKFfixed.html" title="Extended Kalman Filter with full matrices in fixed point arithmetic." alt="" coords="355,259,429,285"> 4 <area shape="rect" href="$classEKFfull.html" title="Extended Kalman Filter in full matrices." alt="" coords="185,512,247,539"> 5 <area shape="rect" href="$classKalman.html" title="Kalman filter with covariance matrices in square root form." alt="" coords="152,461,280,488"> 6 <area shape="rect" href="$classKalman.html" title="Kalman\< chmat \>" alt="" coords="147,19,285,45"> 7 <area shape="rect" href="$classKalman.html" title="Kalman\< fsqmat \>" alt="" coords="144,95,288,121"> 8 <area shape="rect" href="$classKalman.html" title="Kalman\< ldmat \>" alt="" coords="148,360,284,387"> 9 <area shape="rect" href="$classMixEF.html" title="Mixture of Exponential Family Densities." alt="" coords="188,411,244,437"> 10 <area shape="rect" href="$classPF.html" title="Trivial particle filter with proposal density equal to parameter evolution model..." alt="" coords="197,208,235,235"> 11 <area shape="rect" href="$classARX.html" title="Linear Autoregressive model with Gaussian noise." alt="" coords="369,107,415,133"> 12 <area shape="rect" href="$classmultiBM.html" title="Estimator for Multinomial density." alt="" coords="356,157,428,184"> 13 <area shape="rect" href="$classEKFful__unQR.html" title="Extended Kalman filter with unknown Q and R." alt="" coords="343,487,441,513"> 14 <area shape="rect" href="$classKalmanCh.html" title="Kalman filter in square root form." alt="" coords="349,5,435,32"> 15 <area shape="rect" href="$classEKFCh.html" title="Extended Kalman Filter in Square root." alt="" coords="496,132,557,159"> 16 <area shape="rect" href="$classEKF__unQ.html" title="Extended Kalman filter with unknown Q." alt="" coords="605,221,683,248"> 17 <area shape="rect" href="$classEKF.html" title="Extended Kalman Filter." alt="" coords="340,56,444,83"> 18 <area shape="rect" href="$classKFcondQR.html" title="Kalman Filter with conditional diagonal matrices R and Q." alt="" coords="349,360,435,387"> 19 <area shape="rect" href="$classKFcondR.html" title="Kalman Filter with conditional diagonal matrices R and Q." alt="" coords="355,411,429,437"> 20 <area shape="rect" href="$classMPF.html" title="Marginalized Particle filter." alt="" coords="336,208,448,235"> 21 <area shape="rect" href="$classBMcond.html" title="Conditional Bayesian Filter." alt="" coords="180,309,252,336"> 22 <area shape="rect" href="$classKalmanFull.html" title="Basic Kalman filter with full matrices (education purpose only)! Will be deleted..." alt="" coords="7,512,95,539"> -
TabularUnified doc/html/inherit__graph__6.md5 ¶
r162 r180 1 02a2715b2ed1df5ea708815b8edb77bb 1 13281417a0d60da182e17d3a2847fd44 -
TabularUnified doc/html/inherit__graph__7.map ¶
r171 r180 1 <area shape="rect" href="$classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="31,259,71,285"> 2 <area shape="rect" href="$classBMEF.html" title="Estimator for Exponential family." alt="" coords="188,157,244,184"> 3 <area shape="rect" href="$classEKFfixed.html" title="Extended Kalman Filter with full matrices in fixed point arithmetic." alt="" coords="355,259,429,285"> 4 <area shape="rect" href="$classEKFfull.html" title="Extended Kalman Filter in full matrices." alt="" coords="185,512,247,539"> 5 <area shape="rect" href="$classKalman.html" title="Kalman filter with covariance matrices in square root form." alt="" coords="152,461,280,488"> 6 <area shape="rect" href="$classKalman.html" title="Kalman\< chmat \>" alt="" coords="147,19,285,45"> 7 <area shape="rect" href="$classKalman.html" title="Kalman\< fsqmat \>" alt="" coords="144,95,288,121"> 8 <area shape="rect" href="$classKalman.html" title="Kalman\< ldmat \>" alt="" coords="148,360,284,387"> 9 <area shape="rect" href="$classMixEF.html" title="Mixture of Exponential Family Densities." alt="" coords="188,411,244,437"> 10 <area shape="rect" href="$classPF.html" title="Trivial particle filter with proposal density equal to parameter evolution model..." alt="" coords="197,208,235,235"> 11 <area shape="rect" href="$classARX.html" title="Linear Autoregressive model with Gaussian noise." alt="" coords="369,107,415,133"> 12 <area shape="rect" href="$classmultiBM.html" title="Estimator for Multinomial density." alt="" coords="356,157,428,184"> 13 <area shape="rect" href="$classEKFful__unQR.html" title="Extended Kalman filter with unknown Q and R." alt="" coords="343,487,441,513"> 14 <area shape="rect" href="$classKalmanCh.html" title="Kalman filter in square root form." alt="" coords="349,5,435,32"> 15 <area shape="rect" href="$classEKFCh.html" title="Extended Kalman Filter in Square root." alt="" coords="496,132,557,159"> 16 <area shape="rect" href="$classEKF__unQ.html" title="Extended Kalman filter with unknown Q." alt="" coords="605,221,683,248"> 17 <area shape="rect" href="$classEKF.html" title="Extended Kalman Filter." alt="" coords="340,56,444,83"> 18 <area shape="rect" href="$classKFcondQR.html" title="Kalman Filter with conditional diagonal matrices R and Q." alt="" coords="349,360,435,387"> 19 <area shape="rect" href="$classKFcondR.html" title="Kalman Filter with conditional diagonal matrices R and Q." alt="" coords="355,411,429,437"> 20 <area shape="rect" href="$classMPF.html" title="Marginalized Particle filter." alt="" coords="336,208,448,235"> 21 <area shape="rect" href="$classBMcond.html" title="Conditional Bayesian Filter." alt="" coords="180,309,252,336"> 22 <area shape="rect" href="$classKalmanFull.html" title="Basic Kalman filter with full matrices (education purpose only)! Will be deleted..." alt="" coords="7,512,95,539"> 1 <area shape="rect" href="$classlogger.html" title="Class for storing results (and semi-results) of an experiment." alt="" coords="5,5,67,32"> 2 <area shape="rect" href="$classmemlog.html" title="Logging into matrices in data format in memory." alt="" coords="115,5,189,32"> 3 <area shape="rect" href="$classdirfilelog.html" title="Logging into dirfile with buffer in memory." alt="" coords="237,5,312,32"> -
TabularUnified doc/html/inherit__graph__7.md5 ¶
r171 r180 1 13281417a0d60da182e17d3a2847fd44 1 750df8d1111011016524c9291f21d8c6 -
TabularUnified doc/html/inherit__graph__8.map ¶
r162 r180 1 <area shape="rect" href="$classlogger.html" title="Class for storing results (and semi-results) of an experiment." alt="" coords="5,5,67,32"> 2 <area shape="rect" href="$classmemlog.html" title="Logging into matrices in data format in memory." alt="" coords="115,5,189,32"> 3 <area shape="rect" href="$classdirfilelog.html" title="Logging into dirfile with buffer in memory." alt="" coords="237,5,312,32"> 1 <area shape="rect" href="$classcompositepdf.html" title="Abstract composition of pdfs, a base for specific classes." alt="" coords="7,284,113,311"> 2 <area shape="rect" href="$classmerger.html" title="Function for general combination of pdfs." alt="" coords="164,259,231,285"> 3 <area shape="rect" href="$classmprod.html" title="Chain rule decomposition of epdf." alt="" coords="165,309,229,336"> 4 <area shape="rect" href="$classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="36,132,84,159"> 5 <area shape="rect" href="$classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="176,208,219,235"> 6 <area shape="rect" href="$classeEmp.html" title="Weighted empirical density." alt="" coords="168,5,227,32"> 7 <area shape="rect" href="$classemix.html" title="Mixture of epdfs." alt="" coords="172,56,223,83"> 8 <area shape="rect" href="$classeprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod." alt="" coords="168,107,227,133"> 9 <area shape="rect" href="$classeuni.html" title="Uniform distributed density on a rectangular support." alt="" coords="173,157,221,184"> 10 <area shape="rect" href="$classeDirich.html" title="Dirichlet posterior density." alt="" coords="317,157,381,184"> 11 <area shape="rect" href="$classegamma.html" title="Gamma posterior density." alt="" coords="309,208,389,235"> 12 <area shape="rect" href="$classegiw.html" title="Gauss-inverse-Wishart density stored in LD form." alt="" coords="325,259,373,285"> 13 <area shape="rect" href="$classenorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="288,309,411,336"> 14 <area shape="rect" href="$classenorm.html" title="enorm\< chmat \>" alt="" coords="283,360,416,387"> 15 <area shape="rect" href="$classenorm.html" title="enorm\< fsqmat \>" alt="" coords="280,56,419,83"> 16 <area shape="rect" href="$classenorm.html" title="enorm\< ldmat \>" alt="" coords="284,107,415,133"> 17 <area shape="rect" href="$classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="33,385,87,412"> 18 <area shape="rect" href="$classmEF.html" title="Exponential family model." alt="" coords="173,411,221,437"> 19 <area shape="rect" href="$classmepdf.html" title="Unconditional mpdf, allows using epdf in the role of mpdf." alt="" coords="167,461,228,488"> 20 <area shape="rect" href="$classmmix.html" title="Mixture of mpdfs with constant weights, all mpdfs are of equal type." alt="" coords="169,360,225,387"> 21 <area shape="rect" href="$classmgamma.html" title="Gamma random walk." alt="" coords="308,461,391,488"> 22 <area shape="rect" href="$classmlnorm.html" title="Normal distributed linear function with linear function of mean value;." alt="" coords="284,411,415,437"> 23 <area shape="rect" href="$classmgamma__fix.html" title="Gamma random walk around a fixed point." alt="" coords="468,461,572,488"> -
TabularUnified doc/html/inherit__graph__8.md5 ¶
r162 r180 1 750df8d1111011016524c9291f21d8c6 1 9cbf32779829b78f8f85b84530de828f -
TabularUnified doc/html/inherit__graph__9.map ¶
r171 r180 1 <area shape="rect" href="$classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="7,107,60,133"> 2 <area shape="rect" href="$classmEF.html" title="Exponential family model." alt="" coords="117,31,165,57"> 3 <area shape="rect" href="$classmepdf.html" title="Unconditional mpdf, allows using epdf in the role of mpdf." alt="" coords="111,81,172,108"> 4 <area shape="rect" href="$classmmix.html" title="Mixture of mpdfs with constant weights, all mpdfs are of equal type." alt="" coords="113,132,169,159"> 5 <area shape="rect" href="$classmprod.html" title="Chain rule decomposition of epdf." alt="" coords="109,183,173,209"> 6 <area shape="rect" href="$classmgamma.html" title="Gamma random walk." alt="" coords="245,5,328,32"> 7 <area shape="rect" href="$classmlnorm.html" title="Normal distributed linear function with linear function of mean value;." alt="" coords="221,56,352,83"> 8 <area shape="rect" href="$classmgamma__fix.html" title="Gamma random walk around a fixed point." alt="" coords="401,5,505,32"> 9 <area shape="rect" href="$classmerger.html" title="Function for general combination of pdfs." alt="" coords="253,183,320,209"> 1 <area shape="rect" href="$classRootElement.html" title="This class serves to load and/or save DOMElements into/from files stored on a hard-disk..." alt="" coords="7,5,108,32"> -
TabularUnified doc/html/inherit__graph__9.md5 ¶
r171 r180 1 9e029ac4590832bd53bb1ca4b37fc9ed 1 cedfddaa2f3cbe0dceadd003ab3993a8 -
TabularUnified doc/html/inherits.html ¶
r171 r180 39 39 <map name="DS_map"> 40 40 <area shape="rect" href="classDS.html" title="Abstract class for discrete-time sources of data." alt="" coords="5,5,45,32"><area shape="rect" href="classMemDS.html" title="Class representing off-line data stored in memory." alt="" coords="93,5,165,32"></map></td></tr> 41 <tr><td><img src="inherit__graph__4.png" border="0" alt="" usemap="#epdf_map"> 42 <map name="epdf_map"> 43 <area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="7,259,55,285"><area shape="rect" href="classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="112,157,155,184"><area shape="rect" href="classeEmp.html" title="Weighted empirical density." alt="" coords="104,208,163,235"><area shape="rect" href="classemix.html" title="Mixture of epdfs." alt="" coords="108,259,159,285"><area shape="rect" href="classeprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod." alt="" coords="104,309,163,336"><area shape="rect" href="classeuni.html" title="Uniform distributed density on a rectangular support." alt="" coords="109,360,157,387"><area shape="rect" href="classeDirich.html" title="Dirichlet posterior density." alt="" coords="248,5,312,32"><area shape="rect" href="classegamma.html" title="Gamma posterior density." alt="" coords="240,56,320,83"><area shape="rect" href="classegiw.html" title="Gauss-inverse-Wishart density stored in LD form." alt="" coords="256,107,304,133"><area shape="rect" href="classenorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="219,157,341,184"><area shape="rect" href="classenorm.html" title="enorm\< chmat \>" alt="" coords="213,208,347,235"><area shape="rect" href="classenorm.html" title="enorm\< fsqmat \>" alt="" coords="211,259,349,285"><area shape="rect" href="classenorm.html" title="enorm\< ldmat \>" alt="" coords="215,309,345,336"></map></td></tr> 44 <tr><td><img src="inherit__graph__5.png" border="0" alt="" usemap="#fnc_map"> 41 <tr><td><img src="inherit__graph__4.png" border="0" alt="" usemap="#fnc_map"> 45 42 <map name="fnc_map"> 46 43 <area shape="rect" href="classfnc.html" title="Class representing function  of variable  represented by rv." alt="" coords="5,56,45,83"><area shape="rect" href="classconstfn.html" title="class representing function , here rv is empty" alt="" coords="95,5,161,32"><area shape="rect" href="classdiffbifn.html" title="Class representing a differentiable function of two variables ." alt="" coords="96,56,160,83"><area shape="rect" href="classlinfn.html" title="Class representing function ." alt="" coords="104,107,152,133"><area shape="rect" href="classbilinfn.html" title="Class representing function ." alt="" coords="224,5,283,32"><area shape="rect" href="classIMpmsm.html" title="State evolution model for a PMSM drive and its derivative with respect to $." alt="" coords="216,56,291,83"><area shape="rect" href="classOMpmsm.html" title="Observation model for PMSM drive and its derivative with respect to ." alt="" coords="212,107,295,133"><area shape="rect" href="classIMpmsmStat.html" title="State evolution model for a PMSM drive and its derivative with respect to , equation..." alt="" coords="344,56,448,83"></map></td></tr> 47 <tr><td><img src="inherit__graph__ 6.png" border="0" alt="" usemap="#itpp_1_1Gamma__RNG_map">44 <tr><td><img src="inherit__graph__5.png" border="0" alt="" usemap="#itpp_1_1Gamma__RNG_map"> 48 45 <map name="itpp_1_1Gamma__RNG_map"> 49 46 <area shape="rect" href="classitpp_1_1Gamma__RNG.html" title="Gamma distribution." alt="" coords="7,5,145,32"></map></td></tr> 50 <tr><td><img src="inherit__graph__ 7.png" border="0" alt="" usemap="#KalmanFull_map">47 <tr><td><img src="inherit__graph__6.png" border="0" alt="" usemap="#KalmanFull_map"> 51 48 <map name="KalmanFull_map"> 52 49 <area shape="rect" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="31,259,71,285"><area shape="rect" href="classBMEF.html" title="Estimator for Exponential family." alt="" coords="188,157,244,184"><area shape="rect" href="classEKFfixed.html" title="Extended Kalman Filter with full matrices in fixed point arithmetic." alt="" coords="355,259,429,285"><area shape="rect" href="classEKFfull.html" title="Extended Kalman Filter in full matrices." alt="" coords="185,512,247,539"><area shape="rect" href="classKalman.html" title="Kalman filter with covariance matrices in square root form." alt="" coords="152,461,280,488"><area shape="rect" href="classKalman.html" title="Kalman\< chmat \>" alt="" coords="147,19,285,45"><area shape="rect" href="classKalman.html" title="Kalman\< fsqmat \>" alt="" coords="144,95,288,121"><area shape="rect" href="classKalman.html" title="Kalman\< ldmat \>" alt="" coords="148,360,284,387"><area shape="rect" href="classMixEF.html" title="Mixture of Exponential Family Densities." alt="" coords="188,411,244,437"><area shape="rect" href="classPF.html" title="Trivial particle filter with proposal density equal to parameter evolution model..." alt="" coords="197,208,235,235"><area shape="rect" href="classARX.html" title="Linear Autoregressive model with Gaussian noise." alt="" coords="369,107,415,133"><area shape="rect" href="classmultiBM.html" title="Estimator for Multinomial density." alt="" coords="356,157,428,184"><area shape="rect" href="classEKFful__unQR.html" title="Extended Kalman filter with unknown Q and R." alt="" coords="343,487,441,513"><area shape="rect" href="classKalmanCh.html" title="Kalman filter in square root form." alt="" coords="349,5,435,32"><area shape="rect" href="classEKFCh.html" title="Extended Kalman Filter in Square root." alt="" coords="496,132,557,159"><area shape="rect" href="classEKF__unQ.html" title="Extended Kalman filter with unknown Q." alt="" coords="605,221,683,248"><area shape="rect" href="classEKF.html" title="Extended Kalman Filter." alt="" coords="340,56,444,83"><area shape="rect" href="classKFcondQR.html" title="Kalman Filter with conditional diagonal matrices R and Q." alt="" coords="349,360,435,387"><area shape="rect" href="classKFcondR.html" title="Kalman Filter with conditional diagonal matrices R and Q." alt="" coords="355,411,429,437"><area shape="rect" href="classMPF.html" title="Marginalized Particle filter." alt="" coords="336,208,448,235"><area shape="rect" href="classBMcond.html" title="Conditional Bayesian Filter." alt="" coords="180,309,252,336"><area shape="rect" href="classKalmanFull.html" title="Basic Kalman filter with full matrices (education purpose only)! Will be deleted..." alt="" coords="7,512,95,539"></map></td></tr> 53 <tr><td><img src="inherit__graph__ 8.png" border="0" alt="" usemap="#logger_map">50 <tr><td><img src="inherit__graph__7.png" border="0" alt="" usemap="#logger_map"> 54 51 <map name="logger_map"> 55 52 <area shape="rect" href="classlogger.html" title="Class for storing results (and semi-results) of an experiment." alt="" coords="5,5,67,32"><area shape="rect" href="classmemlog.html" title="Logging into matrices in data format in memory." alt="" coords="115,5,189,32"><area shape="rect" href="classdirfilelog.html" title="Logging into dirfile with buffer in memory." alt="" coords="237,5,312,32"></map></td></tr> 56 <tr><td><img src="inherit__graph__ 9.png" border="0" alt="" usemap="#mpdf_map">53 <tr><td><img src="inherit__graph__8.png" border="0" alt="" usemap="#mpdf_map"> 57 54 <map name="mpdf_map"> 58 <area shape="rect" href="class mpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="7,107,60,133"><area shape="rect" href="classmEF.html" title="Exponential family model." alt="" coords="117,31,165,57"><area shape="rect" href="classmepdf.html" title="Unconditional mpdf, allows using epdf in the role of mpdf." alt="" coords="111,81,172,108"><area shape="rect" href="classmmix.html" title="Mixture of mpdfs with constant weights, all mpdfs are of equal type." alt="" coords="113,132,169,159"><area shape="rect" href="classmprod.html" title="Chain rule decomposition of epdf." alt="" coords="109,183,173,209"><area shape="rect" href="classmgamma.html" title="Gamma random walk." alt="" coords="245,5,328,32"><area shape="rect" href="classmlnorm.html" title="Normal distributed linear function with linear function of mean value;." alt="" coords="221,56,352,83"><area shape="rect" href="classmgamma__fix.html" title="Gamma random walk around a fixed point." alt="" coords="401,5,505,32"><area shape="rect" href="classmerger.html" title="Function for general combination of pdfs." alt="" coords="253,183,320,209"></map></td></tr>59 <tr><td><img src="inherit__graph__ 10.png" border="0" alt="" usemap="#RootElement_map">55 <area shape="rect" href="classcompositepdf.html" title="Abstract composition of pdfs, a base for specific classes." alt="" coords="7,284,113,311"><area shape="rect" href="classmerger.html" title="Function for general combination of pdfs." alt="" coords="164,259,231,285"><area shape="rect" href="classmprod.html" title="Chain rule decomposition of epdf." alt="" coords="165,309,229,336"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="36,132,84,159"><area shape="rect" href="classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="176,208,219,235"><area shape="rect" href="classeEmp.html" title="Weighted empirical density." alt="" coords="168,5,227,32"><area shape="rect" href="classemix.html" title="Mixture of epdfs." alt="" coords="172,56,223,83"><area shape="rect" href="classeprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod." alt="" coords="168,107,227,133"><area shape="rect" href="classeuni.html" title="Uniform distributed density on a rectangular support." alt="" coords="173,157,221,184"><area shape="rect" href="classeDirich.html" title="Dirichlet posterior density." alt="" coords="317,157,381,184"><area shape="rect" href="classegamma.html" title="Gamma posterior density." alt="" coords="309,208,389,235"><area shape="rect" href="classegiw.html" title="Gauss-inverse-Wishart density stored in LD form." alt="" coords="325,259,373,285"><area shape="rect" href="classenorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="288,309,411,336"><area shape="rect" href="classenorm.html" title="enorm\< chmat \>" alt="" coords="283,360,416,387"><area shape="rect" href="classenorm.html" title="enorm\< fsqmat \>" alt="" coords="280,56,419,83"><area shape="rect" href="classenorm.html" title="enorm\< ldmat \>" alt="" coords="284,107,415,133"><area shape="rect" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="33,385,87,412"><area shape="rect" href="classmEF.html" title="Exponential family model." alt="" coords="173,411,221,437"><area shape="rect" href="classmepdf.html" title="Unconditional mpdf, allows using epdf in the role of mpdf." alt="" coords="167,461,228,488"><area shape="rect" href="classmmix.html" title="Mixture of mpdfs with constant weights, all mpdfs are of equal type." alt="" coords="169,360,225,387"><area shape="rect" href="classmgamma.html" title="Gamma random walk." alt="" coords="308,461,391,488"><area shape="rect" href="classmlnorm.html" title="Normal distributed linear function with linear function of mean value;." alt="" coords="284,411,415,437"><area shape="rect" href="classmgamma__fix.html" title="Gamma random walk around a fixed point." alt="" coords="468,461,572,488"></map></td></tr> 56 <tr><td><img src="inherit__graph__9.png" border="0" alt="" usemap="#RootElement_map"> 60 57 <map name="RootElement_map"> 61 58 <area shape="rect" href="classRootElement.html" title="This class serves to load and/or save DOMElements into/from files stored on a hard-disk..." alt="" coords="7,5,108,32"></map></td></tr> 62 <tr><td><img src="inherit__graph__1 1.png" border="0" alt="" usemap="#RV_map">59 <tr><td><img src="inherit__graph__10.png" border="0" alt="" usemap="#RV_map"> 63 60 <map name="RV_map"> 64 61 <area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="7,5,44,32"></map></td></tr> 65 <tr><td><img src="inherit__graph__1 2.png" border="0" alt="" usemap="#sqmat_map">62 <tr><td><img src="inherit__graph__11.png" border="0" alt="" usemap="#sqmat_map"> 66 63 <map name="sqmat_map"> 67 64 <area shape="rect" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form..." alt="" coords="7,56,68,83"><area shape="rect" href="classchmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky." alt="" coords="120,5,181,32"><area shape="rect" href="classfsqmat.html" title="Fake sqmat. This class maps sqmat operations to operations on full matrix." alt="" coords="117,56,184,83"><area shape="rect" href="classldmat.html" title="Matrix stored in LD form, (typically known as UD)." alt="" coords="121,107,180,133"></map></td></tr> 68 <tr><td><img src="inherit__graph__1 3.png" border="0" alt="" usemap="#str_map">65 <tr><td><img src="inherit__graph__12.png" border="0" alt="" usemap="#str_map"> 69 66 <map name="str_map"> 70 67 <area shape="rect" href="classstr.html" title="Structure of RV (used internally)." alt="" coords="7,5,44,32"></map></td></tr> 71 68 </table> 72 69 </div> 73 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:562008 for mixpp by 70 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by 74 71 <a href="http://www.doxygen.org/index.html"> 75 72 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/itpp__ext_8h-source.html ¶
r171 r180 46 46 <a name="l00030"></a>00030 <span class="keywordtype">void</span> set_subvector ( vec &ov, <span class="keyword">const</span> ivec &iv, <span class="keyword">const</span> vec &v ); 47 47 <a name="l00031"></a>00031 48 <a name="l0003 6"></a><a class="code" href="classitpp_1_1Gamma__RNG.html">00036</a> <span class="keyword">class </span><a class="code" href="classitpp_1_1Gamma__RNG.html" title="Gamma distribution.">Gamma_RNG</a> {49 <a name="l0003 7"></a>00037 <span class="keyword">public</span>:50 <a name="l0003 9"></a>00039 <a class="code" href="classitpp_1_1Gamma__RNG.html#e132860f825f427d63652edd02c25b54" title="constructor. Set lambda.">Gamma_RNG</a> ( <span class="keywordtype">double</span> a=1.0, <span class="keywordtype">double</span> b=1.0 );51 <a name="l000 41"></a><a class="code" href="classitpp_1_1Gamma__RNG.html#dfaae19411e39aa87e1f72e409b6babe">00041</a> <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1Gamma__RNG.html#dfaae19411e39aa87e1f72e409b6babe" title="Set lambda.">setup</a> ( <span class="keywordtype">double</span> a0, <span class="keywordtype">double</span> b0 ) { alpha=a0; beta=b0;}52 <a name="l000 43"></a>00043 <span class="keywordtype">double</span> <a class="code" href="classitpp_1_1Gamma__RNG.html#8e666953249038f262cece2d3ed952d6" title="get lambda">get_setup</a>() <span class="keyword">const</span>;53 <a name="l000 45"></a><a class="code" href="classitpp_1_1Gamma__RNG.html#98e2e65456bca33fca602b2bd607235e">00045</a> <span class="keywordtype">double</span> <a class="code" href="classitpp_1_1Gamma__RNG.html#98e2e65456bca33fca602b2bd607235e" title="Get one sample.">operator() </a>() { <span class="keywordflow">return</span> sample(); }54 <a name="l0004 7"></a>00047 vec <a class="code" href="classitpp_1_1Gamma__RNG.html#98e2e65456bca33fca602b2bd607235e" title="Get one sample.">operator() </a>( <span class="keywordtype">int</span> n );55 <a name="l0004 9"></a>00049 mat <a class="code" href="classitpp_1_1Gamma__RNG.html#98e2e65456bca33fca602b2bd607235e" title="Get one sample.">operator() </a>( <span class="keywordtype">int</span> h, <span class="keywordtype">int</span> w );56 <a name="l000 50"></a>00050 <span class="keyword">protected</span>:57 <a name="l000 51"></a>00051 <span class="keyword">private</span>:58 <a name="l000 53"></a>00053 <span class="keywordtype">double</span> sample();59 <a name="l0005 5"></a>00055 <span class="keywordtype">double</span> alpha;60 <a name="l0005 7"></a>00057 <span class="keywordtype">double</span> beta;61 <a name="l0005 9"></a>00059 Random_Generator RNG;62 <a name="l000 60"></a>00060 Normal_RNG NRNG;63 <a name="l000 62"></a>00062 <span class="keyword">inline</span> <span class="keywordtype">double</span> exp_rand() {<span class="keywordflow">return</span> -std::log ( RNG.random_01() );}64 <a name="l000 63"></a>00063 <span class="keyword">inline</span> <span class="keywordtype">double</span> unif_rand() {<span class="keywordflow">return</span> RNG.random_01();}65 <a name="l0006 4"></a>00064 <span class="keyword">inline</span> <span class="keywordtype">double</span> norm_rand() {<span class="keywordflow">return</span> NRNG.sample();}66 <a name="l0006 5"></a>0006567 <a name="l0006 6"></a>00066 };68 <a name="l0006 7"></a>0006769 <a name="l00068"></a>00068 <span class="keywordtype">bool</span> qr ( <span class="keyword">const</span> mat &A, mat &R );70 <a name="l00069"></a>00069 71 <a name="l00070"></a>00070 }48 <a name="l00032"></a>00032 <span class="keyword">template</span><<span class="keyword">class</span> Num_T> <span class="keyword">inline</span> 49 <a name="l00033"></a>00033 <span class="keywordtype">void</span> set_col_part(mat &M, <span class="keywordtype">int</span> c, <span class="keyword">const</span> Vec<Num_T> &v) 50 <a name="l00034"></a>00034 { 51 <a name="l00035"></a>00035 copy_vector(v.size(), v._data(), M._data() + c*M.rows()); 52 <a name="l00036"></a>00036 } 53 <a name="l00037"></a>00037 54 <a name="l00042"></a><a class="code" href="classitpp_1_1Gamma__RNG.html">00042</a> <span class="keyword">class </span><a class="code" href="classitpp_1_1Gamma__RNG.html" title="Gamma distribution.">Gamma_RNG</a> { 55 <a name="l00043"></a>00043 <span class="keyword">public</span>: 56 <a name="l00045"></a>00045 <a class="code" href="classitpp_1_1Gamma__RNG.html#e132860f825f427d63652edd02c25b54" title="constructor. Set lambda.">Gamma_RNG</a> ( <span class="keywordtype">double</span> a=1.0, <span class="keywordtype">double</span> b=1.0 ); 57 <a name="l00047"></a><a class="code" href="classitpp_1_1Gamma__RNG.html#dfaae19411e39aa87e1f72e409b6babe">00047</a> <span class="keywordtype">void</span> <a class="code" href="classitpp_1_1Gamma__RNG.html#dfaae19411e39aa87e1f72e409b6babe" title="Set lambda.">setup</a> ( <span class="keywordtype">double</span> a0, <span class="keywordtype">double</span> b0 ) { alpha=a0; beta=b0;} 58 <a name="l00049"></a>00049 <span class="keywordtype">double</span> <a class="code" href="classitpp_1_1Gamma__RNG.html#8e666953249038f262cece2d3ed952d6" title="get lambda">get_setup</a>() <span class="keyword">const</span>; 59 <a name="l00051"></a><a class="code" href="classitpp_1_1Gamma__RNG.html#98e2e65456bca33fca602b2bd607235e">00051</a> <span class="keywordtype">double</span> <a class="code" href="classitpp_1_1Gamma__RNG.html#98e2e65456bca33fca602b2bd607235e" title="Get one sample.">operator() </a>() { <span class="keywordflow">return</span> sample(); } 60 <a name="l00053"></a>00053 vec <a class="code" href="classitpp_1_1Gamma__RNG.html#98e2e65456bca33fca602b2bd607235e" title="Get one sample.">operator() </a>( <span class="keywordtype">int</span> n ); 61 <a name="l00055"></a>00055 mat <a class="code" href="classitpp_1_1Gamma__RNG.html#98e2e65456bca33fca602b2bd607235e" title="Get one sample.">operator() </a>( <span class="keywordtype">int</span> h, <span class="keywordtype">int</span> w ); 62 <a name="l00056"></a>00056 <span class="keyword">protected</span>: 63 <a name="l00057"></a>00057 <span class="keyword">private</span>: 64 <a name="l00059"></a>00059 <span class="keywordtype">double</span> sample(); 65 <a name="l00061"></a>00061 <span class="keywordtype">double</span> alpha; 66 <a name="l00063"></a>00063 <span class="keywordtype">double</span> beta; 67 <a name="l00065"></a>00065 Random_Generator RNG; 68 <a name="l00066"></a>00066 Normal_RNG NRNG; 69 <a name="l00068"></a>00068 <span class="keyword">inline</span> <span class="keywordtype">double</span> exp_rand() {<span class="keywordflow">return</span> -std::log ( RNG.random_01() );} 70 <a name="l00069"></a>00069 <span class="keyword">inline</span> <span class="keywordtype">double</span> unif_rand() {<span class="keywordflow">return</span> RNG.random_01();} 71 <a name="l00070"></a>00070 <span class="keyword">inline</span> <span class="keywordtype">double</span> norm_rand() {<span class="keywordflow">return</span> NRNG.sample();} 72 72 <a name="l00071"></a>00071 73 <a name="l00072"></a>00072 74 <a name="l00073"></a>00073 <span class="preprocessor">#endif //ITEX_H</span> 73 <a name="l00072"></a>00072 }; 74 <a name="l00073"></a>00073 75 <a name="l00074"></a>00074 <span class="keywordtype">bool</span> qr ( <span class="keyword">const</span> mat &A, mat &R ); 76 <a name="l00075"></a>00075 77 <a name="l00076"></a>00076 } 78 <a name="l00077"></a>00077 79 <a name="l00078"></a>00078 80 <a name="l00079"></a>00079 <span class="preprocessor">#endif //ITEX_H</span> 75 81 </pre></div></div> 76 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:452008 for mixpp by 82 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 77 83 <a href="http://www.doxygen.org/index.html"> 78 84 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/libBM_8h-source.html ¶
r171 r180 60 60 <a name="l00078"></a>00078 <span class="keywordtype">bool</span> <a class="code" href="classRV.html#82cc7fa22ce91cf461a522ad62014c65" title="Compare if rv2 is identical to this RV.">equal</a> (<span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv2 ) <span class="keyword">const</span>; 61 61 <a name="l00080"></a>00080 <span class="keywordtype">bool</span> <span class="keyword">add</span> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv2 ); 62 <a name="l00082"></a>00082 <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classRV.html# a85c47bd838ebbdcb6798d7843e87db2" title="Subtract another variable from the current one.">subt</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>rv2 ) <span class="keyword">const</span>;63 <a name="l00084"></a>00084 <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classRV.html# 0a9ea7bc6fad270cc54a455a9f8f387d" title="Select only variables at indeces ind.">subselect</a> ( ivecind ) <span class="keyword">const</span>;64 <a name="l00086"></a>00086 <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classRV.html# 65e5b820e482caff7f284d11898ef64f" title="Select only variables at indeces ind.">operator() </a>( ivecind ) <span class="keyword">const</span>;62 <a name="l00082"></a>00082 <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classRV.html#b9d175c327c21488b1e2fb756a84e149" title="Subtract another variable from the current one.">subt</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv2 ) <span class="keyword">const</span>; 63 <a name="l00084"></a>00084 <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classRV.html#b26d25a122be3303806af7726a625a0f" title="Select only variables at indeces ind.">subselect</a> ( <span class="keyword">const</span> ivec &ind ) <span class="keyword">const</span>; 64 <a name="l00086"></a>00086 <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classRV.html#248dfb2387976db2658489347669278c" title="Select only variables at indeces ind.">operator() </a>( <span class="keyword">const</span> ivec &ind ) <span class="keyword">const</span>; 65 65 <a name="l00088"></a>00088 <span class="keywordtype">void</span> <a class="code" href="classRV.html#e0a158d53ab9430627241f844f4c9a60" title="Shift time shifted by delta.">t</a> ( <span class="keywordtype">int</span> delta ); 66 66 <a name="l00090"></a>00090 <a class="code" href="classstr.html" title="Structure of RV (used internally).">str</a> <a class="code" href="classRV.html#52f3ade796814da627ff5a44d00986be" title="generate str from rv, by expanding sizes">tostr</a>() <span class="keyword">const</span>; 67 <a name="l00092"></a>00092 ivec <a class="code" href="classRV.html# 1844ea0d9c10428f5e0ee1d4d569ef0a" title="generate indeces into">dataind</a>(<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>crv) <span class="keyword">const</span>;67 <a name="l00092"></a>00092 ivec <a class="code" href="classRV.html#bb724fa4e2d9ed7bfd0993b5975018a4" title="generate indeces into">dataind</a>(<span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &crv) <span class="keyword">const</span>; 68 68 <a name="l00093"></a>00093 69 69 <a name="l00095"></a><a class="code" href="classRV.html#b88ef5124713c9e30fd9446846b3f044">00095</a> Array<std::string>& <a class="code" href="classRV.html#b88ef5124713c9e30fd9446846b3f044" title="access function">_names</a>() {<span class="keywordflow">return</span> <a class="code" href="classRV.html#df5d0030b277a1db2f1fd5fb79152acb" title="Array of names.">names</a>;}; … … 73 73 <a name="l00102"></a><a class="code" href="classRV.html#af068cf478864fe1a4fbfc6b4693b088">00102</a> <span class="keywordtype">int</span> <a class="code" href="classRV.html#af068cf478864fe1a4fbfc6b4693b088" title="access function">time</a> ( <span class="keywordtype">int</span> at ) {<span class="keywordflow">return</span> <a class="code" href="classRV.html#646e530c47a2dd38254b778d9f11ac89" title="Vector of shifts from current time.">times</a> ( at );}; 74 74 <a name="l00104"></a><a class="code" href="classRV.html#3ae4dd6e368f814a02710636ac8e1721">00104</a> std::string <a class="code" href="classRV.html#3ae4dd6e368f814a02710636ac8e1721" title="access function">name</a> ( <span class="keywordtype">int</span> at ) {<span class="keywordflow">return</span> <a class="code" href="classRV.html#df5d0030b277a1db2f1fd5fb79152acb" title="Array of names.">names</a> ( at );}; 75 <a name="l00106"></a>00106 <span class="keywordtype">void</span> <a class="code" href="classRV.html#fc4a3175ff678cba7ae4109654f66ce5" title="Assign unused ids to this rv.">newids</a>(); 76 <a name="l00107"></a>00107 }; 77 <a name="l00108"></a>00108 78 <a name="l00110"></a>00110 <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> concat ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv1, <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv2 ); 79 <a name="l00111"></a>00111 75 <a name="l00105"></a>00105 76 <a name="l00107"></a><a class="code" href="classRV.html#f58db96c9f5b8a538e26f154b1047c62">00107</a> <span class="keywordtype">void</span> <a class="code" href="classRV.html#f58db96c9f5b8a538e26f154b1047c62" title="access function">set_id</a> ( <span class="keywordtype">int</span> at, <span class="keywordtype">int</span> id0 ) {<a class="code" href="classRV.html#1bd7165140f4b880a7f344bbb1c433f9" title="Vector of unique IDs.">ids</a> ( at )=id0;}; 77 <a name="l00109"></a><a class="code" href="classRV.html#70b24c39c5130b1e4753fa2eef495433">00109</a> <span class="keywordtype">void</span> <a class="code" href="classRV.html#70b24c39c5130b1e4753fa2eef495433" title="access function">set_size</a> ( <span class="keywordtype">int</span> at, <span class="keywordtype">int</span> size0 ) {<a class="code" href="classRV.html#c878aab13f34b420e1eb5b485563682b" title="Vector of sizes.">sizes</a> ( at )=size0; <a class="code" href="classRV.html#f2396efe2e6d656ebe9e6f06018cbe25" title="size = sum of sizes">tsize</a>=sum(<a class="code" href="classRV.html#c878aab13f34b420e1eb5b485563682b" title="Vector of sizes.">sizes</a>);}; 78 <a name="l00111"></a><a class="code" href="classRV.html#af668289c016d12ac2a9ddb85416006b">00111</a> <span class="keywordtype">void</span> <a class="code" href="classRV.html#af668289c016d12ac2a9ddb85416006b" title="access function">set_time</a> ( <span class="keywordtype">int</span> at, <span class="keywordtype">int</span> time0 ) {<a class="code" href="classRV.html#646e530c47a2dd38254b778d9f11ac89" title="Vector of shifts from current time.">times</a> ( at )=time0;}; 80 79 <a name="l00112"></a>00112 81 <a name="l00114"></a>00114 82 <a name="l00115"></a> <a class="code" href="classfnc.html">00115</a> <span class="keyword">class </span><a class="code" href="classfnc.html" title="Class representing function of variable represented by rv.">fnc</a> {83 <a name="l00116"></a>00116 <span class="keyword">protected</span>:84 <a name="l00118"></a> <a class="code" href="classfnc.html#22d51d10a7901331167f64f80d1af8e9">00118</a> <span class="keywordtype">int</span> <a class="code" href="classfnc.html#22d51d10a7901331167f64f80d1af8e9" title="Length of the output vector.">dimy</a>;85 <a name="l00119"></a>00119 <span class="keyword">public</span>:86 <a name="l0012 1"></a><a class="code" href="classfnc.html#8a1da32233c3006a4239cf601c413538">00121</a> <a class="code" href="classfnc.html#8a1da32233c3006a4239cf601c413538" title="default constructor">fnc</a> ( <span class="keywordtype">int</span> dy ) :<a class="code" href="classfnc.html#22d51d10a7901331167f64f80d1af8e9" title="Length of the output vector.">dimy</a> ( dy ) {};87 <a name="l0012 3"></a><a class="code" href="classfnc.html#7fad2e6cb35909a165ec5a53def4a18c">00123</a> <span class="keyword">virtual</span> vec <a class="code" href="classfnc.html#7fad2e6cb35909a165ec5a53def4a18c" title="function evaluates numerical value of at cond ">eval</a> ( <span class="keyword">const</span> vec &cond ) {88 <a name="l0012 4"></a>00124 <span class="keywordflow">return</span> vec ( 0 );89 <a name="l0012 5"></a>00125 };90 <a name="l00126"></a> 0012691 <a name="l0012 8"></a><a class="code" href="classfnc.html#a8891973d0ca48ce38e1886df45ca298">00128</a> <span class="keywordtype">int</span> <a class="code" href="classfnc.html#a8891973d0ca48ce38e1886df45ca298" title="access function">_dimy</a>()<span class="keyword"> const</span>{<span class="keywordflow">return</span> <a class="code" href="classfnc.html#22d51d10a7901331167f64f80d1af8e9" title="Length of the output vector.">dimy</a>;}92 <a name="l00129"></a> 0012993 <a name="l00131"></a><a class="code" href="classfnc.html# 17164c202f6feee3d708b8caab6306ab">00131</a> <span class="keyword">virtual</span> <a class="code" href="classfnc.html#17164c202f6feee3d708b8caab6306ab" title="Destructor for future use;.">~fnc</a>() {};94 <a name="l00132"></a>00132 };95 <a name="l00133"></a>00133 80 <a name="l00114"></a>00114 <span class="keywordtype">void</span> <a class="code" href="classRV.html#fc4a3175ff678cba7ae4109654f66ce5" title="Assign unused ids to this rv.">newids</a>(); 81 <a name="l00115"></a>00115 }; 82 <a name="l00116"></a>00116 83 <a name="l00118"></a>00118 <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> concat ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv1, <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv2 ); 84 <a name="l00119"></a>00119 85 <a name="l00120"></a>00120 86 <a name="l00122"></a>00122 87 <a name="l00123"></a><a class="code" href="classfnc.html">00123</a> <span class="keyword">class </span><a class="code" href="classfnc.html" title="Class representing function of variable represented by rv.">fnc</a> { 88 <a name="l00124"></a>00124 <span class="keyword">protected</span>: 89 <a name="l00126"></a><a class="code" href="classfnc.html#22d51d10a7901331167f64f80d1af8e9">00126</a> <span class="keywordtype">int</span> <a class="code" href="classfnc.html#22d51d10a7901331167f64f80d1af8e9" title="Length of the output vector.">dimy</a>; 90 <a name="l00127"></a>00127 <span class="keyword">public</span>: 91 <a name="l00129"></a><a class="code" href="classfnc.html#8a1da32233c3006a4239cf601c413538">00129</a> <a class="code" href="classfnc.html#8a1da32233c3006a4239cf601c413538" title="default constructor">fnc</a> ( <span class="keywordtype">int</span> dy ) :<a class="code" href="classfnc.html#22d51d10a7901331167f64f80d1af8e9" title="Length of the output vector.">dimy</a> ( dy ) {}; 92 <a name="l00131"></a><a class="code" href="classfnc.html#7fad2e6cb35909a165ec5a53def4a18c">00131</a> <span class="keyword">virtual</span> vec <a class="code" href="classfnc.html#7fad2e6cb35909a165ec5a53def4a18c" title="function evaluates numerical value of at cond ">eval</a> ( <span class="keyword">const</span> vec &cond ) { 93 <a name="l00132"></a>00132 <span class="keywordflow">return</span> vec ( 0 ); 94 <a name="l00133"></a>00133 }; 96 95 <a name="l00134"></a>00134 97 <a name="l00136"></a> 0013698 <a name="l00137"></a> <a class="code" href="classepdf.html">00137</a> <span class="keyword">class </span><a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> {99 <a name="l0013 8"></a>00138 <span class="keyword">protected</span>:100 <a name="l00140"></a> <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">00140</a> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>;101 <a name="l00141"></a>00141 <span class="keyword">public</span>:102 <a name="l0014 3"></a><a class="code" href="classepdf.html#d8eb760037b3bad5a0d64081606697cd">00143</a> <a class="code" href="classepdf.html#d8eb760037b3bad5a0d64081606697cd" title="default constructor">epdf</a>() :<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a> ( ) {};96 <a name="l00136"></a><a class="code" href="classfnc.html#a8891973d0ca48ce38e1886df45ca298">00136</a> <span class="keywordtype">int</span> <a class="code" href="classfnc.html#a8891973d0ca48ce38e1886df45ca298" title="access function">_dimy</a>()<span class="keyword"> const</span>{<span class="keywordflow">return</span> <a class="code" href="classfnc.html#22d51d10a7901331167f64f80d1af8e9" title="Length of the output vector.">dimy</a>;} 97 <a name="l00137"></a>00137 98 <a name="l00139"></a><a class="code" href="classfnc.html#17164c202f6feee3d708b8caab6306ab">00139</a> <span class="keyword">virtual</span> <a class="code" href="classfnc.html#17164c202f6feee3d708b8caab6306ab" title="Destructor for future use;.">~fnc</a>() {}; 99 <a name="l00140"></a>00140 }; 100 <a name="l00141"></a>00141 101 <a name="l00142"></a>00142 103 102 <a name="l00144"></a>00144 104 <a name="l00146"></a><a class="code" href="classepdf.html#c95b1a27a8dd9507bb9a5a3cb2809c7a">00146</a> <a class="code" href="classepdf.html#d8eb760037b3bad5a0d64081606697cd" title="default constructor">epdf</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv0 ) :<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a> ( rv0 ) {}; 105 <a name="l00147"></a>00147 106 <a name="l00148"></a>00148 <span class="comment">// //! Returns the required moment of the epdf</span> 107 <a name="l00149"></a>00149 <span class="comment">// virtual vec moment ( const int order = 1 );</span> 108 <a name="l00150"></a>00150 109 <a name="l00152"></a>00152 <span class="keyword">virtual</span> vec <a class="code" href="classepdf.html#8019654e494bf5e458f6fb947e11b262" title="Returns a sample, from density .">sample</a> () <span class="keyword">const</span> =0; 110 <a name="l00154"></a>00154 <span class="keyword">virtual</span> mat <a class="code" href="classepdf.html#54d7dd53a641b618771cd9bee135181f" title="Returns N samples from density .">sampleN</a> ( <span class="keywordtype">int</span> N ) <span class="keyword">const</span>; 111 <a name="l00156"></a><a class="code" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">00156</a> <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classepdf.html#3ea597362e11a0040fe7c990269d072c" title="Compute probability of argument val.">eval</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{<span class="keywordflow">return</span> exp ( this-><a class="code" href="classepdf.html#6aef3eca74899692503769c18add1a4c" title="Compute log-probability of argument val.">evalpdflog</a> ( val ) );}; 112 <a name="l00157"></a>00157 113 <a name="l00159"></a>00159 <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classepdf.html#6aef3eca74899692503769c18add1a4c" title="Compute log-probability of argument val.">evalpdflog</a> ( <span class="keyword">const</span> vec &val ) <span class="keyword">const</span> =0; 114 <a name="l00160"></a>00160 115 <a name="l00162"></a><a class="code" href="classepdf.html#6af383b6f1c6ea6fc5f6724dd03d8877">00162</a> <span class="keyword">virtual</span> vec <a class="code" href="classepdf.html#6aef3eca74899692503769c18add1a4c" title="Compute log-probability of argument val.">evalpdflog</a> ( <span class="keyword">const</span> mat &Val )<span class="keyword"> const </span>{ 116 <a name="l00163"></a>00163 vec x ( Val.cols() ); 117 <a name="l00164"></a>00164 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<Val.cols();i++ ) {x ( i ) =<a class="code" href="classepdf.html#6aef3eca74899692503769c18add1a4c" title="Compute log-probability of argument val.">evalpdflog</a>( Val.get_col(i) ) ;} 118 <a name="l00165"></a>00165 <span class="keywordflow">return</span> x; 119 <a name="l00166"></a>00166 } 120 <a name="l00167"></a>00167 121 <a name="l00169"></a>00169 <span class="keyword">virtual</span> vec <a class="code" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870" title="return expected value">mean</a>() <span class="keyword">const</span> =0; 122 <a name="l00170"></a>00170 123 <a name="l00172"></a><a class="code" href="classepdf.html#0a322dd106f04c0a2915e3d4f4227396">00172</a> <span class="keyword">virtual</span> <a class="code" href="classepdf.html#0a322dd106f04c0a2915e3d4f4227396" title="Destructor for future use;.">~epdf</a>() {}; 124 <a name="l00174"></a><a class="code" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562">00174</a> <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>& <a class="code" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562" title="access function, possibly dangerous!">_rv</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>;} 125 <a name="l00176"></a><a class="code" href="classepdf.html#7fb94ce90d1ac7077d29f7d6a6c3e0a5">00176</a> <span class="keywordtype">void</span> <a class="code" href="classepdf.html#7fb94ce90d1ac7077d29f7d6a6c3e0a5" title="modifier function - useful when copying epdfs">_renewrv</a>(<span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &in_rv){<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>=in_rv;} 126 <a name="l00177"></a>00177 }; 103 <a name="l00145"></a><a class="code" href="classepdf.html">00145</a> <span class="keyword">class </span><a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> { 104 <a name="l00146"></a>00146 <span class="keyword">protected</span>: 105 <a name="l00148"></a><a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">00148</a> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>; 106 <a name="l00149"></a>00149 <span class="keyword">public</span>: 107 <a name="l00151"></a><a class="code" href="classepdf.html#d8eb760037b3bad5a0d64081606697cd">00151</a> <a class="code" href="classepdf.html#d8eb760037b3bad5a0d64081606697cd" title="default constructor">epdf</a>() :<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a> ( ) {}; 108 <a name="l00152"></a>00152 109 <a name="l00154"></a><a class="code" href="classepdf.html#c95b1a27a8dd9507bb9a5a3cb2809c7a">00154</a> <a class="code" href="classepdf.html#d8eb760037b3bad5a0d64081606697cd" title="default constructor">epdf</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv0 ) :<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a> ( rv0 ) {}; 110 <a name="l00155"></a>00155 111 <a name="l00156"></a>00156 <span class="comment">// //! Returns the required moment of the epdf</span> 112 <a name="l00157"></a>00157 <span class="comment">// virtual vec moment ( const int order = 1 );</span> 113 <a name="l00158"></a>00158 114 <a name="l00160"></a>00160 <span class="keyword">virtual</span> vec <a class="code" href="classepdf.html#8019654e494bf5e458f6fb947e11b262" title="Returns a sample, from density .">sample</a> () <span class="keyword">const</span> =0; 115 <a name="l00162"></a>00162 <span class="keyword">virtual</span> mat <a class="code" href="classepdf.html#54d7dd53a641b618771cd9bee135181f" title="Returns N samples from density .">sampleN</a> ( <span class="keywordtype">int</span> N ) <span class="keyword">const</span>; 116 <a name="l00164"></a><a class="code" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">00164</a> <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classepdf.html#3ea597362e11a0040fe7c990269d072c" title="Compute probability of argument val.">eval</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{<span class="keywordflow">return</span> exp ( this-><a class="code" href="classepdf.html#6aef3eca74899692503769c18add1a4c" title="Compute log-probability of argument val.">evalpdflog</a> ( val ) );}; 117 <a name="l00165"></a>00165 118 <a name="l00167"></a>00167 <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classepdf.html#6aef3eca74899692503769c18add1a4c" title="Compute log-probability of argument val.">evalpdflog</a> ( <span class="keyword">const</span> vec &val ) <span class="keyword">const</span> =0; 119 <a name="l00168"></a>00168 120 <a name="l00170"></a><a class="code" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">00170</a> <span class="keyword">virtual</span> vec <a class="code" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c" title="Compute log-probability of multiple values argument val.">evalpdflog_m</a> ( <span class="keyword">const</span> mat &Val )<span class="keyword"> const </span>{ 121 <a name="l00171"></a>00171 vec x ( Val.cols() ); 122 <a name="l00172"></a>00172 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<Val.cols();i++ ) {x ( i ) =<a class="code" href="classepdf.html#6aef3eca74899692503769c18add1a4c" title="Compute log-probability of argument val.">evalpdflog</a>( Val.get_col(i) ) ;} 123 <a name="l00173"></a>00173 <span class="keywordflow">return</span> x; 124 <a name="l00174"></a>00174 } 125 <a name="l00175"></a>00175 126 <a name="l00177"></a>00177 <span class="keyword">virtual</span> vec <a class="code" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870" title="return expected value">mean</a>() <span class="keyword">const</span> =0; 127 127 <a name="l00178"></a>00178 128 <a name="l00179"></a>00179 129 <a name="l00181"></a>00181 <span class="comment">//TODO Samplecond can be generalized</span> 130 <a name="l00182"></a>00182 131 <a name="l00183"></a><a class="code" href="classmpdf.html">00183</a> <span class="keyword">class </span><a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> { 132 <a name="l00184"></a>00184 <span class="keyword">protected</span>: 133 <a name="l00186"></a><a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">00186</a> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>; 134 <a name="l00188"></a><a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab">00188</a> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a>; 135 <a name="l00190"></a><a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c">00190</a> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* <a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>; 136 <a name="l00191"></a>00191 <span class="keyword">public</span>: 137 <a name="l00192"></a>00192 138 <a name="l00194"></a>00194 <span class="comment">// virtual fnc moment ( const int order = 1 );</span> 139 <a name="l00196"></a><a class="code" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b">00196</a> <span class="comment"></span> <span class="keyword">virtual</span> vec <a class="code" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b" title="Returns the required moment of the epdf.">samplecond</a> (<span class="keyword">const</span> vec &cond, <span class="keywordtype">double</span> &ll ) {this-><a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( cond ); 140 <a name="l00197"></a>00197 vec temp= <a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-><a class="code" href="classepdf.html#8019654e494bf5e458f6fb947e11b262" title="Returns a sample, from density .">sample</a>(); 141 <a name="l00198"></a>00198 ll=<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-><a class="code" href="classepdf.html#6aef3eca74899692503769c18add1a4c" title="Compute log-probability of argument val.">evalpdflog</a> ( temp );<span class="keywordflow">return</span> temp;}; 142 <a name="l00200"></a><a class="code" href="classmpdf.html#0e37163660f93df2a4d723cedb1da89c">00200</a> <span class="keyword">virtual</span> mat <a class="code" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b" title="Returns the required moment of the epdf.">samplecond</a> (<span class="keyword">const</span> vec &cond, vec &ll, <span class="keywordtype">int</span> N ) { 143 <a name="l00201"></a>00201 this-><a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( cond ); 144 <a name="l00202"></a>00202 mat temp ( <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>(),N ); vec smp ( <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() ); 145 <a name="l00203"></a>00203 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<N;i++ ) {smp=<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-><a class="code" href="classepdf.html#8019654e494bf5e458f6fb947e11b262" title="Returns a sample, from density .">sample</a>() ;temp.set_col ( i, smp );ll ( i ) =<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-><a class="code" href="classepdf.html#6aef3eca74899692503769c18add1a4c" title="Compute log-probability of argument val.">evalpdflog</a> ( smp );} 146 <a name="l00204"></a>00204 <span class="keywordflow">return</span> temp; 147 <a name="l00205"></a>00205 }; 148 <a name="l00207"></a><a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83">00207</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &cond ) {}; 149 <a name="l00208"></a>00208 150 <a name="l00210"></a><a class="code" href="classmpdf.html#80b738ece5bd4f8c4edaee4b38906f91">00210</a> <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classmpdf.html#80b738ece5bd4f8c4edaee4b38906f91" title="Shortcut for conditioning and evaluation of the internal epdf. In some cases, this...">evalcond</a> ( <span class="keyword">const</span> vec &dt, <span class="keyword">const</span> vec &cond ) {this-><a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( cond );<span class="keywordflow">return</span> <a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-><a class="code" href="classepdf.html#3ea597362e11a0040fe7c990269d072c" title="Compute probability of argument val.">eval</a> ( dt );}; 151 <a name="l00211"></a>00211 152 <a name="l00213"></a><a class="code" href="classmpdf.html#6788be9f3a888796499c5293a318fcfb">00213</a> <span class="keyword">virtual</span> <a class="code" href="classmpdf.html#6788be9f3a888796499c5293a318fcfb" title="Destructor for future use;.">~mpdf</a>() {}; 153 <a name="l00214"></a>00214 154 <a name="l00216"></a><a class="code" href="classmpdf.html#581ecf362185d37c08bb31cb9d046d6f">00216</a> <a class="code" href="classmpdf.html#581ecf362185d37c08bb31cb9d046d6f" title="Default constructor.">mpdf</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv0, <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rvc0 ) :<a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a> ( rv0 ),<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a> ( rvc0 ) {}; 155 <a name="l00218"></a><a class="code" href="classmpdf.html#ec9c850305984582548e8deb64f0ffe8">00218</a> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classmpdf.html#ec9c850305984582548e8deb64f0ffe8" title="access function">_rvc</a>() {<span class="keywordflow">return</span> <a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a>;} 156 <a name="l00220"></a><a class="code" href="classmpdf.html#1e71ad4c66d5884c82d4a3b06b42fe32">00220</a> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classmpdf.html#1e71ad4c66d5884c82d4a3b06b42fe32" title="access function">_rv</a>() {<span class="keywordflow">return</span> <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>;} 157 <a name="l00222"></a><a class="code" href="classmpdf.html#e17780ee5b2cfe05922a6c56af1462f8">00222</a> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>& <a class="code" href="classmpdf.html#e17780ee5b2cfe05922a6c56af1462f8" title="access function">_epdf</a>() {<span class="keywordflow">return</span> *<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>;} 158 <a name="l00223"></a>00223 }; 159 <a name="l00224"></a>00224 160 <a name="l00229"></a><a class="code" href="classmepdf.html">00229</a> <span class="keyword">class </span><a class="code" href="classmepdf.html" title="Unconditional mpdf, allows using epdf in the role of mpdf.">mepdf</a> : <span class="keyword">public</span> <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> { 161 <a name="l00230"></a>00230 <span class="keyword">public</span>: 162 <a name="l00232"></a><a class="code" href="classmepdf.html#7ab1c50f0aa16230117436dee500f2e0">00232</a> <a class="code" href="classmepdf.html#7ab1c50f0aa16230117436dee500f2e0" title="Default constructor.">mepdf</a> (<a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> &em ) :<a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> ( em.<a class="code" href="classmpdf.html#1e71ad4c66d5884c82d4a3b06b42fe32" title="access function">_rv</a>(),<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>() ) {<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>=&em;}; 163 <a name="l00233"></a>00233 }; 164 <a name="l00234"></a>00234 165 <a name="l00242"></a><a class="code" href="classDS.html">00242</a> <span class="keyword">class </span><a class="code" href="classDS.html" title="Abstract class for discrete-time sources of data.">DS</a> { 166 <a name="l00243"></a>00243 <span class="keyword">protected</span>: 167 <a name="l00245"></a><a class="code" href="classDS.html#1012025a1a3a1fdd24aa48698a3d3454">00245</a> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classDS.html#1012025a1a3a1fdd24aa48698a3d3454" title="Observed variables, returned by getdata().">Drv</a>; 168 <a name="l00247"></a><a class="code" href="classDS.html#0a88ffaeb3c7c2cf30c69bc41a000629">00247</a> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classDS.html#0a88ffaeb3c7c2cf30c69bc41a000629" title="Action variables, accepted by write().">Urv</a>; <span class="comment">//</span> 169 <a name="l00248"></a>00248 <span class="keyword">public</span>: 170 <a name="l00250"></a>00250 <span class="keywordtype">void</span> <a class="code" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1" title="Returns full vector of observed data.">getdata</a> ( vec &dt ); 171 <a name="l00252"></a>00252 <span class="keywordtype">void</span> <a class="code" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1" title="Returns full vector of observed data.">getdata</a> ( vec &dt, ivec &indeces ); 172 <a name="l00254"></a>00254 <span class="keywordtype">void</span> <a class="code" href="classDS.html#0dfb6788b70c0d48a1f5276ed6c93039" title="Accepts action variable and schedule it for application.">write</a> ( vec &ut ); 173 <a name="l00256"></a>00256 <span class="keywordtype">void</span> <a class="code" href="classDS.html#0dfb6788b70c0d48a1f5276ed6c93039" title="Accepts action variable and schedule it for application.">write</a> ( vec &ut, ivec &indeces ); 174 <a name="l00262"></a>00262 <span class="keywordtype">void</span> <a class="code" href="classDS.html#9a35ca9c9321dce2bf63bf668f785b75" title="Method that assigns random variables to the datasource. Typically, the datasource...">linkrvs</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &drv, <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &urv ); 175 <a name="l00263"></a>00263 176 <a name="l00265"></a>00265 <span class="keywordtype">void</span> <a class="code" href="classDS.html#470ba89e8e7c3c4d830803221b4e9be6" title="Moves from to , i.e. perfroms the actions and reads response of the system.">step</a>(); 177 <a name="l00266"></a>00266 178 <a name="l00267"></a>00267 }; 179 <a name="l00268"></a>00268 180 <a name="l00273"></a><a class="code" href="classBM.html">00273</a> <span class="keyword">class </span><a class="code" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> { 181 <a name="l00274"></a>00274 <span class="keyword">protected</span>: 182 <a name="l00276"></a><a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88">00276</a> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>; 183 <a name="l00278"></a><a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">00278</a> <span class="keywordtype">double</span> <a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a>; 184 <a name="l00280"></a><a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129">00280</a> <span class="keywordtype">bool</span> <a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a>; 185 <a name="l00281"></a>00281 <span class="keyword">public</span>: 186 <a name="l00282"></a>00282 187 <a name="l00284"></a><a class="code" href="classBM.html#43d2ad6a6c9f1bcd22fe8906c477e50e">00284</a> <a class="code" href="classBM.html#43d2ad6a6c9f1bcd22fe8906c477e50e" title="Default constructor.">BM</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv0, <span class="keywordtype">double</span> ll0=0,<span class="keywordtype">bool</span> evalll0=<span class="keyword">true</span> ) :<a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a> ( rv0 ), <a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a> ( ll0 ),<a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a> ( evalll0) {<span class="comment">//Fixme: test rv</span> 188 <a name="l00285"></a>00285 }; 189 <a name="l00287"></a><a class="code" href="classBM.html#e8fc5fae042f2b46d4d3827f9587d47d">00287</a> <a class="code" href="classBM.html#43d2ad6a6c9f1bcd22fe8906c477e50e" title="Default constructor.">BM</a> (<span class="keyword">const</span> <a class="code" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> &B) : <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>(B.<a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>), <a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a>(B.<a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a>), <a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a>(B.<a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a>) {} 190 <a name="l00288"></a>00288 191 <a name="l00292"></a>00292 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBM.html#a892eff438aab2dd1a9e2efcb7fb5bdf" title="Incremental Bayes rule.">bayes</a> ( <span class="keyword">const</span> vec &dt ) = 0; 192 <a name="l00294"></a>00294 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBM.html#0186270f75189677f390fe088a9947e9" title="Batch Bayes rule (columns of Dt are observations).">bayesB</a> (<span class="keyword">const</span> mat &Dt ); 193 <a name="l00296"></a>00296 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>& <a class="code" href="classBM.html#8554809fec160bee279bcd5fa14ead5c" title="Returns a pointer to the epdf representing posterior density on parameters. Use with...">_epdf</a>() <span class="keyword">const</span> =0; 194 <a name="l00297"></a>00297 195 <a name="l00300"></a><a class="code" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">00300</a> <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(<span class="keyword">const</span> vec &dt)<span class="keyword">const</span>{it_error(<span class="stringliteral">"Not implemented"</span>);<span class="keywordflow">return</span> 0.0;} 196 <a name="l00301"></a>00301 197 <a name="l00303"></a><a class="code" href="classBM.html#ca0f02b3b4144e0895cc14f7e0374bdd">00303</a> <span class="keyword">virtual</span> <a class="code" href="classBM.html#ca0f02b3b4144e0895cc14f7e0374bdd" title="Destructor for future use;.">~BM</a>() {}; 198 <a name="l00305"></a><a class="code" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">00305</a> <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>& <a class="code" href="classBM.html#126bd2595c48e311fc2a7ab72876092a" title="access function">_rv</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>;} 199 <a name="l00307"></a><a class="code" href="classBM.html#87f4a547d2c29180be88175e5eab9c88">00307</a> <span class="keywordtype">double</span> <a class="code" href="classBM.html#87f4a547d2c29180be88175e5eab9c88" title="access function">_ll</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a>;} 200 <a name="l00309"></a><a class="code" href="classBM.html#1ffa9f23669aabecc3760c06c6987522">00309</a> <span class="keywordtype">void</span> <a class="code" href="classBM.html#1ffa9f23669aabecc3760c06c6987522" title="access function">set_evalll</a>(<span class="keywordtype">bool</span> evl0){<a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a>=evl0;} 201 <a name="l00310"></a>00310 202 <a name="l00313"></a><a class="code" href="classBM.html#eb58c81d6a7b75b05fc6f276eed78887">00313</a> <span class="keyword">virtual</span> <a class="code" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a>* <a class="code" href="classBM.html#eb58c81d6a7b75b05fc6f276eed78887">_copy_</a>(<span class="keywordtype">bool</span> changerv=<span class="keyword">false</span>){it_error(<span class="stringliteral">"function _copy_ not implemented for this BM"</span>); <span class="keywordflow">return</span> NULL;}; 203 <a name="l00314"></a>00314 }; 128 <a name="l00180"></a><a class="code" href="classepdf.html#0a322dd106f04c0a2915e3d4f4227396">00180</a> <span class="keyword">virtual</span> <a class="code" href="classepdf.html#0a322dd106f04c0a2915e3d4f4227396" title="Destructor for future use;.">~epdf</a>() {}; 129 <a name="l00182"></a><a class="code" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562">00182</a> <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>& <a class="code" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562" title="access function, possibly dangerous!">_rv</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>;} 130 <a name="l00184"></a><a class="code" href="classepdf.html#7fb94ce90d1ac7077d29f7d6a6c3e0a5">00184</a> <span class="keywordtype">void</span> <a class="code" href="classepdf.html#7fb94ce90d1ac7077d29f7d6a6c3e0a5" title="modifier function - useful when copying epdfs">_renewrv</a>(<span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &in_rv){<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>=in_rv;} 131 <a name="l00185"></a>00185 }; 132 <a name="l00186"></a>00186 133 <a name="l00187"></a>00187 134 <a name="l00189"></a>00189 <span class="comment">//TODO Samplecond can be generalized</span> 135 <a name="l00190"></a>00190 136 <a name="l00191"></a><a class="code" href="classmpdf.html">00191</a> <span class="keyword">class </span><a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> { 137 <a name="l00192"></a>00192 <span class="keyword">protected</span>: 138 <a name="l00194"></a><a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">00194</a> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>; 139 <a name="l00196"></a><a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab">00196</a> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a>; 140 <a name="l00198"></a><a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c">00198</a> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* <a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>; 141 <a name="l00199"></a>00199 <span class="keyword">public</span>: 142 <a name="l00200"></a>00200 143 <a name="l00202"></a>00202 <span class="comment">// virtual fnc moment ( const int order = 1 );</span> 144 <a name="l00204"></a><a class="code" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b">00204</a> <span class="comment"></span> <span class="keyword">virtual</span> vec <a class="code" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b" title="Returns the required moment of the epdf.">samplecond</a> (<span class="keyword">const</span> vec &cond, <span class="keywordtype">double</span> &ll ) {this-><a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( cond ); 145 <a name="l00205"></a>00205 vec temp= <a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-><a class="code" href="classepdf.html#8019654e494bf5e458f6fb947e11b262" title="Returns a sample, from density .">sample</a>(); 146 <a name="l00206"></a>00206 ll=<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-><a class="code" href="classepdf.html#6aef3eca74899692503769c18add1a4c" title="Compute log-probability of argument val.">evalpdflog</a> ( temp );<span class="keywordflow">return</span> temp;}; 147 <a name="l00208"></a><a class="code" href="classmpdf.html#0e37163660f93df2a4d723cedb1da89c">00208</a> <span class="keyword">virtual</span> mat <a class="code" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b" title="Returns the required moment of the epdf.">samplecond</a> (<span class="keyword">const</span> vec &cond, vec &ll, <span class="keywordtype">int</span> N ) { 148 <a name="l00209"></a>00209 this-><a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( cond ); 149 <a name="l00210"></a>00210 mat temp ( <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>(),N ); vec smp ( <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() ); 150 <a name="l00211"></a>00211 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<N;i++ ) {smp=<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-><a class="code" href="classepdf.html#8019654e494bf5e458f6fb947e11b262" title="Returns a sample, from density .">sample</a>() ;temp.set_col ( i, smp );ll ( i ) =<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-><a class="code" href="classepdf.html#6aef3eca74899692503769c18add1a4c" title="Compute log-probability of argument val.">evalpdflog</a> ( smp );} 151 <a name="l00212"></a>00212 <span class="keywordflow">return</span> temp; 152 <a name="l00213"></a>00213 }; 153 <a name="l00215"></a><a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83">00215</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &cond ) {}; 154 <a name="l00216"></a>00216 155 <a name="l00218"></a><a class="code" href="classmpdf.html#80b738ece5bd4f8c4edaee4b38906f91">00218</a> <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classmpdf.html#80b738ece5bd4f8c4edaee4b38906f91" title="Shortcut for conditioning and evaluation of the internal epdf. In some cases, this...">evalcond</a> ( <span class="keyword">const</span> vec &dt, <span class="keyword">const</span> vec &cond ) {this-><a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( cond );<span class="keywordflow">return</span> <a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-><a class="code" href="classepdf.html#3ea597362e11a0040fe7c990269d072c" title="Compute probability of argument val.">eval</a> ( dt );}; 156 <a name="l00219"></a>00219 157 <a name="l00221"></a><a class="code" href="classmpdf.html#6788be9f3a888796499c5293a318fcfb">00221</a> <span class="keyword">virtual</span> <a class="code" href="classmpdf.html#6788be9f3a888796499c5293a318fcfb" title="Destructor for future use;.">~mpdf</a>() {}; 158 <a name="l00222"></a>00222 159 <a name="l00224"></a><a class="code" href="classmpdf.html#581ecf362185d37c08bb31cb9d046d6f">00224</a> <a class="code" href="classmpdf.html#581ecf362185d37c08bb31cb9d046d6f" title="Default constructor.">mpdf</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv0, <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rvc0 ) :<a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a> ( rv0 ),<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a> ( rvc0 ) {}; 160 <a name="l00226"></a><a class="code" href="classmpdf.html#ec9c850305984582548e8deb64f0ffe8">00226</a> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classmpdf.html#ec9c850305984582548e8deb64f0ffe8" title="access function">_rvc</a>() {<span class="keywordflow">return</span> <a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a>;} 161 <a name="l00228"></a><a class="code" href="classmpdf.html#1e71ad4c66d5884c82d4a3b06b42fe32">00228</a> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classmpdf.html#1e71ad4c66d5884c82d4a3b06b42fe32" title="access function">_rv</a>() {<span class="keywordflow">return</span> <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>;} 162 <a name="l00230"></a><a class="code" href="classmpdf.html#e17780ee5b2cfe05922a6c56af1462f8">00230</a> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>& <a class="code" href="classmpdf.html#e17780ee5b2cfe05922a6c56af1462f8" title="access function">_epdf</a>() {<span class="keywordflow">return</span> *<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>;} 163 <a name="l00231"></a>00231 }; 164 <a name="l00232"></a>00232 165 <a name="l00237"></a><a class="code" href="classmepdf.html">00237</a> <span class="keyword">class </span><a class="code" href="classmepdf.html" title="Unconditional mpdf, allows using epdf in the role of mpdf.">mepdf</a> : <span class="keyword">public</span> <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> { 166 <a name="l00238"></a>00238 <span class="keyword">public</span>: 167 <a name="l00240"></a><a class="code" href="classmepdf.html#7ab1c50f0aa16230117436dee500f2e0">00240</a> <a class="code" href="classmepdf.html#7ab1c50f0aa16230117436dee500f2e0" title="Default constructor.">mepdf</a> (<a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> &em ) :<a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> ( em.<a class="code" href="classmpdf.html#1e71ad4c66d5884c82d4a3b06b42fe32" title="access function">_rv</a>(),<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>() ) {<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>=&em;}; 168 <a name="l00241"></a>00241 }; 169 <a name="l00242"></a>00242 170 <a name="l00244"></a><a class="code" href="classcompositepdf.html">00244</a> <span class="keyword">class </span><a class="code" href="classcompositepdf.html" title="Abstract composition of pdfs, a base for specific classes.">compositepdf</a>{ 171 <a name="l00245"></a>00245 <span class="keyword">protected</span>: 172 <a name="l00247"></a><a class="code" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f">00247</a> <span class="keywordtype">int</span> <a class="code" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f" title="Number of mpdfs in the composite.">n</a>; 173 <a name="l00249"></a><a class="code" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d">00249</a> Array<mpdf*> <a class="code" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d" title="Elements of composition.">mpdfs</a>; 174 <a name="l00251"></a><a class="code" href="classcompositepdf.html#4d4a8269f9faefeca8cdc251a5a29a7f">00251</a> Array<ivec> <a class="code" href="classcompositepdf.html#4d4a8269f9faefeca8cdc251a5a29a7f" title="Indeces of rvs in common rv.">rvsinrv</a>; 175 <a name="l00253"></a><a class="code" href="classcompositepdf.html#3df07bb5e3ed36a3119b145043296676">00253</a> Array<ivec> <a class="code" href="classcompositepdf.html#3df07bb5e3ed36a3119b145043296676" title="Indeces of rvc in common rv.">rvcsinrv</a>; 176 <a name="l00254"></a>00254 <span class="keyword">public</span>: 177 <a name="l00255"></a>00255 <a class="code" href="classcompositepdf.html" title="Abstract composition of pdfs, a base for specific classes.">compositepdf</a>(Array<mpdf*> A0): <a class="code" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f" title="Number of mpdfs in the composite.">n</a>(A0.length()), <a class="code" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d" title="Elements of composition.">mpdfs</a>(A0), <a class="code" href="classcompositepdf.html#4d4a8269f9faefeca8cdc251a5a29a7f" title="Indeces of rvs in common rv.">rvsinrv</a>(<a class="code" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f" title="Number of mpdfs in the composite.">n</a>), <a class="code" href="classcompositepdf.html#3df07bb5e3ed36a3119b145043296676" title="Indeces of rvc in common rv.">rvcsinrv</a>(<a class="code" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f" title="Number of mpdfs in the composite.">n</a>){}; 178 <a name="l00256"></a>00256 <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> getrv(<span class="keywordtype">bool</span> checkoverlap=<span class="keyword">false</span>); 179 <a name="l00257"></a>00257 <span class="keywordtype">void</span> setrvc(<span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv, <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rvc); 180 <a name="l00258"></a>00258 <span class="keywordtype">void</span> setindices(<span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv); 181 <a name="l00259"></a>00259 <span class="keywordtype">void</span> setrvcinrv(<span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rvc, Array<ivec> &rvcind); 182 <a name="l00260"></a>00260 }; 183 <a name="l00261"></a>00261 184 <a name="l00269"></a><a class="code" href="classDS.html">00269</a> <span class="keyword">class </span><a class="code" href="classDS.html" title="Abstract class for discrete-time sources of data.">DS</a> { 185 <a name="l00270"></a>00270 <span class="keyword">protected</span>: 186 <a name="l00272"></a><a class="code" href="classDS.html#1012025a1a3a1fdd24aa48698a3d3454">00272</a> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classDS.html#1012025a1a3a1fdd24aa48698a3d3454" title="Observed variables, returned by getdata().">Drv</a>; 187 <a name="l00274"></a><a class="code" href="classDS.html#0a88ffaeb3c7c2cf30c69bc41a000629">00274</a> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classDS.html#0a88ffaeb3c7c2cf30c69bc41a000629" title="Action variables, accepted by write().">Urv</a>; <span class="comment">//</span> 188 <a name="l00275"></a>00275 <span class="keyword">public</span>: 189 <a name="l00277"></a>00277 <span class="keywordtype">void</span> <a class="code" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1" title="Returns full vector of observed data.">getdata</a> ( vec &dt ); 190 <a name="l00279"></a>00279 <span class="keywordtype">void</span> <a class="code" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1" title="Returns full vector of observed data.">getdata</a> ( vec &dt, ivec &indeces ); 191 <a name="l00281"></a>00281 <span class="keywordtype">void</span> <a class="code" href="classDS.html#0dfb6788b70c0d48a1f5276ed6c93039" title="Accepts action variable and schedule it for application.">write</a> ( vec &ut ); 192 <a name="l00283"></a>00283 <span class="keywordtype">void</span> <a class="code" href="classDS.html#0dfb6788b70c0d48a1f5276ed6c93039" title="Accepts action variable and schedule it for application.">write</a> ( vec &ut, ivec &indeces ); 193 <a name="l00289"></a>00289 <span class="keywordtype">void</span> <a class="code" href="classDS.html#9a35ca9c9321dce2bf63bf668f785b75" title="Method that assigns random variables to the datasource. Typically, the datasource...">linkrvs</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &drv, <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &urv ); 194 <a name="l00290"></a>00290 195 <a name="l00292"></a>00292 <span class="keywordtype">void</span> <a class="code" href="classDS.html#470ba89e8e7c3c4d830803221b4e9be6" title="Moves from to , i.e. perfroms the actions and reads response of the system.">step</a>(); 196 <a name="l00293"></a>00293 197 <a name="l00294"></a>00294 }; 198 <a name="l00295"></a>00295 199 <a name="l00300"></a><a class="code" href="classBM.html">00300</a> <span class="keyword">class </span><a class="code" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> { 200 <a name="l00301"></a>00301 <span class="keyword">protected</span>: 201 <a name="l00303"></a><a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88">00303</a> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>; 202 <a name="l00305"></a><a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">00305</a> <span class="keywordtype">double</span> <a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a>; 203 <a name="l00307"></a><a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129">00307</a> <span class="keywordtype">bool</span> <a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a>; 204 <a name="l00308"></a>00308 <span class="keyword">public</span>: 205 <a name="l00309"></a>00309 206 <a name="l00311"></a><a class="code" href="classBM.html#43d2ad6a6c9f1bcd22fe8906c477e50e">00311</a> <a class="code" href="classBM.html#43d2ad6a6c9f1bcd22fe8906c477e50e" title="Default constructor.">BM</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv0, <span class="keywordtype">double</span> ll0=0,<span class="keywordtype">bool</span> evalll0=<span class="keyword">true</span> ) :<a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a> ( rv0 ), <a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a> ( ll0 ),<a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a> ( evalll0) {<span class="comment">//Fixme: test rv</span> 207 <a name="l00312"></a>00312 }; 208 <a name="l00314"></a><a class="code" href="classBM.html#e8fc5fae042f2b46d4d3827f9587d47d">00314</a> <a class="code" href="classBM.html#43d2ad6a6c9f1bcd22fe8906c477e50e" title="Default constructor.">BM</a> (<span class="keyword">const</span> <a class="code" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> &B) : <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>(B.<a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>), <a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a>(B.<a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a>), <a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a>(B.<a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a>) {} 204 209 <a name="l00315"></a>00315 205 <a name="l00325"></a><a class="code" href="classBMcond.html">00325</a> <span class="keyword">class </span><a class="code" href="classBMcond.html" title="Conditional Bayesian Filter.">BMcond</a> { 206 <a name="l00326"></a>00326 <span class="keyword">protected</span>: 207 <a name="l00328"></a><a class="code" href="classBMcond.html#9ba793c8ec453f04d372d17195ed8dec">00328</a> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classBMcond.html#9ba793c8ec453f04d372d17195ed8dec" title="Identificator of the conditioning variable.">rvc</a>; 208 <a name="l00329"></a>00329 <span class="keyword">public</span>: 209 <a name="l00331"></a>00331 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBMcond.html#3543cfe274c35f9033c24d8036a96c4d" title="Substitute val for rvc.">condition</a> ( <span class="keyword">const</span> vec &val ) =0; 210 <a name="l00333"></a><a class="code" href="classBMcond.html#9a38dcdabef902fd91da3c9fb6ac27f7">00333</a> <a class="code" href="classBMcond.html#9a38dcdabef902fd91da3c9fb6ac27f7" title="Default constructor.">BMcond</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv0 ) :<a class="code" href="classBMcond.html#9ba793c8ec453f04d372d17195ed8dec" title="Identificator of the conditioning variable.">rvc</a> ( rv0 ) {}; 211 <a name="l00335"></a><a class="code" href="classBMcond.html#d40c72250cf93640f982d06de20815b2">00335</a> <span class="keyword">virtual</span> <a class="code" href="classBMcond.html#d40c72250cf93640f982d06de20815b2" title="Destructor for future use.">~BMcond</a>() {}; 212 <a name="l00337"></a><a class="code" href="classBMcond.html#3fa60348b2da6b4208bb95b8d146900a">00337</a> <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>& <a class="code" href="classBMcond.html#3fa60348b2da6b4208bb95b8d146900a" title="access function">_rvc</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classBMcond.html#9ba793c8ec453f04d372d17195ed8dec" title="Identificator of the conditioning variable.">rvc</a>;} 213 <a name="l00338"></a>00338 }; 214 <a name="l00339"></a>00339 215 <a name="l00340"></a>00340 <span class="preprocessor">#endif // BM_H</span> 210 <a name="l00319"></a>00319 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBM.html#a892eff438aab2dd1a9e2efcb7fb5bdf" title="Incremental Bayes rule.">bayes</a> ( <span class="keyword">const</span> vec &dt ) = 0; 211 <a name="l00321"></a>00321 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBM.html#0186270f75189677f390fe088a9947e9" title="Batch Bayes rule (columns of Dt are observations).">bayesB</a> (<span class="keyword">const</span> mat &Dt ); 212 <a name="l00323"></a>00323 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>& <a class="code" href="classBM.html#8554809fec160bee279bcd5fa14ead5c" title="Returns a pointer to the epdf representing posterior density on parameters. Use with...">_epdf</a>() <span class="keyword">const</span> =0; 213 <a name="l00324"></a>00324 214 <a name="l00327"></a><a class="code" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">00327</a> <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(<span class="keyword">const</span> vec &dt)<span class="keyword">const</span>{it_error(<span class="stringliteral">"Not implemented"</span>);<span class="keywordflow">return</span> 0.0;} 215 <a name="l00329"></a><a class="code" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">00329</a> vec <a class="code" href="classBM.html#cd0660f2a1a344b56ac39802708ff165" title="Matrix version of logpred.">logpred_m</a>(<span class="keyword">const</span> mat &dt)<span class="keyword">const</span>{vec tmp(dt.cols());<span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0;i<dt.cols();i++){tmp(i)=<a class="code" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(dt.get_col(i));}<span class="keywordflow">return</span> tmp;} 216 <a name="l00330"></a>00330 217 <a name="l00332"></a><a class="code" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">00332</a> <span class="keyword">virtual</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* <a class="code" href="classBM.html#a627c5a79cc6f5221b7e09675525e032" title="Constructs a predictive density (marginal density on data).">predictor</a>(<span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>){it_error(<span class="stringliteral">"Not implemented"</span>);<span class="keywordflow">return</span> NULL;}; 218 <a name="l00333"></a>00333 219 <a name="l00335"></a><a class="code" href="classBM.html#ca0f02b3b4144e0895cc14f7e0374bdd">00335</a> <span class="keyword">virtual</span> <a class="code" href="classBM.html#ca0f02b3b4144e0895cc14f7e0374bdd" title="Destructor for future use;.">~BM</a>() {}; 220 <a name="l00337"></a><a class="code" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">00337</a> <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>& <a class="code" href="classBM.html#126bd2595c48e311fc2a7ab72876092a" title="access function">_rv</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>;} 221 <a name="l00339"></a><a class="code" href="classBM.html#87f4a547d2c29180be88175e5eab9c88">00339</a> <span class="keywordtype">double</span> <a class="code" href="classBM.html#87f4a547d2c29180be88175e5eab9c88" title="access function">_ll</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a>;} 222 <a name="l00341"></a><a class="code" href="classBM.html#1ffa9f23669aabecc3760c06c6987522">00341</a> <span class="keywordtype">void</span> <a class="code" href="classBM.html#1ffa9f23669aabecc3760c06c6987522" title="access function">set_evalll</a>(<span class="keywordtype">bool</span> evl0){<a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a>=evl0;} 223 <a name="l00342"></a>00342 224 <a name="l00345"></a><a class="code" href="classBM.html#eb58c81d6a7b75b05fc6f276eed78887">00345</a> <span class="keyword">virtual</span> <a class="code" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a>* <a class="code" href="classBM.html#eb58c81d6a7b75b05fc6f276eed78887">_copy_</a>(<span class="keywordtype">bool</span> changerv=<span class="keyword">false</span>){it_error(<span class="stringliteral">"function _copy_ not implemented for this BM"</span>); <span class="keywordflow">return</span> NULL;}; 225 <a name="l00346"></a>00346 }; 226 <a name="l00347"></a>00347 227 <a name="l00357"></a><a class="code" href="classBMcond.html">00357</a> <span class="keyword">class </span><a class="code" href="classBMcond.html" title="Conditional Bayesian Filter.">BMcond</a> { 228 <a name="l00358"></a>00358 <span class="keyword">protected</span>: 229 <a name="l00360"></a><a class="code" href="classBMcond.html#9ba793c8ec453f04d372d17195ed8dec">00360</a> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classBMcond.html#9ba793c8ec453f04d372d17195ed8dec" title="Identificator of the conditioning variable.">rvc</a>; 230 <a name="l00361"></a>00361 <span class="keyword">public</span>: 231 <a name="l00363"></a>00363 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBMcond.html#3543cfe274c35f9033c24d8036a96c4d" title="Substitute val for rvc.">condition</a> ( <span class="keyword">const</span> vec &val ) =0; 232 <a name="l00365"></a><a class="code" href="classBMcond.html#9a38dcdabef902fd91da3c9fb6ac27f7">00365</a> <a class="code" href="classBMcond.html#9a38dcdabef902fd91da3c9fb6ac27f7" title="Default constructor.">BMcond</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv0 ) :<a class="code" href="classBMcond.html#9ba793c8ec453f04d372d17195ed8dec" title="Identificator of the conditioning variable.">rvc</a> ( rv0 ) {}; 233 <a name="l00367"></a><a class="code" href="classBMcond.html#d40c72250cf93640f982d06de20815b2">00367</a> <span class="keyword">virtual</span> <a class="code" href="classBMcond.html#d40c72250cf93640f982d06de20815b2" title="Destructor for future use.">~BMcond</a>() {}; 234 <a name="l00369"></a><a class="code" href="classBMcond.html#3fa60348b2da6b4208bb95b8d146900a">00369</a> <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>& <a class="code" href="classBMcond.html#3fa60348b2da6b4208bb95b8d146900a" title="access function">_rvc</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classBMcond.html#9ba793c8ec453f04d372d17195ed8dec" title="Identificator of the conditioning variable.">rvc</a>;} 235 <a name="l00370"></a>00370 }; 236 <a name="l00371"></a>00371 237 <a name="l00372"></a>00372 <span class="preprocessor">#endif // BM_H</span> 216 238 </pre></div></div> 217 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:452008 for mixpp by 239 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 218 240 <a href="http://www.doxygen.org/index.html"> 219 241 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/libBM_8h.html ¶
r171 r180 34 34 <p><center><img src="libBM_8h__dep__incl.png" border="0" usemap="#work/git/mixpp/bdm/stat/libBM.hdep_map" alt=""></center> 35 35 <map name="work/git/mixpp/bdm/stat/libBM.hdep_map"> 36 <area shape="rect" href="libFN_8h-source.html" title="work/git/mixpp/bdm/stat/libFN.h" alt="" coords=" 649,84,871,111"><area shape="rect" href="libEF_8h.html" title="Probability distributions for Exponential Family models." alt="" coords="1305,84,1524,111"><area shape="rect" href="emix_8h.html" title="Probability distributions for Mixtures of pdfs." alt="" coords="1553,161,1775,188"><area shape="rect" href="merger_8h.html" title="Mergers for combination of pdfs." alt="" coords="1744,239,1981,265"><area shape="rect" href="libDS_8h.html" title="Common DataSources." alt="" coords="1900,84,2124,111"><area shape="rect" href="loggers_8h.html" title="Loggers for storing results of experiments." alt="" coords="73,161,311,188"><area shape="rect" href="arx_8h.html" title="Bayesian Filtering for generalized autoregressive (ARX) model." alt="" coords="407,161,628,188"><area shape="rect" href="libKF_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="892,161,1121,188"><area shape="rect" href="pmsm__mix_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="791,316,1049,343"><area shape="rect" href="sim__var_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="339,239,576,265"><area shape="rect" href="mixef_8h.html" title="Bayesian Filtering for mixtures of exponential family (EF) members." alt="" coords="1384,239,1619,265"><area shape="rect" href="pmsm_8h-source.html" title="work/git/mixpp/pmsm/pmsm.h" alt="" coords="652,161,868,188"><area shape="rect" href="sim__var__arx_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="48,239,315,265"><area shape="rect" href="ekf__templ_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="1096,239,1360,265"><area shape="rect" href="ekf__obj_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="651,239,1072,265"><area shape="rect" href="libPF_8h.html" title="Bayesian Filtering using stochastic sampling (Particle Filters)." alt="" coords="1300,161,1529,188"></map>36 <area shape="rect" href="libFN_8h-source.html" title="work/git/mixpp/bdm/stat/libFN.h" alt="" coords="705,84,927,111"><area shape="rect" href="libEF_8h.html" title="Probability distributions for Exponential Family models." alt="" coords="1012,84,1231,111"><area shape="rect" href="emix_8h.html" title="Probability distributions for Mixtures of pdfs." alt="" coords="1715,161,1936,188"><area shape="rect" href="libDS_8h.html" title="Common DataSources." alt="" coords="1305,84,1529,111"><area shape="rect" href="loggers_8h.html" title="Loggers for storing results of experiments." alt="" coords="5,161,243,188"><area shape="rect" href="arx_8h.html" title="Bayesian Filtering for generalized autoregressive (ARX) model." alt="" coords="267,161,488,188"><area shape="rect" href="libKF_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="860,161,1089,188"><area shape="rect" href="pmsm__mix_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="904,316,1163,343"><area shape="rect" href="sim__var_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="401,239,639,265"><area shape="rect" href="mixef_8h.html" title="Bayesian Filtering for mixtures of exponential family (EF) members." alt="" coords="1751,239,1985,265"><area shape="rect" href="pmsm_8h-source.html" title="work/git/mixpp/pmsm/pmsm.h" alt="" coords="563,161,779,188"><area shape="rect" href="sim__var__arx_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="111,239,377,265"><area shape="rect" href="ekf__templ_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="1209,239,1473,265"><area shape="rect" href="ekf__obj_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="764,239,1185,265"><area shape="rect" href="merger_8h.html" title="Mergers for combination of pdfs." alt="" coords="1744,316,1992,343"><area shape="rect" href="libPF_8h.html" title="Bayesian Filtering using stochastic sampling (Particle Filters)." alt="" coords="1497,239,1727,265"></map> 37 37 </div> 38 38 … … 59 59 60 60 <tr><td class="mdescLeft"> </td><td class="mdescRight">Unconditional <a class="el" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>, allows using <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> in the role of <a class="el" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>. <a href="classmepdf.html#_details">More...</a><br></td></tr> 61 <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classcompositepdf.html">compositepdf</a></td></tr> 62 63 <tr><td class="mdescLeft"> </td><td class="mdescRight">Abstract composition of pdfs, a base for specific classes. <a href="classcompositepdf.html#_details">More...</a><br></td></tr> 61 64 <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classDS.html">DS</a></td></tr> 62 65 … … 80 83 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 81 84 Using IT++ for numerical operations ----------------------------------- </div> 82 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 85 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by 83 86 <a href="http://www.doxygen.org/index.html"> 84 87 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/libBM_8h__dep__incl.map ¶
r171 r180 1 <area shape="rect" href="$libFN_8h-source.html" title="work/git/mixpp/bdm/stat/libFN.h" alt="" coords=" 649,84,871,111">2 <area shape="rect" href="$libEF_8h.html" title="Probability distributions for Exponential Family models." alt="" coords="1 305,84,1524,111">3 <area shape="rect" href="$emix_8h.html" title="Probability distributions for Mixtures of pdfs." alt="" coords="1 553,161,1775,188">4 <area shape="rect" href="$ merger_8h.html" title="Mergers for combination of pdfs." alt="" coords="1744,239,1981,265">5 <area shape="rect" href="$l ibDS_8h.html" title="Common DataSources." alt="" coords="1900,84,2124,111">6 <area shape="rect" href="$ loggers_8h.html" title="Loggers for storing results of experiments." alt="" coords="73,161,311,188">7 <area shape="rect" href="$ arx_8h.html" title="Bayesian Filtering for generalized autoregressive (ARX) model." alt="" coords="407,161,628,188">8 <area shape="rect" href="$ libKF_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="892,161,1121,188">9 <area shape="rect" href="$ pmsm__mix_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="791,316,1049,343">10 <area shape="rect" href="$ sim__var_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="339,239,576,265">11 <area shape="rect" href="$ mixef_8h.html" title="Bayesian Filtering for mixtures of exponential family (EF) members." alt="" coords="1384,239,1619,265">12 <area shape="rect" href="$ pmsm_8h-source.html" title="work/git/mixpp/pmsm/pmsm.h" alt="" coords="652,161,868,188">13 <area shape="rect" href="$ sim__var__arx_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="48,239,315,265">14 <area shape="rect" href="$ekf__ templ_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="1096,239,1360,265">15 <area shape="rect" href="$ ekf__obj_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="651,239,1072,265">16 <area shape="rect" href="$libPF_8h.html" title="Bayesian Filtering using stochastic sampling (Particle Filters)." alt="" coords="1 300,161,1529,188">1 <area shape="rect" href="$libFN_8h-source.html" title="work/git/mixpp/bdm/stat/libFN.h" alt="" coords="705,84,927,111"> 2 <area shape="rect" href="$libEF_8h.html" title="Probability distributions for Exponential Family models." alt="" coords="1012,84,1231,111"> 3 <area shape="rect" href="$emix_8h.html" title="Probability distributions for Mixtures of pdfs." alt="" coords="1715,161,1936,188"> 4 <area shape="rect" href="$libDS_8h.html" title="Common DataSources." alt="" coords="1305,84,1529,111"> 5 <area shape="rect" href="$loggers_8h.html" title="Loggers for storing results of experiments." alt="" coords="5,161,243,188"> 6 <area shape="rect" href="$arx_8h.html" title="Bayesian Filtering for generalized autoregressive (ARX) model." alt="" coords="267,161,488,188"> 7 <area shape="rect" href="$libKF_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="860,161,1089,188"> 8 <area shape="rect" href="$pmsm__mix_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="904,316,1163,343"> 9 <area shape="rect" href="$sim__var_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="401,239,639,265"> 10 <area shape="rect" href="$mixef_8h.html" title="Bayesian Filtering for mixtures of exponential family (EF) members." alt="" coords="1751,239,1985,265"> 11 <area shape="rect" href="$pmsm_8h-source.html" title="work/git/mixpp/pmsm/pmsm.h" alt="" coords="563,161,779,188"> 12 <area shape="rect" href="$sim__var__arx_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="111,239,377,265"> 13 <area shape="rect" href="$ekf__templ_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="1209,239,1473,265"> 14 <area shape="rect" href="$ekf__obj_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="764,239,1185,265"> 15 <area shape="rect" href="$merger_8h.html" title="Mergers for combination of pdfs." alt="" coords="1744,316,1992,343"> 16 <area shape="rect" href="$libPF_8h.html" title="Bayesian Filtering using stochastic sampling (Particle Filters)." alt="" coords="1497,239,1727,265"> -
TabularUnified doc/html/libBM_8h__dep__incl.md5 ¶
r171 r180 1 d7914bfc48be0ea06613d46b131b0585 1 3cf0dcbab159c440328ef3b97dfae1fd -
TabularUnified doc/html/libDC_8h-source.html ¶
r171 r180 171 171 <a name="l00281"></a>00281 <span class="preprocessor">#endif // DC_H</span> 172 172 </pre></div></div> 173 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:452008 for mixpp by 173 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 174 174 <a href="http://www.doxygen.org/index.html"> 175 175 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/libDC_8h.html ¶
r171 r180 34 34 <p><center><img src="libDC_8h__dep__incl.png" border="0" usemap="#work/git/mixpp/bdm/math/libDC.hdep_map" alt=""></center> 35 35 <map name="work/git/mixpp/bdm/math/libDC.hdep_map"> 36 <area shape="rect" href="libEF_8h.html" title="Probability distributions for Exponential Family models." alt="" coords=" 384,84,603,111"><area shape="rect" href="libPF_8h.html" title="Bayesian Filtering using stochastic sampling (Particle Filters)." alt="" coords="5,161,235,188"><area shape="rect" href="chmat_8h.html" title="Matrices in decomposed forms (LDL', LU, UDU', etc)." alt="" coords="1153,84,1393,111"><area shape="rect" href="arx_8h.html" title="Bayesian Filtering for generalized autoregressive (ARX) model." alt="" coords="669,161,891,188"><area shape="rect" href="libKF_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="1159,161,1388,188"><area shape="rect" href="mixef_8h.html" title="Bayesian Filtering for mixtures of exponential family (EF) members." alt="" coords="451,239,685,265"><area shape="rect" href="emix_8h.html" title="Probability distributions for Mixtures of pdfs." alt="" coords="309,161,531,188"><area shape="rect" href="merger_8h.html" title="Mergers for combination of pdfs." alt="" coords="139,239,376,265"><area shape="rect" href="sim__var__arx_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="709,239,976,265"><area shape="rect" href="ekf__templ_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="1000,239,1264,265"><area shape="rect" href="sim__var_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="1733,239,1971,265"><area shape="rect" href="ekf__obj_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="1288,239,1709,265"><area shape="rect" href="pmsm__mix_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="284,316,543,343"></map>36 <area shape="rect" href="libEF_8h.html" title="Probability distributions for Exponential Family models." alt="" coords="465,84,684,111"><area shape="rect" href="libPF_8h.html" title="Bayesian Filtering using stochastic sampling (Particle Filters)." alt="" coords="657,161,887,188"><area shape="rect" href="chmat_8h.html" title="Matrices in decomposed forms (LDL', LU, UDU', etc)." alt="" coords="973,84,1213,111"><area shape="rect" href="arx_8h.html" title="Bayesian Filtering for generalized autoregressive (ARX) model." alt="" coords="412,161,633,188"><area shape="rect" href="libKF_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="979,161,1208,188"><area shape="rect" href="mixef_8h.html" title="Bayesian Filtering for mixtures of exponential family (EF) members." alt="" coords="12,239,247,265"><area shape="rect" href="emix_8h.html" title="Probability distributions for Mixtures of pdfs." alt="" coords="167,161,388,188"><area shape="rect" href="sim__var__arx_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="321,239,588,265"><area shape="rect" href="ekf__templ_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="663,239,927,265"><area shape="rect" href="sim__var_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="1396,239,1633,265"><area shape="rect" href="ekf__obj_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="951,239,1372,265"><area shape="rect" href="pmsm__mix_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="496,316,755,343"><area shape="rect" href="merger_8h.html" title="Mergers for combination of pdfs." alt="" coords="5,316,253,343"></map> 37 37 </div> 38 38 … … 66 66 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 67 67 Using IT++ for numerical operations ----------------------------------- </div> 68 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 68 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by 69 69 <a href="http://www.doxygen.org/index.html"> 70 70 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/libDC_8h__dep__incl.map ¶
r171 r180 1 <area shape="rect" href="$libEF_8h.html" title="Probability distributions for Exponential Family models." alt="" coords=" 384,84,603,111">2 <area shape="rect" href="$libPF_8h.html" title="Bayesian Filtering using stochastic sampling (Particle Filters)." alt="" coords=" 5,161,235,188">3 <area shape="rect" href="$chmat_8h.html" title="Matrices in decomposed forms (LDL', LU, UDU', etc)." alt="" coords=" 1153,84,1393,111">4 <area shape="rect" href="$arx_8h.html" title="Bayesian Filtering for generalized autoregressive (ARX) model." alt="" coords=" 669,161,891,188">5 <area shape="rect" href="$libKF_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords=" 1159,161,1388,188">6 <area shape="rect" href="$mixef_8h.html" title="Bayesian Filtering for mixtures of exponential family (EF) members." alt="" coords=" 451,239,685,265">7 <area shape="rect" href="$emix_8h.html" title="Probability distributions for Mixtures of pdfs." alt="" coords=" 309,161,531,188">8 <area shape="rect" href="$ merger_8h.html" title="Mergers for combination of pdfs." alt="" coords="139,239,376,265">9 <area shape="rect" href="$ sim__var__arx_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="709,239,976,265">10 <area shape="rect" href="$ ekf__templ_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="1000,239,1264,265">11 <area shape="rect" href="$ sim__var_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="1733,239,1971,265">12 <area shape="rect" href="$ ekf__obj_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="1288,239,1709,265">13 <area shape="rect" href="$ pmsm__mix_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="284,316,543,343">1 <area shape="rect" href="$libEF_8h.html" title="Probability distributions for Exponential Family models." alt="" coords="465,84,684,111"> 2 <area shape="rect" href="$libPF_8h.html" title="Bayesian Filtering using stochastic sampling (Particle Filters)." alt="" coords="657,161,887,188"> 3 <area shape="rect" href="$chmat_8h.html" title="Matrices in decomposed forms (LDL', LU, UDU', etc)." alt="" coords="973,84,1213,111"> 4 <area shape="rect" href="$arx_8h.html" title="Bayesian Filtering for generalized autoregressive (ARX) model." alt="" coords="412,161,633,188"> 5 <area shape="rect" href="$libKF_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="979,161,1208,188"> 6 <area shape="rect" href="$mixef_8h.html" title="Bayesian Filtering for mixtures of exponential family (EF) members." alt="" coords="12,239,247,265"> 7 <area shape="rect" href="$emix_8h.html" title="Probability distributions for Mixtures of pdfs." alt="" coords="167,161,388,188"> 8 <area shape="rect" href="$sim__var__arx_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="321,239,588,265"> 9 <area shape="rect" href="$ekf__templ_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="663,239,927,265"> 10 <area shape="rect" href="$sim__var_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="1396,239,1633,265"> 11 <area shape="rect" href="$ekf__obj_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="951,239,1372,265"> 12 <area shape="rect" href="$pmsm__mix_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="496,316,755,343"> 13 <area shape="rect" href="$merger_8h.html" title="Mergers for combination of pdfs." alt="" coords="5,316,253,343"> -
TabularUnified doc/html/libDC_8h__dep__incl.md5 ¶
r171 r180 1 e 3e57c244cf1e79bc6dd266c065ae9dd1 e97eee49b4110cbb069e19e91a31781b -
TabularUnified doc/html/libDS_8h-source.html ¶
r171 r180 44 44 <a name="l00047"></a>00047 <span class="preprocessor">#endif // DS_H</span> 45 45 </pre></div></div> 46 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:452008 for mixpp by 46 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 47 47 <a href="http://www.doxygen.org/index.html"> 48 48 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/libDS_8h.html ¶
r171 r180 45 45 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 46 46 Using IT++ for numerical operations ----------------------------------- </div> 47 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 47 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by 48 48 <a href="http://www.doxygen.org/index.html"> 49 49 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/libEF_8h-source.html ¶
r171 r180 65 65 <a name="l00090"></a>00090 <span class="comment">//original Bayes</span> 66 66 <a name="l00091"></a>00091 <span class="keywordtype">void</span> <a class="code" href="classBMEF.html#8f4ecb6e2eaf630155a1fa98f35aa6ad" title="Weighted update of sufficient statistics (Bayes rule).">bayes</a> ( <span class="keyword">const</span> vec &dt ); 67 <a name="l00093"></a><a class="code" href="classBMEF.html#afda119ee86cadadfd2b67335a7cf052">00093</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBMEF.html#afda119ee86cadadfd2b67335a7cf052" title="Flatten the posterior.">flatten</a> ( <a class="code" href="classBMEF.html" title="Estimator for Exponential family.">BMEF</a> * B ) {it_error ( <span class="stringliteral">"Not implemented"</span> );}67 <a name="l00093"></a><a class="code" href="classBMEF.html#afda119ee86cadadfd2b67335a7cf052">00093</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBMEF.html#afda119ee86cadadfd2b67335a7cf052" title="Flatten the posterior.">flatten</a> ( <a class="code" href="classBMEF.html" title="Estimator for Exponential family.">BMEF</a> * B ) {it_error ( <span class="stringliteral">"Not implemented"</span> );} 68 68 <a name="l00094"></a>00094 }; 69 69 <a name="l00095"></a>00095 70 70 <a name="l00101"></a>00101 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 71 <a name="l00102"></a> 0010272 <a name="l00103"></a> <a class="code" href="classenorm.html">00103</a> <span class="keyword">class </span><a class="code" href="classenorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm</a> : <span class="keyword">public</span> <a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> {73 <a name="l0010 4"></a>00104 <span class="keyword">protected</span>:74 <a name="l0010 6"></a><a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20">00106</a> vec <a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>;75 <a name="l0010 8"></a><a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1">00108</a> sq_T <a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a>;76 <a name="l00110"></a> <a class="code" href="classenorm.html#6938fc390a19cdaf6ad4503fcbaada4e">00110</a> <span class="keywordtype">int</span> <a class="code" href="classenorm.html#6938fc390a19cdaf6ad4503fcbaada4e" title="dimension (redundant from rv.count() for easier coding )">dim</a>;77 <a name="l0011 1"></a>00111 <span class="keyword">public</span>:78 <a name="l0011 2"></a>00112 <span class="comment">// enorm() :eEF() {};</span>79 <a name="l0011 4"></a>00114 <span class="comment"></span> <a class="code" href="classenorm.html#7b5cb487a2570e8109bfdc0df149aa06" title="Default constructor.">enorm</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>);80 <a name="l0011 6"></a>00116 <span class="keywordtype">void</span> <a class="code" href="classenorm.html#1394a65caa6e00d42e00cc99b12227af" title="Set mean value mu and covariance R.">set_parameters</a> ( <span class="keyword">const</span> vec &<a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>,<span class="keyword">const</span> sq_T &<a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a>);81 <a name="l0011 8"></a>00118 <span class="keywordtype">void</span> <a class="code" href="classenorm.html#5b5fd142b6b17ea334597960e3fe126a" title="tupdate in exponential form (not really handy)">tupdate</a> ( <span class="keywordtype">double</span> phi, mat &vbar, <span class="keywordtype">double</span> nubar );82 <a name="l00120"></a>00120 <span class="keywordtype">void</span> <a class="code" href="classenorm.html#5bf185e31e5954fceb90ada3debd2ff2" title="dupdate in exponential form (not really handy)">dupdate</a> ( mat &v,<span class="keywordtype">double</span> nu=1.0 );83 <a name="l0012 1"></a>0012184 <a name="l0012 2"></a>00122 vec <a class="code" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5" title="Returns a sample, from density .">sample</a>() <span class="keyword">const</span>;85 <a name="l00124"></a>00124 mat <a class="code" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5" title="Returns a sample, from density .">sample</a> ( <span class="keywordtype">int</span> N) <span class="keyword">const</span>;86 <a name="l00125"></a>00125 <span class="keywordtype">double</span> <a class="code" href="classenorm.html#b 9e1dfd33692d7b3f1a59f17b0e61bd0" title="Compute probability of argument val.">eval</a> ( <span class="keyword">const</span> vec &val ) <span class="keyword">const</span>;87 <a name="l00126"></a> 00126 <span class="keywordtype">double</span> <a class="code" href="classenorm.html#609a7c33dbb4fdfab050f3bdd1122401" title="Evaluate normalized log-probability.">evalpdflog</a> ( <span class="keyword">const</span> vec &val ) <span class="keyword">const</span>;88 <a name="l00127"></a>00127 <span class="keywordtype">double</span> <a class="code" href="classenorm.html#b289a36a69db59d182bb6eba9c05d4a8" title="logarithm of the normalizing constant, ">lognc</a> () <span class="keyword">const</span>;89 <a name="l00128"></a> <a class="code" href="classenorm.html#50fa84da7bae02f7af17a98f37566899">00128</a> vec <a class="code" href="classenorm.html#50fa84da7bae02f7af17a98f37566899" title="return expected value">mean</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>;}90 <a name="l001 29"></a>0012991 <a name="l0013 0"></a>00130 <span class="comment">//Access methods</span>92 <a name="l0013 2"></a><a class="code" href="classenorm.html#0b8cb284e5af920a1b64a21d057ec5ac">00132</a> <span class="comment"></span> vec& <a class="code" href="classenorm.html#0b8cb284e5af920a1b64a21d057ec5ac" title="returns a pointer to the internal mean value. Use with Care!">_mu</a>() {<span class="keywordflow">return</span> <a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>;}93 <a name="l0013 3"></a>0013394 <a name="l0013 5"></a><a class="code" href="classenorm.html#d892a38f03be12e572ea57d9689cef6b">00135</a> <span class="keywordtype">void</span> <a class="code" href="classenorm.html#d892a38f03be12e572ea57d9689cef6b" title="access function">set_mu</a> ( <span class="keyword">const</span> vec mu0 ) { <a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>=mu0;}95 <a name="l0013 6"></a>0013696 <a name="l0013 8"></a><a class="code" href="classenorm.html#7a5034b25771a84450a990d10fc40ac9">00138</a> sq_T& <a class="code" href="classenorm.html#7a5034b25771a84450a990d10fc40ac9" title="returns pointers to the internal variance and its inverse. Use with Care!">_R</a>() {<span class="keywordflow">return</span> <a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a>;}97 <a name="l001 39"></a>0013998 <a name="l00141"></a> <a class="code" href="classenorm.html#9b9f58dc86affa23511c246887420658">00141</a> mat <a class="code" href="classenorm.html#9b9f58dc86affa23511c246887420658" title="access method">getR</a> () {<span class="keywordflow">return</span> <a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a>.to_mat();}99 <a name="l0014 2"></a>00142 };100 <a name="l0014 3"></a>00143101 <a name="l0015 0"></a><a class="code" href="classegiw.html">00150</a> <span class="keyword">class </span><a class="code" href="classegiw.html" title="Gauss-inverse-Wishart density stored in LD form.">egiw</a> : <span class="keyword">public</span> <a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> {102 <a name="l0015 1"></a>00151 <span class="keyword">protected</span>:103 <a name="l0015 3"></a><a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442">00153</a> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (typically known as UD).">ldmat</a> <a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442" title="Extended information matrix of sufficient statistics.">V</a>;104 <a name="l0015 5"></a><a class="code" href="classegiw.html#4a2f130b91afe84f6d62fed289d5d453">00155</a> <span class="keywordtype">double</span> <a class="code" href="classegiw.html#4a2f130b91afe84f6d62fed289d5d453" title="Number of data records (degrees of freedom) of sufficient statistics.">nu</a>;105 <a name="l0015 7"></a><a class="code" href="classegiw.html#3d5c719f15a5527a6c62c2a53160148e">00157</a> <span class="keywordtype">int</span> <a class="code" href="classegiw.html#3d5c719f15a5527a6c62c2a53160148e" title="Dimension of the output.">xdim</a>;106 <a name="l001 59"></a><a class="code" href="classegiw.html#c70d13d86e0d9f0acede3e1dc0368812">00159</a> <span class="keywordtype">int</span> <a class="code" href="classegiw.html#c70d13d86e0d9f0acede3e1dc0368812" title="Dimension of the regressor.">nPsi</a>;107 <a name="l0016 0"></a>00160 <span class="keyword">public</span>:108 <a name="l00162"></a> <a class="code" href="classegiw.html#c52a2173c6eb1490edce9c6c7c05d60b">00162</a> <a class="code" href="classegiw.html#c52a2173c6eb1490edce9c6c7c05d60b" title="Default constructor, assuming.">egiw</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>, mat V0, <span class="keywordtype">double</span> nu0 ) : <a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> ( rv ), <a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442" title="Extended information matrix of sufficient statistics.">V</a> ( V0 ), <a class="code" href="classegiw.html#4a2f130b91afe84f6d62fed289d5d453" title="Number of data records (degrees of freedom) of sufficient statistics.">nu</a> ( nu0 ) {109 <a name="l00163"></a>00163 <a class="code" href="classegiw.html# 3d5c719f15a5527a6c62c2a53160148e" title="Dimension of the output.">xdim</a> = rv.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() /<a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442" title="Extended information matrix of sufficient statistics.">V</a>.<a class="code" href="classldmat.html#96dfb21865db4f5bd36fa70f9b0b1163" title="access function">rows</a>();110 <a name="l00164"></a>00164 it_assert_debug ( rv.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() ==<a class="code" href="classegiw.html#3d5c719f15a5527a6c62c2a53160148e" title="Dimension of the output.">xdim</a>*<a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442" title="Extended information matrix of sufficient statistics.">V</a>.<a class="code" href="classldmat.html#96dfb21865db4f5bd36fa70f9b0b1163" title="access function">rows</a>(),<span class="stringliteral">"Incompatible V0."</span> );111 <a name="l0016 5"></a>00165 <a class="code" href="classegiw.html#c70d13d86e0d9f0acede3e1dc0368812" title="Dimension of the regressor.">nPsi</a> = <a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442" title="Extended information matrix of sufficient statistics.">V</a>.<a class="code" href="classldmat.html#96dfb21865db4f5bd36fa70f9b0b1163" title="access function">rows</a>()-<a class="code" href="classegiw.html#3d5c719f15a5527a6c62c2a53160148e" title="Dimension of the output.">xdim</a>;112 <a name="l0016 6"></a>00166 }113 <a name="l00168"></a> <a class="code" href="classegiw.html#1a17fdbac6c72b9c3abb97623db466c8">00168</a> <a class="code" href="classegiw.html#c52a2173c6eb1490edce9c6c7c05d60b" title="Default constructor, assuming.">egiw</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>, <a class="code" href="classldmat.html" title="Matrix stored in LD form, (typically known as UD).">ldmat</a> V0, <span class="keywordtype">double</span> nu0 ) : <a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> ( rv ), <a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442" title="Extended information matrix of sufficient statistics.">V</a> ( V0 ), <a class="code" href="classegiw.html#4a2f130b91afe84f6d62fed289d5d453" title="Number of data records (degrees of freedom) of sufficient statistics.">nu</a> ( nu0 ) {114 <a name="l00169"></a>00169 <a class="code" href="classegiw.html# 3d5c719f15a5527a6c62c2a53160148e" title="Dimension of the output.">xdim</a> = rv.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() /<a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442" title="Extended information matrix of sufficient statistics.">V</a>.<a class="code" href="classldmat.html#96dfb21865db4f5bd36fa70f9b0b1163" title="access function">rows</a>();115 <a name="l00170"></a>00170 it_assert_debug ( rv.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() ==<a class="code" href="classegiw.html#3d5c719f15a5527a6c62c2a53160148e" title="Dimension of the output.">xdim</a>*<a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442" title="Extended information matrix of sufficient statistics.">V</a>.<a class="code" href="classldmat.html#96dfb21865db4f5bd36fa70f9b0b1163" title="access function">rows</a>(),<span class="stringliteral">"Incompatible V0."</span> );116 <a name="l00171"></a>00171 <a class="code" href="classegiw.html#c70d13d86e0d9f0acede3e1dc0368812" title="Dimension of the regressor.">nPsi</a> = <a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442" title="Extended information matrix of sufficient statistics.">V</a>.<a class="code" href="classldmat.html#96dfb21865db4f5bd36fa70f9b0b1163" title="access function">rows</a>()-<a class="code" href="classegiw.html#3d5c719f15a5527a6c62c2a53160148e" title="Dimension of the output.">xdim</a>;117 <a name="l00172"></a>00172 }118 <a name="l00173"></a>00173 119 <a name="l00174"></a>00174 vec <a class="code" href="classegiw.html#3d2c1f2ba0f9966781f1e0ae695e8a6f" title="Returns a sample, from density .">sample</a>() <span class="keyword">const</span>;120 <a name="l0017 5"></a>00175 vec <a class="code" href="classegiw.html#6deb0ff2859f41ef7cbdf6a842cabb29" title="return expected value">mean</a>() <span class="keyword">const</span>;121 <a name="l0017 6"></a>00176 <span class="keywordtype">void</span> mean_mat ( mat &M, mat&R) <span class="keyword">const</span>;122 <a name="l00178"></a>00178 <span class="keywordtype">double</span> <a class="code" href="classegiw.html#2ab1e525d692be8272a6f383d60b94cd" title="In this instance, val= [theta, r]. For multivariate instances, it is stored columnwise...">evalpdflog_nn</a> ( <span class="keyword">const</span> vec &val ) <span class="keyword">const</span>;123 <a name="l00179"></a>00179 <span class=" keywordtype">double</span> <a class="code" href="classegiw.html#70eb1a0b88459b227f919b425b0d3359" title="logarithm of the normalizing constant, ">lognc</a> () <span class="keyword">const</span>;124 <a name="l0018 0"></a>00180125 <a name="l0018 1"></a>00181 <span class="comment">//Access</span>126 <a name="l0018 3"></a><a class="code" href="classegiw.html#533e792e1175bfa06d5d595dc5d080d5">00183</a> <span class="comment"></span> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (typically known as UD).">ldmat</a>& <a class="code" href="classegiw.html#533e792e1175bfa06d5d595dc5d080d5" title="returns a pointer to the internal statistics. Use with Care!">_V</a>() {<span class="keywordflow">return</span> <a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442" title="Extended information matrix of sufficient statistics.">V</a>;}127 <a name="l00185"></a> <a class="code" href="classegiw.html#08029c481ff95d24f093df0573879afe">00185</a> <span class="keywordtype">double</span>& <a class="code" href="classegiw.html#08029c481ff95d24f093df0573879afe" title="returns a pointer to the internal statistics. Use with Care!">_nu</a>() {<span class="keywordflow">return</span> <a class="code" href="classegiw.html#4a2f130b91afe84f6d62fed289d5d453" title="Number of data records (degrees of freedom) of sufficient statistics.">nu</a>;}128 <a name="l00186"></a>00186 <span class="keywordtype">void</span> <a class="code" href="classegiw.html#036306322a90a9977834baac07460816" title="Power of the density, used e.g. to flatten the density.">pow</a> ( <span class="keywordtype">double</span> p );129 <a name="l001 87"></a>00187 };130 <a name="l001 88"></a>00188131 <a name="l0019 7"></a><a class="code" href="classeDirich.html">00197</a> <span class="keyword">class </span><a class="code" href="classeDirich.html" title="Dirichlet posterior density.">eDirich</a>: <span class="keyword">public</span> <a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> {132 <a name="l0019 8"></a>00198 <span class="keyword">protected</span>:133 <a name="l0020 0"></a><a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7">00200</a> vec <a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a>;134 <a name="l0020 1"></a>00201 <span class="keyword">public</span>:135 <a name="l0020 3"></a><a class="code" href="classeDirich.html#ac7e6116f3575c3860d07355e96cd4af">00203</a> <a class="code" href="classeDirich.html#ac7e6116f3575c3860d07355e96cd4af" title="Default constructor.">eDirich</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>, <span class="keyword">const</span> vec &beta0 ) : <a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> ( rv ),<a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a> ( beta0 ) {it_assert_debug ( rv.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() ==<a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a>.length(),<span class="stringliteral">"Incompatible statistics"</span> );};136 <a name="l00205"></a><a class="code" href="classeDirich.html# 55cccbc5eb44764dce722567acf5fd58">00205</a> <a class="code" href="classeDirich.html#ac7e6116f3575c3860d07355e96cd4af" title="Default constructor.">eDirich</a> ( <span class="keyword">const</span> <a class="code" href="classeDirich.html" title="Dirichlet posterior density.">eDirich</a> &D0 ) : <a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> ( D0.<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a> ),<a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a> ( D0.<a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a> ) {};137 <a name="l0020 6"></a><a class="code" href="classeDirich.html#23dff79110822e9639343fe8e177fd80">00206</a> vec <a class="code" href="classeDirich.html#23dff79110822e9639343fe8e177fd80" title="Returns a sample, from density .">sample</a>()<span class="keyword"> const </span>{it_error ( <span class="stringliteral">"Not implemented"</span> );<span class="keywordflow">return</span> vec_1 ( 0.0);};138 <a name="l0020 7"></a><a class="code" href="classeDirich.html#4206e1da149d51ff3b663c9241096b73">00207</a> vec <a class="code" href="classeDirich.html#4206e1da149d51ff3b663c9241096b73" title="return expected value">mean</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a>/sum ( <a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a> );};139 <a name="l00209"></a> <a class="code" href="classeDirich.html#688a24f04be6d80d4769cf0e4ded7acc">00209</a> <span class="keywordtype">double</span> <a class="code" href="classeDirich.html#688a24f04be6d80d4769cf0e4ded7acc" title="In this instance, val= [theta, r]. For multivariate instances, it is stored columnwise...">evalpdflog_nn</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{<span class="keywordflow">return</span> ( <a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a>-1 ) *log ( val );};140 <a name="l00210"></a> <a class="code" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77">00210</a> <span class="keywordtype">double</span> <a class="code" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77" title="logarithm of the normalizing constant, ">lognc</a> ()<span class="keyword"> const </span>{141 <a name="l00211"></a>00211 <span class="keyword type">double</span> gam=sum ( <a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a> );142 <a name="l00212"></a>00212 <span class="keyword type">double</span> lgb=0.0;143 <a name="l00213"></a>00213 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a>.length();i++ ) {lgb+=lgamma ( <a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a> ( i ) );}144 <a name="l0021 4"></a>00214 <span class="keywordflow">return</span> lgb-lgamma ( gam );145 <a name="l0021 5"></a>00215 };146 <a name="l0021 7"></a><a class="code" href="classeDirich.html#6409d0362143a23976b43641ff19e53a">00217</a> vec& <a class="code" href="classeDirich.html#6409d0362143a23976b43641ff19e53a" title="access function">_beta</a>() {<span class="keywordflow">return</span> <a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a>;}147 <a name="l0021 8"></a>00218 };148 <a name="l002 19"></a>00219149 <a name="l00221"></a> <a class="code" href="classmultiBM.html">00221</a> <span class="keyword">class </span><a class="code" href="classmultiBM.html" title="Estimator for Multinomial density.">multiBM</a> : <span class="keyword">public</span> <a class="code" href="classBMEF.html" title="Estimator for Exponential family.">BMEF</a> {150 <a name="l00222"></a>00222 <span class="keyword">protected</span>:151 <a name="l0022 4"></a><a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5">00224</a> <a class="code" href="classeDirich.html" title="Dirichlet posterior density.">eDirich</a> <a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a>;152 <a name="l0022 5"></a>00225 vec &beta;153 <a name="l0022 6"></a>00226 <span class="keyword">public</span>:154 <a name="l0022 8"></a><a class="code" href="classmultiBM.html#7d7d7e78c129602bcde96078359dc6e5">00228</a> <a class="code" href="classmultiBM.html#7d7d7e78c129602bcde96078359dc6e5" title="Default constructor.">multiBM</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>, <span class="keyword">const</span> vec beta0 ) : <a class="code" href="classBMEF.html" title="Estimator for Exponential family.">BMEF</a> ( rv ),<a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a> ( rv,beta0 ),beta ( <a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a>._beta() ) {<a class="code" href="classBMEF.html#308cf5d4133cd471fdf1ecd5dfa09d02" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>=<a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a>.<a class="code" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77" title="logarithm of the normalizing constant, ">lognc</a>();}155 <a name="l002 30"></a><a class="code" href="classmultiBM.html#b92751adbfb9f259ca8c95232cfd9c09">00230</a> <a class="code" href="classmultiBM.html#7d7d7e78c129602bcde96078359dc6e5" title="Default constructor.">multiBM</a> ( <span class="keyword">const</span> <a class="code" href="classmultiBM.html" title="Estimator for Multinomial density.">multiBM</a> &B ) : <a class="code" href="classBMEF.html" title="Estimator for Exponential family.">BMEF</a> ( B ),<a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a> ( <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>,B.beta ),beta ( <a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a>._beta() ) {}156 <a name="l0023 1"></a>00231157 <a name="l0023 2"></a>00232 <span class="keywordtype">void</span> set_statistics ( <span class="keyword">const</span> <a class="code" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a>* mB0 ) {<span class="keyword">const</span> <a class="code" href="classmultiBM.html" title="Estimator for Multinomial density.">multiBM</a>* mB=<span class="keyword">dynamic_cast<</span><span class="keyword">const </span><a class="code" href="classmultiBM.html" title="Estimator for Multinomial density.">multiBM</a>*<span class="keyword">></span> ( mB0 ); beta=mB-><a class="code" href="classmultiBM.html#7b606116aed7e8834a339cbb0424b1d6">beta</a>;}158 <a name="l0023 3"></a><a class="code" href="classmultiBM.html#11eeba7e97954e316e959116f90d80e2">00233</a> <span class="keywordtype">void</span> <a class="code" href="classmultiBM.html#11eeba7e97954e316e959116f90d80e2" title="Incremental Bayes rule.">bayes</a> ( <span class="keyword">const</span> vec &dt ) {159 <a name="l00234"></a> 00234 <span class="keywordflow">if</span> ( <a class="code" href="classBMEF.html#538d632e59f9afa8daa1de74da12ce71" title="forgetting factor">frg</a><1.0 ) {beta*=<a class="code" href="classBMEF.html#538d632e59f9afa8daa1de74da12ce71" title="forgetting factor">frg</a>;<a class="code" href="classBMEF.html#308cf5d4133cd471fdf1ecd5dfa09d02" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>=<a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a>.<a class="code" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77" title="logarithm of the normalizing constant, ">lognc</a>();}160 <a name="l0023 5"></a>00235 beta+=dt;161 <a name="l0023 6"></a>00236 <span class="keywordflow">if</span> ( <a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a> ) {<a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a>=<a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a>.<a class="code" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77" title="logarithm of the normalizing constant, ">lognc</a>()-<a class="code" href="classBMEF.html#308cf5d4133cd471fdf1ecd5dfa09d02" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>;}162 <a name="l0023 7"></a>00237}163 <a name="l0023 8"></a><a class="code" href="classmultiBM.html#13e26a61757278981fd8cac9a7ef91eb">00238</a> <span class="keywordtype">double</span> <a class="code" href="classmultiBM.html#13e26a61757278981fd8cac9a7ef91eb">logpred</a> ( <span class="keyword">const</span> vec &dt )<span class="keyword"> const </span>{164 <a name="l002 39"></a>00239 <a class="code" href="classeDirich.html" title="Dirichlet posterior density.">eDirich</a> pred ( <a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a> );165 <a name="l0024 0"></a>00240 vec &beta = pred.<a class="code" href="classeDirich.html#6409d0362143a23976b43641ff19e53a" title="access function">_beta</a>();166 <a name="l0024 1"></a>00241167 <a name="l0024 2"></a>00242 <span class="keywordtype">double</span> lll;168 <a name="l0024 3"></a>00243 <span class="keywordflow">if</span> ( <a class="code" href="classBMEF.html#538d632e59f9afa8daa1de74da12ce71" title="forgetting factor">frg</a><1.0 )169 <a name="l0024 4"></a>00244 {beta*=<a class="code" href="classBMEF.html#538d632e59f9afa8daa1de74da12ce71" title="forgetting factor">frg</a>;lll=pred.<a class="code" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77" title="logarithm of the normalizing constant, ">lognc</a>();}170 <a name="l0024 5"></a>00245 <span class="keywordflow">else</span>171 <a name="l0024 6"></a>00246 <span class="keywordflow">if</span> ( <a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a> ) {lll=<a class="code" href="classBMEF.html#308cf5d4133cd471fdf1ecd5dfa09d02" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>;}172 <a name="l0024 7"></a>00247 <span class="keywordflow">else</span>{lll=pred.<a class="code" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77" title="logarithm of the normalizing constant, ">lognc</a>();}173 <a name="l0024 8"></a>00248174 <a name="l002 49"></a>00249 beta+=dt;175 <a name="l0025 0"></a>00250 <span class="keywordflow">return</span> pred.<a class="code" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77" title="logarithm of the normalizing constant, ">lognc</a>()-lll;176 <a name="l0025 1"></a>00251}177 <a name="l0025 2"></a><a class="code" href="classmultiBM.html#58257073a90aab5d1aafbc9b805d324a">00252</a> <span class="keywordtype">void</span> <a class="code" href="classmultiBM.html#58257073a90aab5d1aafbc9b805d324a" title="Flatten the posterior.">flatten</a> (<a class="code" href="classBMEF.html" title="Estimator for Exponential family.">BMEF</a>* B ) {178 <a name="l0025 3"></a>00253 <a class="code" href="classeDirich.html" title="Dirichlet posterior density.">eDirich</a>* E=<span class="keyword">dynamic_cast<</span><a class="code" href="classeDirich.html" title="Dirichlet posterior density.">eDirich</a>*<span class="keyword">></span>(B);179 <a name="l0025 4"></a>00254 <span class="comment">// sum(beta) should be equal to sum(B.beta)</span>180 <a name="l0025 5"></a>00255 <span class="keyword">const</span> vec &Eb=E-><a class="code" href="classeDirich.html#6409d0362143a23976b43641ff19e53a" title="access function">_beta</a>();181 <a name="l0025 6"></a>00256 <a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a>.<a class="code" href="classeEF.html#4f8385dd1cc9740522dc373b1dc3cbf5" title="Power of the density, used e.g. to flatten the density.">pow</a> ( sum(beta)/sum(Eb) );182 <a name="l0025 7"></a>00257 <span class="keywordflow">if</span>(<a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a>){<a class="code" href="classBMEF.html#308cf5d4133cd471fdf1ecd5dfa09d02" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>=<a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a>.<a class="code" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77" title="logarithm of the normalizing constant, ">lognc</a>();}183 <a name="l0025 8"></a>00258 }184 <a name="l002 59"></a><a class="code" href="classmultiBM.html#66cdfd83a70bc281840ab0646b941684">00259</a> <span class="keyword">const</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>& <a class="code" href="classmultiBM.html#66cdfd83a70bc281840ab0646b941684" title="Returns a pointer to the epdf representing posterior density on parameters. Use with...">_epdf</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a>;};185 <a name="l00261"></a>00261 };186 <a name="l00262"></a>00262 187 <a name="l002 72"></a><a class="code" href="classegamma.html">00272</a> <span class="keyword">class </span><a class="code" href="classegamma.html" title="Gamma posterior density.">egamma</a> : <span class="keyword">public</span> <a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> {188 <a name="l002 73"></a>00273 <span class="keyword">protected</span>:189 <a name="l002 75"></a><a class="code" href="classegamma.html#376cebd8932546c440f21b182910b01b">00275</a> vec <a class="code" href="classegamma.html#376cebd8932546c440f21b182910b01b" title="Vector .">alpha</a>;190 <a name="l002 77"></a><a class="code" href="classegamma.html#cfc5f136467488a421ab22f886323790">00277</a> vec <a class="code" href="classegamma.html#cfc5f136467488a421ab22f886323790" title="Vector .">beta</a>;191 <a name="l002 78"></a>00278 <span class="keyword">public</span> :192 <a name="l002 80"></a><a class="code" href="classegamma.html#4b1d34f3b244ea51a58ec10c468788c1">00280</a> <a class="code" href="classegamma.html#4b1d34f3b244ea51a58ec10c468788c1" title="Default constructor.">egamma</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a> ) :<a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> ( rv ) {};193 <a name="l002 82"></a><a class="code" href="classegamma.html#8e348b89be82b70471fe8c5630f61339">00282</a> <span class="keywordtype">void</span> <a class="code" href="classegamma.html#8e348b89be82b70471fe8c5630f61339" title="Sets parameters.">set_parameters</a> ( <span class="keyword">const</span> vec &a, <span class="keyword">const</span> vec &b ) {<a class="code" href="classegamma.html#376cebd8932546c440f21b182910b01b" title="Vector .">alpha</a>=a,<a class="code" href="classegamma.html#cfc5f136467488a421ab22f886323790" title="Vector .">beta</a>=b;};194 <a name="l002 83"></a>00283 vec <a class="code" href="classegamma.html#8e10c0021b5dfdd9cb62c6959b5ef425" title="Returns a sample, from density .">sample</a>() <span class="keyword">const</span>;195 <a name="l002 85"></a>00285 <span class="comment">// mat sample ( int N ) const;</span>196 <a name="l002 86"></a>00286 <span class="keywordtype">double</span> <a class="code" href="classegamma.html#de84faac8f9799dfe2777ddbedf997ef" title="TODO: is it used anywhere?">evalpdflog</a> ( <span class="keyword">const</span> vec &val ) <span class="keyword">const</span>;197 <a name="l0028 7"></a>00287 <span class="keywordtype">double</span> <a class="code" href="classegamma.html#d6dbbdb72360f9e54d64501f80318bb6" title="logarithm of the normalizing constant, ">lognc</a> () <span class="keyword">const</span>;198 <a name="l0028 9"></a><a class="code" href="classegamma.html#44445c56e60b91b377f207f8d5089790">00289</a> <span class="keywordtype">void</span> <a class="code" href="classegamma.html#44445c56e60b91b377f207f8d5089790" title="Returns poiter to alpha and beta. Potentially dengerous: use with care!">_param</a> ( vec* &a, vec* &b ) {a=&<a class="code" href="classegamma.html#376cebd8932546c440f21b182910b01b" title="Vector .">alpha</a>;b=&<a class="code" href="classegamma.html#cfc5f136467488a421ab22f886323790" title="Vector .">beta</a>;};199 <a name="l002 90"></a><a class="code" href="classegamma.html#6ab5ba56f7cdb2e5921c3e77524fa50a">00290</a> vec <a class="code" href="classegamma.html#6ab5ba56f7cdb2e5921c3e77524fa50a" title="return expected value">mean</a>()<span class="keyword"> const </span>{vec pom ( <a class="code" href="classegamma.html#376cebd8932546c440f21b182910b01b" title="Vector .">alpha</a> ); pom/=<a class="code" href="classegamma.html#cfc5f136467488a421ab22f886323790" title="Vector .">beta</a>; <span class="keywordflow">return</span> pom;}200 <a name="l002 91"></a>00291 };201 <a name="l002 92"></a>00292 <span class="comment">/*</span>202 <a name="l0029 4"></a>00294 <span class="comment">class emix : public epdf {</span>203 <a name="l0029 5"></a>00295 <span class="comment">protected:</span>204 <a name="l0029 6"></a>00296 <span class="comment"> int n;</span>205 <a name="l0029 7"></a>00297 <span class="comment"> vec &w;</span>206 <a name="l0029 8"></a>00298 <span class="comment"> Array<epdf*> Coms;</span>207 <a name="l0029 9"></a>00299 <span class="comment">public:</span>208 <a name="l00 301"></a>00301 <span class="comment"> emix ( const RV &rv, vec &w0): epdf(rv), n(w0.length()), w(w0), Coms(n) {};</span>209 <a name="l0030 2"></a>00302 <span class="comment"> void set_parameters( int &i, double wi, epdf* ep){w(i)=wi;Coms(i)=ep;}</span>210 <a name="l0030 3"></a>00303 <span class="comment"> vec mean(){vec pom; for(int i=0;i<n;i++){pom+=Coms(i)->mean()*w(i);} return pom;};</span>211 <a name="l0030 4"></a>00304 <span class="comment"> vec sample() {it_error ( "Not implemented" );return 0;}</span>212 <a name="l0030 5"></a>00305 <span class="comment">};</span>213 <a name="l0030 6"></a>00306 <span class="comment">*/</span>214 <a name="l0030 7"></a>00307215 <a name="l0030 9"></a>00309216 <a name="l003 10"></a><a class="code" href="classeuni.html">00310</a> <span class="keyword">class </span><a class="code" href="classeuni.html" title="Uniform distributed density on a rectangular support.">euni</a>: <span class="keyword">public</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> {217 <a name="l003 11"></a>00311 <span class="keyword">protected</span>:218 <a name="l0031 3"></a><a class="code" href="classeuni.html#ef42cd8d7645422048d46c46ec5cdac1">00313</a> vec <a class="code" href="classeuni.html#ef42cd8d7645422048d46c46ec5cdac1" title="lower bound on support">low</a>;219 <a name="l0031 5"></a><a class="code" href="classeuni.html#71b6d6b41aeb61a7f76f682b72119231">00315</a> vec <a class="code" href="classeuni.html#71b6d6b41aeb61a7f76f682b72119231" title="upper bound on support">high</a>;220 <a name="l0031 7"></a><a class="code" href="classeuni.html#52a6ff4a54010f88a6a19fca605c64a4">00317</a> vec <a class="code" href="classeuni.html#52a6ff4a54010f88a6a19fca605c64a4" title="internal">distance</a>;221 <a name="l0031 9"></a><a class="code" href="classeuni.html#63105490e946e43372d6187ad1bafdda">00319</a> <span class="keywordtype">double</span> <a class="code" href="classeuni.html#63105490e946e43372d6187ad1bafdda" title="normalizing coefficients">nk</a>;222 <a name="l003 21"></a><a class="code" href="classeuni.html#f445a0ce24f39d14c1a4eed53fc8e2c3">00321</a> <span class="keywordtype">double</span> <a class="code" href="classeuni.html#f445a0ce24f39d14c1a4eed53fc8e2c3" title="cache of log( nk )">lnk</a>;223 <a name="l003 22"></a>00322 <span class="keyword">public</span>:224 <a name="l003 24"></a><a class="code" href="classeuni.html#2537a6c239cff52e3ba814851a1116cd">00324</a> <a class="code" href="classeuni.html#2537a6c239cff52e3ba814851a1116cd" title="Defualt constructor.">euni</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a> ) :<a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( rv ) {}225 <a name="l003 25"></a><a class="code" href="classeuni.html#2723d4992900b5c5495bfa03628195ed">00325</a> <span class="keywordtype">double</span> <a class="code" href="classeuni.html#2723d4992900b5c5495bfa03628195ed" title="Compute probability of argument val.">eval</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classeuni.html#63105490e946e43372d6187ad1bafdda" title="normalizing coefficients">nk</a>;}226 <a name="l0032 6"></a><a class="code" href="classeuni.html#06af95d514a6623ad4688bd2ad50ad71">00326</a> <span class="keywordtype">double</span> <a class="code" href="classeuni.html#06af95d514a6623ad4688bd2ad50ad71" title="Compute log-probability of argument val.">evalpdflog</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classeuni.html#f445a0ce24f39d14c1a4eed53fc8e2c3" title="cache of log( nk )">lnk</a>;}227 <a name="l0032 7"></a><a class="code" href="classeuni.html#4a0e09392be17beaee120ba98fc038cd">00327</a> vec <a class="code" href="classeuni.html#4a0e09392be17beaee120ba98fc038cd" title="Returns a sample, from density .">sample</a>()<span class="keyword"> const </span>{228 <a name="l0032 8"></a>00328 vec smp ( <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() );229 <a name="l0032 9"></a>00329 <span class="preprocessor">#pragma omp critical</span>230 <a name="l003 30"></a>00330 <span class="preprocessor"></span> UniRNG.sample_vector ( <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>(),smp );231 <a name="l003 31"></a>00331 <span class="keywordflow">return</span> <a class="code" href="classeuni.html#ef42cd8d7645422048d46c46ec5cdac1" title="lower bound on support">low</a>+elem_mult ( <a class="code" href="classeuni.html#52a6ff4a54010f88a6a19fca605c64a4" title="internal">distance</a>,smp );232 <a name="l0033 2"></a>00332 }233 <a name="l0033 4"></a><a class="code" href="classeuni.html#4fd7c6a05100616ad16ece405cad7bf2">00334</a> <span class="keywordtype">void</span> <a class="code" href="classeuni.html#4fd7c6a05100616ad16ece405cad7bf2" title="set values of low and high ">set_parameters</a> ( <span class="keyword">const</span> vec &low0, <span class="keyword">const</span> vec &high0 ) {234 <a name="l0033 5"></a>00335 <a class="code" href="classeuni.html#52a6ff4a54010f88a6a19fca605c64a4" title="internal">distance</a> = high0-low0;235 <a name="l0033 6"></a>00336 it_assert_debug ( min ( <a class="code" href="classeuni.html#52a6ff4a54010f88a6a19fca605c64a4" title="internal">distance</a> ) >0.0,<span class="stringliteral">"bad support"</span> );236 <a name="l0033 7"></a>00337 <a class="code" href="classeuni.html#ef42cd8d7645422048d46c46ec5cdac1" title="lower bound on support">low</a> = low0;237 <a name="l0033 8"></a>00338 <a class="code" href="classeuni.html#71b6d6b41aeb61a7f76f682b72119231" title="upper bound on support">high</a> = high0;238 <a name="l0033 9"></a>00339 <a class="code" href="classeuni.html#63105490e946e43372d6187ad1bafdda" title="normalizing coefficients">nk</a> = prod ( 1.0/<a class="code" href="classeuni.html#52a6ff4a54010f88a6a19fca605c64a4" title="internal">distance</a>);239 <a name="l003 40"></a>00340 <a class="code" href="classeuni.html#f445a0ce24f39d14c1a4eed53fc8e2c3" title="cache of log( nk )">lnk</a> = log ( <a class="code" href="classeuni.html#63105490e946e43372d6187ad1bafdda" title="normalizing coefficients">nk</a> );240 <a name="l0034 1"></a>00341 }241 <a name="l0034 2"></a><a class="code" href="classeuni.html#8050087e421a9cfd1b4b1f8bd33b1cc1">00342</a> vec <a class="code" href="classeuni.html#8050087e421a9cfd1b4b1f8bd33b1cc1" title="return expected value">mean</a>()<span class="keyword"> const </span>{vec pom=<a class="code" href="classeuni.html#71b6d6b41aeb61a7f76f682b72119231" title="upper bound on support">high</a>; pom-=<a class="code" href="classeuni.html#ef42cd8d7645422048d46c46ec5cdac1" title="lower bound on support">low</a>; pom/=2.0; <span class="keywordflow">return</span> pom;}242 <a name="l0034 3"></a>00343 };243 <a name="l00344"></a> 00344244 <a name="l00345"></a>00345 245 <a name="l003 51"></a>00351 <span class="keyword">template</span><<span class="keyword">class</span> sq_T>246 <a name="l003 52"></a><a class="code" href="classmlnorm.html">00352</a> <span class="keyword">class </span><a class="code" href="classmlnorm.html" title="Normal distributed linear function with linear function of mean value;.">mlnorm</a> : <span class="keyword">public</span> <a class="code" href="classmEF.html" title="Exponential family model.">mEF</a> {247 <a name="l003 54"></a>00354 <a class="code" href="classenorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm<sq_T></a> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>;248 <a name="l003 55"></a>00355 mat A;249 <a name="l0035 6"></a>00356 vec& _mu; <span class="comment">//cached epdf.mu;</span>250 <a name="l0035 7"></a>00357 <span class="keyword">public</span>:251 <a name="l0035 9"></a>00359 <a class="code" href="classmlnorm.html#f927203b3f31171c5c10ffc7caa797f5" title="Constructor.">mlnorm</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>,<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a> );252 <a name="l003 61"></a>00361 <span class="keywordtype">void</span> <a class="code" href="classmlnorm.html#b6749030c5d5abcb3eb6898f74cea3c0" title="Set A and R.">set_parameters</a> ( <span class="keyword">const</span> mat &A, <span class="keyword">const</span> sq_T &R );253 <a name="l003 63"></a>00363 vec <a class="code" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18" title="Generate one sample of the posterior.">samplecond</a> ( vec &cond, <span class="keywordtype">double</span> &lik );254 <a name="l003 65"></a>00365 mat <a class="code" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18" title="Generate one sample of the posterior.">samplecond</a> ( vec &cond, vec &lik, <span class="keywordtype">int</span> n );255 <a name="l0036 7"></a>00367 <span class="keywordtype">void</span> <a class="code" href="classmlnorm.html#5232fc7e305eceab4e2bd6a8daa44195" title="Set value of rvc . Result of this operation is stored in epdf use function _ep to...">condition</a> ( vec &cond );256 <a name="l0036 8"></a>00368 };257 <a name="l0036 9"></a>00369258 <a name="l003 79"></a><a class="code" href="classmgamma.html">00379</a> <span class="keyword">class </span><a class="code" href="classmgamma.html" title="Gamma random walk.">mgamma</a> : <span class="keyword">public</span> <a class="code" href="classmEF.html" title="Exponential family model.">mEF</a> {259 <a name="l003 80"></a>00380 <span class="keyword">protected</span>:260 <a name="l003 82"></a><a class="code" href="classmgamma.html#612dbf35c770a780027619aaac2c443e">00382</a> <a class="code" href="classegamma.html" title="Gamma posterior density.">egamma</a> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>;261 <a name="l003 84"></a><a class="code" href="classmgamma.html#43f733cce0245a52363d566099add687">00384</a> <span class="keywordtype">double</span> <a class="code" href="classmgamma.html#43f733cce0245a52363d566099add687" title="Constant .">k</a>;262 <a name="l003 86"></a><a class="code" href="classmgamma.html#5e90652837448bcc29707e7412f99691">00386</a> vec* <a class="code" href="classmgamma.html#5e90652837448bcc29707e7412f99691" title="cache of epdf.beta">_beta</a>;263 <a name="l003 87"></a>00387264 <a name="l003 88"></a>00388 <span class="keyword">public</span>:265 <a name="l003 90"></a>00390 <a class="code" href="classmgamma.html#af43e61b86900c0398d5c0ffc83b94e6" title="Constructor.">mgamma</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>,<span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a>);266 <a name="l003 92"></a>00392 <span class="keywordtype">void</span> <a class="code" href="classmgamma.html#a9d646cf758a70126dde7c48790b6e94" title="Set value of k.">set_parameters</a> ( <span class="keywordtype">double</span> <a class="code" href="classmgamma.html#43f733cce0245a52363d566099add687" title="Constant .">k</a> );267 <a name="l003 93"></a><a class="code" href="classmgamma.html#a61094c9f7a2d64ea77b130cbc031f97">00393</a> <span class="keywordtype">void</span> <a class="code" href="classmgamma.html#a61094c9f7a2d64ea77b130cbc031f97" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &val ) {*<a class="code" href="classmgamma.html#5e90652837448bcc29707e7412f99691" title="cache of epdf.beta">_beta</a>=<a class="code" href="classmgamma.html#43f733cce0245a52363d566099add687" title="Constant .">k</a>/val;};268 <a name="l003 94"></a>00394 };269 <a name="l0039 5"></a>00395270 <a name="l00 407"></a><a class="code" href="classmgamma__fix.html">00407</a> <span class="keyword">class </span><a class="code" href="classmgamma__fix.html" title="Gamma random walk around a fixed point.">mgamma_fix</a> : <span class="keyword">public</span> <a class="code" href="classmgamma.html" title="Gamma random walk.">mgamma</a> {271 <a name="l00 408"></a>00408 <span class="keyword">protected</span>:272 <a name="l00 410"></a><a class="code" href="classmgamma__fix.html#3f48c09caddc298901ad75fe7c0529f6">00410</a> <span class="keywordtype">double</span> <a class="code" href="classmgamma__fix.html#3f48c09caddc298901ad75fe7c0529f6" title="parameter l">l</a>;273 <a name="l00 412"></a><a class="code" href="classmgamma__fix.html#81ce49029ecc385418619b200dcafeb0">00412</a> vec <a class="code" href="classmgamma__fix.html#81ce49029ecc385418619b200dcafeb0" title="reference vector">refl</a>;274 <a name="l00 413"></a>00413<span class="keyword">public</span>:275 <a name="l004 15"></a><a class="code" href="classmgamma__fix.html#b92c3d2e5fd0381033a072e5ef3bcf80">00415</a> <a class="code" href="classmgamma__fix.html#b92c3d2e5fd0381033a072e5ef3bcf80" title="Constructor.">mgamma_fix</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>,<span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a> ) : <a class="code" href="classmgamma.html" title="Gamma random walk.">mgamma</a> ( rv,rvc ),<a class="code" href="classmgamma__fix.html#81ce49029ecc385418619b200dcafeb0" title="reference vector">refl</a> ( rv.count() ) {};276 <a name="l004 17"></a><a class="code" href="classmgamma__fix.html#ec6f846896749e27cb7be9fa48dd1cb1">00417</a> <span class="keywordtype">void</span> <a class="code" href="classmgamma__fix.html#ec6f846896749e27cb7be9fa48dd1cb1" title="Set value of k.">set_parameters</a> ( <span class="keywordtype">double</span> k0 , vec ref0, <span class="keywordtype">double</span> l0 ) {277 <a name="l004 18"></a>00418 <a class="code" href="classmgamma.html#a9d646cf758a70126dde7c48790b6e94" title="Set value of k.">mgamma::set_parameters</a> ( k0 );278 <a name="l004 19"></a>00419 <a class="code" href="classmgamma__fix.html#81ce49029ecc385418619b200dcafeb0" title="reference vector">refl</a>=pow ( ref0,1.0-l0 );<a class="code" href="classmgamma__fix.html#3f48c09caddc298901ad75fe7c0529f6" title="parameter l">l</a>=l0;279 <a name="l004 20"></a>00420 };280 <a name="l004 21"></a>00421281 <a name="l004 22"></a><a class="code" href="classmgamma__fix.html#6ea3931eec7b7da7b693e45981052460">00422</a> <span class="keywordtype">void</span> <a class="code" href="classmgamma__fix.html#6ea3931eec7b7da7b693e45981052460" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &val ) {vec mean=elem_mult ( <a class="code" href="classmgamma__fix.html#81ce49029ecc385418619b200dcafeb0" title="reference vector">refl</a>,pow ( val,<a class="code" href="classmgamma__fix.html#3f48c09caddc298901ad75fe7c0529f6" title="parameter l">l</a> ) ); *<a class="code" href="classmgamma.html#5e90652837448bcc29707e7412f99691" title="cache of epdf.beta">_beta</a>=<a class="code" href="classmgamma.html#43f733cce0245a52363d566099add687" title="Constant .">k</a>/mean;};282 <a name="l0042 3"></a>00423 };283 <a name="l0042 4"></a>00424284 <a name="l0042 6"></a><a class="code" href="libEF_8h.html#99497a3ff630f761cf6bff7babd23212">00426</a> <span class="keyword">enum</span> <a class="code" href="libEF_8h.html#99497a3ff630f761cf6bff7babd23212" title="Switch between various resampling methods.">RESAMPLING_METHOD</a> { MULTINOMIAL = 0, STRATIFIED = 1, SYSTEMATIC = 3 };285 <a name="l004 32"></a><a class="code" href="classeEmp.html">00432</a> <span class="keyword">class </span><a class="code" href="classeEmp.html" title="Weighted empirical density.">eEmp</a>: <span class="keyword">public</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> {286 <a name="l004 33"></a>00433 <span class="keyword">protected</span> :287 <a name="l004 35"></a><a class="code" href="classeEmp.html#8c33034de0e35f03f8bb85d3d67438fd">00435</a> <span class="keywordtype">int</span> <a class="code" href="classeEmp.html#8c33034de0e35f03f8bb85d3d67438fd" title="Number of particles.">n</a>;288 <a name="l004 37"></a><a class="code" href="classeEmp.html#ae78d144404ddba843c93b171b215de8">00437</a> vec <a class="code" href="classeEmp.html#ae78d144404ddba843c93b171b215de8" title="Sample weights .">w</a>;289 <a name="l0043 9"></a><a class="code" href="classeEmp.html#a4d6f4bbd6a6824fc39f14676701279a">00439</a> Array<vec> <a class="code" href="classeEmp.html#a4d6f4bbd6a6824fc39f14676701279a" title="Samples .">samples</a>;290 <a name="l004 40"></a>00440 <span class="keyword">public</span>:291 <a name="l004 42"></a><a class="code" href="classeEmp.html#0c04b073ecd0dae3d498e680ae27e9e4">00442</a> <a class="code" href="classeEmp.html#0c04b073ecd0dae3d498e680ae27e9e4" title="Default constructor.">eEmp</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv0 ,<span class="keywordtype">int</span> n0 ) :<a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( rv0 ),<a class="code" href="classeEmp.html#8c33034de0e35f03f8bb85d3d67438fd" title="Number of particles.">n</a> ( n0 ),<a class="code" href="classeEmp.html#ae78d144404ddba843c93b171b215de8" title="Sample weights .">w</a> ( <a class="code" href="classeEmp.html#8c33034de0e35f03f8bb85d3d67438fd" title="Number of particles.">n</a> ),<a class="code" href="classeEmp.html#a4d6f4bbd6a6824fc39f14676701279a" title="Samples .">samples</a> ( <a class="code" href="classeEmp.html#8c33034de0e35f03f8bb85d3d67438fd" title="Number of particles.">n</a> ) {};292 <a name="l004 44"></a>00444 <span class="keywordtype">void</span> <a class="code" href="classeEmp.html#6606a656c1b28114f7384c25aaf80e8d" title="Set sample.">set_parameters</a> ( <span class="keyword">const</span> vec &w0, <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* pdf0 );293 <a name="l004 46"></a><a class="code" href="classeEmp.html#31b2bfb73b72486a5c89f2ab850c7a9b">00446</a> vec& <a class="code" href="classeEmp.html#31b2bfb73b72486a5c89f2ab850c7a9b" title="Potentially dangerous, use with care.">_w</a>() {<span class="keywordflow">return</span> <a class="code" href="classeEmp.html#ae78d144404ddba843c93b171b215de8" title="Sample weights .">w</a>;};294 <a name="l004 48"></a><a class="code" href="classeEmp.html#31b747eca73b16f30370827ba4cc3575">00448</a> Array<vec>& <a class="code" href="classeEmp.html#31b747eca73b16f30370827ba4cc3575" title="access function">_samples</a>() {<span class="keywordflow">return</span> <a class="code" href="classeEmp.html#a4d6f4bbd6a6824fc39f14676701279a" title="Samples .">samples</a>;};295 <a name="l004 50"></a>00450 ivec <a class="code" href="classeEmp.html#77268292fc4465cb73ddbfb1f2932a59" title="Function performs resampling, i.e. removal of low-weight samples and duplication...">resample</a> ( <a class="code" href="libEF_8h.html#99497a3ff630f761cf6bff7babd23212" title="Switch between various resampling methods.">RESAMPLING_METHOD</a> method = SYSTEMATIC );296 <a name="l004 52"></a><a class="code" href="classeEmp.html#83f9283f92b805508d896479dc1ccf12">00452</a> vec <a class="code" href="classeEmp.html#83f9283f92b805508d896479dc1ccf12" title="inherited operation : NOT implemneted">sample</a>()<span class="keyword"> const </span>{it_error ( <span class="stringliteral">"Not implemented"</span> );<span class="keywordflow">return</span> 0;}297 <a name="l004 54"></a><a class="code" href="classeEmp.html#23e7358995400865ad2e278945922fb3">00454</a> <span class="keywordtype">double</span> <a class="code" href="classeEmp.html#23e7358995400865ad2e278945922fb3" title="inherited operation : NOT implemneted">evalpdflog</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{it_error ( <span class="stringliteral">"Not implemented"</span> );<span class="keywordflow">return</span> 0.0;}298 <a name="l004 55"></a><a class="code" href="classeEmp.html#ba055c19038cc72628d98e25197e982d">00455</a> vec <a class="code" href="classeEmp.html#ba055c19038cc72628d98e25197e982d" title="return expected value">mean</a>()<span class="keyword"> const </span>{299 <a name="l004 56"></a>00456 vec pom=zeros ( <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() );300 <a name="l0045 7"></a>00457 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classeEmp.html#8c33034de0e35f03f8bb85d3d67438fd" title="Number of particles.">n</a>;i++ ) {pom+=<a class="code" href="classeEmp.html#a4d6f4bbd6a6824fc39f14676701279a" title="Samples .">samples</a> ( i ) *<a class="code" href="classeEmp.html#ae78d144404ddba843c93b171b215de8" title="Sample weights .">w</a> ( i );}301 <a name="l0045 8"></a>00458 <span class="keywordflow">return</span> pom;302 <a name="l0045 9"></a>00459 }303 <a name="l004 60"></a>00460 };304 <a name="l004 61"></a>00461305 <a name="l0046 2"></a>00462306 <a name="l0046 4"></a>00464307 <a name="l0046 5"></a>00465 <span class="keyword">template</span><<span class="keyword">class</span> sq_T>308 <a name="l00466"></a><a class="code" href="classe norm.html#7b5cb487a2570e8109bfdc0df149aa06">00466</a> <a class="code" href="classenorm.html#7b5cb487a2570e8109bfdc0df149aa06" title="Default constructor.">enorm<sq_T>::enorm</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv ) :<a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> ( rv ), mu ( rv.count() ),R ( rv.count() ),dim ( rv.count() ) {};309 <a name="l00467"></a> 00467310 <a name="l00468"></a>00468 <span class="keyword">template</span><<span class="keyword">class</span> sq_T>311 <a name="l00469"></a> <a class="code" href="classenorm.html#1394a65caa6e00d42e00cc99b12227af">00469</a> <span class="keywordtype">void</span> <a class="code" href="classenorm.html#1394a65caa6e00d42e00cc99b12227af" title="Set mean value mu and covariance R.">enorm<sq_T>::set_parameters</a> ( <span class="keyword">const</span> vec &mu0, <span class="keyword">const</span> sq_T &R0 ) {312 <a name="l00470"></a>00470 <span class="comment">//Fixme test dimensions of mu0 and R0;</span>313 <a name="l00471"></a>00471 <a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a> = mu0;314 <a name="l00472"></a>00472 <a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a> = R0;315 <a name="l00473"></a>00473 };71 <a name="l00102"></a><a class="code" href="classenorm.html">00102</a> <span class="keyword">class </span><a class="code" href="classenorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm</a> : <span class="keyword">public</span> <a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> { 72 <a name="l00103"></a>00103 <span class="keyword">protected</span>: 73 <a name="l00105"></a><a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20">00105</a> vec <a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>; 74 <a name="l00107"></a><a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1">00107</a> sq_T <a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a>; 75 <a name="l00109"></a><a class="code" href="classenorm.html#6938fc390a19cdaf6ad4503fcbaada4e">00109</a> <span class="keywordtype">int</span> <a class="code" href="classenorm.html#6938fc390a19cdaf6ad4503fcbaada4e" title="dimension (redundant from rv.count() for easier coding )">dim</a>; 76 <a name="l00110"></a>00110 <span class="keyword">public</span>: 77 <a name="l00112"></a>00112 <a class="code" href="classenorm.html#7b5cb487a2570e8109bfdc0df149aa06" title="Default constructor.">enorm</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a> ); 78 <a name="l00114"></a>00114 <span class="keywordtype">void</span> <a class="code" href="classenorm.html#1394a65caa6e00d42e00cc99b12227af" title="Set mean value mu and covariance R.">set_parameters</a> ( <span class="keyword">const</span> vec &<a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>,<span class="keyword">const</span> sq_T &<a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a> ); 79 <a name="l00116"></a>00116 <span class="keywordtype">void</span> <a class="code" href="classenorm.html#5b5fd142b6b17ea334597960e3fe126a" title="tupdate in exponential form (not really handy)">tupdate</a> ( <span class="keywordtype">double</span> phi, mat &vbar, <span class="keywordtype">double</span> nubar ); 80 <a name="l00118"></a>00118 <span class="keywordtype">void</span> <a class="code" href="classenorm.html#5bf185e31e5954fceb90ada3debd2ff2" title="dupdate in exponential form (not really handy)">dupdate</a> ( mat &v,<span class="keywordtype">double</span> nu=1.0 ); 81 <a name="l00119"></a>00119 82 <a name="l00120"></a>00120 vec <a class="code" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5" title="Returns a sample, from density .">sample</a>() <span class="keyword">const</span>; 83 <a name="l00122"></a>00122 mat <a class="code" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5" title="Returns a sample, from density .">sample</a> ( <span class="keywordtype">int</span> N ) <span class="keyword">const</span>; 84 <a name="l00123"></a>00123 <span class="keywordtype">double</span> <a class="code" href="classenorm.html#b9e1dfd33692d7b3f1a59f17b0e61bd0" title="Compute probability of argument val.">eval</a> ( <span class="keyword">const</span> vec &val ) <span class="keyword">const</span> ; 85 <a name="l00124"></a>00124 <span class="keywordtype">double</span> <a class="code" href="classenorm.html#c1e3dcba256b0153cfdb286120e110be" title="Evaluate normalized log-probability.">evalpdflog_nn</a> ( <span class="keyword">const</span> vec &val ) <span class="keyword">const</span>; 86 <a name="l00125"></a>00125 <span class="keywordtype">double</span> <a class="code" href="classenorm.html#b289a36a69db59d182bb6eba9c05d4a8" title="logarithm of the normalizing constant, ">lognc</a> () <span class="keyword">const</span>; 87 <a name="l00126"></a><a class="code" href="classenorm.html#50fa84da7bae02f7af17a98f37566899">00126</a> vec <a class="code" href="classenorm.html#50fa84da7bae02f7af17a98f37566899" title="return expected value">mean</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>;} 88 <a name="l00127"></a>00127 89 <a name="l00128"></a>00128 <span class="comment">//Access methods</span> 90 <a name="l00130"></a><a class="code" href="classenorm.html#0b8cb284e5af920a1b64a21d057ec5ac">00130</a> <span class="comment"></span> vec& <a class="code" href="classenorm.html#0b8cb284e5af920a1b64a21d057ec5ac" title="returns a pointer to the internal mean value. Use with Care!">_mu</a>() {<span class="keywordflow">return</span> <a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>;} 91 <a name="l00131"></a>00131 92 <a name="l00133"></a><a class="code" href="classenorm.html#d892a38f03be12e572ea57d9689cef6b">00133</a> <span class="keywordtype">void</span> <a class="code" href="classenorm.html#d892a38f03be12e572ea57d9689cef6b" title="access function">set_mu</a> ( <span class="keyword">const</span> vec mu0 ) { <a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>=mu0;} 93 <a name="l00134"></a>00134 94 <a name="l00136"></a><a class="code" href="classenorm.html#7a5034b25771a84450a990d10fc40ac9">00136</a> sq_T& <a class="code" href="classenorm.html#7a5034b25771a84450a990d10fc40ac9" title="returns pointers to the internal variance and its inverse. Use with Care!">_R</a>() {<span class="keywordflow">return</span> <a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a>;} 95 <a name="l00137"></a>00137 96 <a name="l00139"></a>00139 <span class="comment">// mat getR () {return R.to_mat();}</span> 97 <a name="l00140"></a>00140 }; 98 <a name="l00141"></a>00141 99 <a name="l00148"></a><a class="code" href="classegiw.html">00148</a> <span class="keyword">class </span><a class="code" href="classegiw.html" title="Gauss-inverse-Wishart density stored in LD form.">egiw</a> : <span class="keyword">public</span> <a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> { 100 <a name="l00149"></a>00149 <span class="keyword">protected</span>: 101 <a name="l00151"></a><a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442">00151</a> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (typically known as UD).">ldmat</a> <a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442" title="Extended information matrix of sufficient statistics.">V</a>; 102 <a name="l00153"></a><a class="code" href="classegiw.html#4a2f130b91afe84f6d62fed289d5d453">00153</a> <span class="keywordtype">double</span> <a class="code" href="classegiw.html#4a2f130b91afe84f6d62fed289d5d453" title="Number of data records (degrees of freedom) of sufficient statistics.">nu</a>; 103 <a name="l00155"></a><a class="code" href="classegiw.html#3d5c719f15a5527a6c62c2a53160148e">00155</a> <span class="keywordtype">int</span> <a class="code" href="classegiw.html#3d5c719f15a5527a6c62c2a53160148e" title="Dimension of the output.">xdim</a>; 104 <a name="l00157"></a><a class="code" href="classegiw.html#c70d13d86e0d9f0acede3e1dc0368812">00157</a> <span class="keywordtype">int</span> <a class="code" href="classegiw.html#c70d13d86e0d9f0acede3e1dc0368812" title="Dimension of the regressor.">nPsi</a>; 105 <a name="l00158"></a>00158 <span class="keyword">public</span>: 106 <a name="l00160"></a><a class="code" href="classegiw.html#c52a2173c6eb1490edce9c6c7c05d60b">00160</a> <a class="code" href="classegiw.html#c52a2173c6eb1490edce9c6c7c05d60b" title="Default constructor, assuming.">egiw</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>, mat V0, <span class="keywordtype">double</span> nu0 ) : <a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> ( rv ), <a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442" title="Extended information matrix of sufficient statistics.">V</a> ( V0 ), <a class="code" href="classegiw.html#4a2f130b91afe84f6d62fed289d5d453" title="Number of data records (degrees of freedom) of sufficient statistics.">nu</a> ( nu0 ) { 107 <a name="l00161"></a>00161 <a class="code" href="classegiw.html#3d5c719f15a5527a6c62c2a53160148e" title="Dimension of the output.">xdim</a> = rv.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() /<a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442" title="Extended information matrix of sufficient statistics.">V</a>.<a class="code" href="classldmat.html#96dfb21865db4f5bd36fa70f9b0b1163" title="access function">rows</a>(); 108 <a name="l00162"></a>00162 it_assert_debug ( rv.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() ==<a class="code" href="classegiw.html#3d5c719f15a5527a6c62c2a53160148e" title="Dimension of the output.">xdim</a>*<a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442" title="Extended information matrix of sufficient statistics.">V</a>.<a class="code" href="classldmat.html#96dfb21865db4f5bd36fa70f9b0b1163" title="access function">rows</a>(),<span class="stringliteral">"Incompatible V0."</span> ); 109 <a name="l00163"></a>00163 <a class="code" href="classegiw.html#c70d13d86e0d9f0acede3e1dc0368812" title="Dimension of the regressor.">nPsi</a> = <a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442" title="Extended information matrix of sufficient statistics.">V</a>.<a class="code" href="classldmat.html#96dfb21865db4f5bd36fa70f9b0b1163" title="access function">rows</a>()-<a class="code" href="classegiw.html#3d5c719f15a5527a6c62c2a53160148e" title="Dimension of the output.">xdim</a>; 110 <a name="l00164"></a>00164 } 111 <a name="l00166"></a><a class="code" href="classegiw.html#1a17fdbac6c72b9c3abb97623db466c8">00166</a> <a class="code" href="classegiw.html#c52a2173c6eb1490edce9c6c7c05d60b" title="Default constructor, assuming.">egiw</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>, <a class="code" href="classldmat.html" title="Matrix stored in LD form, (typically known as UD).">ldmat</a> V0, <span class="keywordtype">double</span> nu0 ) : <a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> ( rv ), <a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442" title="Extended information matrix of sufficient statistics.">V</a> ( V0 ), <a class="code" href="classegiw.html#4a2f130b91afe84f6d62fed289d5d453" title="Number of data records (degrees of freedom) of sufficient statistics.">nu</a> ( nu0 ) { 112 <a name="l00167"></a>00167 <a class="code" href="classegiw.html#3d5c719f15a5527a6c62c2a53160148e" title="Dimension of the output.">xdim</a> = rv.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() /<a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442" title="Extended information matrix of sufficient statistics.">V</a>.<a class="code" href="classldmat.html#96dfb21865db4f5bd36fa70f9b0b1163" title="access function">rows</a>(); 113 <a name="l00168"></a>00168 it_assert_debug ( rv.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() ==<a class="code" href="classegiw.html#3d5c719f15a5527a6c62c2a53160148e" title="Dimension of the output.">xdim</a>*<a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442" title="Extended information matrix of sufficient statistics.">V</a>.<a class="code" href="classldmat.html#96dfb21865db4f5bd36fa70f9b0b1163" title="access function">rows</a>(),<span class="stringliteral">"Incompatible V0."</span> ); 114 <a name="l00169"></a>00169 <a class="code" href="classegiw.html#c70d13d86e0d9f0acede3e1dc0368812" title="Dimension of the regressor.">nPsi</a> = <a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442" title="Extended information matrix of sufficient statistics.">V</a>.<a class="code" href="classldmat.html#96dfb21865db4f5bd36fa70f9b0b1163" title="access function">rows</a>()-<a class="code" href="classegiw.html#3d5c719f15a5527a6c62c2a53160148e" title="Dimension of the output.">xdim</a>; 115 <a name="l00170"></a>00170 } 116 <a name="l00171"></a>00171 117 <a name="l00172"></a>00172 vec <a class="code" href="classegiw.html#3d2c1f2ba0f9966781f1e0ae695e8a6f" title="Returns a sample, from density .">sample</a>() <span class="keyword">const</span>; 118 <a name="l00173"></a>00173 vec <a class="code" href="classegiw.html#6deb0ff2859f41ef7cbdf6a842cabb29" title="return expected value">mean</a>() <span class="keyword">const</span>; 119 <a name="l00174"></a>00174 <span class="keywordtype">void</span> mean_mat ( mat &M, mat&R ) <span class="keyword">const</span>; 120 <a name="l00176"></a>00176 <span class="keywordtype">double</span> <a class="code" href="classegiw.html#2ab1e525d692be8272a6f383d60b94cd" title="In this instance, val= [theta, r]. For multivariate instances, it is stored columnwise...">evalpdflog_nn</a> ( <span class="keyword">const</span> vec &val ) <span class="keyword">const</span>; 121 <a name="l00177"></a>00177 <span class="keywordtype">double</span> <a class="code" href="classegiw.html#70eb1a0b88459b227f919b425b0d3359" title="logarithm of the normalizing constant, ">lognc</a> () <span class="keyword">const</span>; 122 <a name="l00178"></a>00178 123 <a name="l00179"></a>00179 <span class="comment">//Access</span> 124 <a name="l00181"></a><a class="code" href="classegiw.html#533e792e1175bfa06d5d595dc5d080d5">00181</a> <span class="comment"></span> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (typically known as UD).">ldmat</a>& <a class="code" href="classegiw.html#533e792e1175bfa06d5d595dc5d080d5" title="returns a pointer to the internal statistics. Use with Care!">_V</a>() {<span class="keywordflow">return</span> <a class="code" href="classegiw.html#f343d03ede89db820edf44a6297fa442" title="Extended information matrix of sufficient statistics.">V</a>;} 125 <a name="l00183"></a><a class="code" href="classegiw.html#08029c481ff95d24f093df0573879afe">00183</a> <span class="keywordtype">double</span>& <a class="code" href="classegiw.html#08029c481ff95d24f093df0573879afe" title="returns a pointer to the internal statistics. Use with Care!">_nu</a>() {<span class="keywordflow">return</span> <a class="code" href="classegiw.html#4a2f130b91afe84f6d62fed289d5d453" title="Number of data records (degrees of freedom) of sufficient statistics.">nu</a>;} 126 <a name="l00184"></a>00184 <span class="keywordtype">void</span> <a class="code" href="classegiw.html#036306322a90a9977834baac07460816" title="Power of the density, used e.g. to flatten the density.">pow</a> ( <span class="keywordtype">double</span> p ); 127 <a name="l00185"></a>00185 }; 128 <a name="l00186"></a>00186 129 <a name="l00195"></a><a class="code" href="classeDirich.html">00195</a> <span class="keyword">class </span><a class="code" href="classeDirich.html" title="Dirichlet posterior density.">eDirich</a>: <span class="keyword">public</span> <a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> { 130 <a name="l00196"></a>00196 <span class="keyword">protected</span>: 131 <a name="l00198"></a><a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7">00198</a> vec <a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a>; 132 <a name="l00199"></a>00199 <span class="keyword">public</span>: 133 <a name="l00201"></a><a class="code" href="classeDirich.html#ac7e6116f3575c3860d07355e96cd4af">00201</a> <a class="code" href="classeDirich.html#ac7e6116f3575c3860d07355e96cd4af" title="Default constructor.">eDirich</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>, <span class="keyword">const</span> vec &beta0 ) : <a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> ( rv ),<a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a> ( beta0 ) {it_assert_debug ( rv.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() ==<a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a>.length(),<span class="stringliteral">"Incompatible statistics"</span> ); }; 134 <a name="l00203"></a><a class="code" href="classeDirich.html#55cccbc5eb44764dce722567acf5fd58">00203</a> <a class="code" href="classeDirich.html#ac7e6116f3575c3860d07355e96cd4af" title="Default constructor.">eDirich</a> ( <span class="keyword">const</span> <a class="code" href="classeDirich.html" title="Dirichlet posterior density.">eDirich</a> &D0 ) : <a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> ( D0.<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a> ),<a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a> ( D0.<a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a> ) {}; 135 <a name="l00204"></a><a class="code" href="classeDirich.html#23dff79110822e9639343fe8e177fd80">00204</a> vec <a class="code" href="classeDirich.html#23dff79110822e9639343fe8e177fd80" title="Returns a sample, from density .">sample</a>()<span class="keyword"> const </span>{it_error ( <span class="stringliteral">"Not implemented"</span> );<span class="keywordflow">return</span> vec_1 ( 0.0 );}; 136 <a name="l00205"></a><a class="code" href="classeDirich.html#4206e1da149d51ff3b663c9241096b73">00205</a> vec <a class="code" href="classeDirich.html#4206e1da149d51ff3b663c9241096b73" title="return expected value">mean</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a>/sum ( <a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a> );}; 137 <a name="l00207"></a><a class="code" href="classeDirich.html#688a24f04be6d80d4769cf0e4ded7acc">00207</a> <span class="keywordtype">double</span> <a class="code" href="classeDirich.html#688a24f04be6d80d4769cf0e4ded7acc" title="In this instance, val is ...">evalpdflog_nn</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{<span class="keywordflow">return</span> ( <a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a>-1 ) *log ( val );}; 138 <a name="l00208"></a><a class="code" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77">00208</a> <span class="keywordtype">double</span> <a class="code" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77" title="logarithm of the normalizing constant, ">lognc</a> ()<span class="keyword"> const </span>{ 139 <a name="l00209"></a>00209 <span class="keywordtype">double</span> gam=sum ( <a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a> ); 140 <a name="l00210"></a>00210 <span class="keywordtype">double</span> lgb=0.0; 141 <a name="l00211"></a>00211 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a>.length();i++ ) {lgb+=lgamma ( <a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a> ( i ) );} 142 <a name="l00212"></a>00212 <span class="keywordflow">return</span> lgb-lgamma ( gam ); 143 <a name="l00213"></a>00213 }; 144 <a name="l00215"></a><a class="code" href="classeDirich.html#6409d0362143a23976b43641ff19e53a">00215</a> vec& <a class="code" href="classeDirich.html#6409d0362143a23976b43641ff19e53a" title="access function">_beta</a>() {<span class="keywordflow">return</span> <a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a>;} 145 <a name="l00217"></a><a class="code" href="classeDirich.html#c842acb2e1cce5cc9000769ff06c086d">00217</a> <span class="keywordtype">void</span> <a class="code" href="classeDirich.html#c842acb2e1cce5cc9000769ff06c086d" title="Set internal parameters.">set_parameters</a>(<span class="keyword">const</span> vec &beta0){ 146 <a name="l00218"></a>00218 <span class="keywordflow">if</span>(beta0.length()!=<a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a>.length()){ 147 <a name="l00219"></a>00219 it_assert_debug(<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>.<a class="code" href="classRV.html#c114a6f3ff06796cc2f4dacba74291eb" title="Return length (number of entries) of the RV.">length</a>()==1,<span class="stringliteral">"Undefined"</span>); 148 <a name="l00220"></a>00220 <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>.<a class="code" href="classRV.html#70b24c39c5130b1e4753fa2eef495433" title="access function">set_size</a>(0,beta0.length()); 149 <a name="l00221"></a>00221 } 150 <a name="l00222"></a>00222 <a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a>= beta0; 151 <a name="l00223"></a>00223 } 152 <a name="l00224"></a>00224 }; 153 <a name="l00225"></a>00225 154 <a name="l00227"></a><a class="code" href="classmultiBM.html">00227</a> <span class="keyword">class </span><a class="code" href="classmultiBM.html" title="Estimator for Multinomial density.">multiBM</a> : <span class="keyword">public</span> <a class="code" href="classBMEF.html" title="Estimator for Exponential family.">BMEF</a> { 155 <a name="l00228"></a>00228 <span class="keyword">protected</span>: 156 <a name="l00230"></a><a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5">00230</a> <a class="code" href="classeDirich.html" title="Dirichlet posterior density.">eDirich</a> <a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a>; 157 <a name="l00231"></a>00231 vec &beta; 158 <a name="l00232"></a>00232 <span class="keyword">public</span>: 159 <a name="l00234"></a><a class="code" href="classmultiBM.html#7d7d7e78c129602bcde96078359dc6e5">00234</a> <a class="code" href="classmultiBM.html#7d7d7e78c129602bcde96078359dc6e5" title="Default constructor.">multiBM</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>, <span class="keyword">const</span> vec beta0 ) : <a class="code" href="classBMEF.html" title="Estimator for Exponential family.">BMEF</a> ( rv ),<a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a> ( rv,beta0 ),beta ( <a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a>._beta() ) {<a class="code" href="classBMEF.html#308cf5d4133cd471fdf1ecd5dfa09d02" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>=<a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a>.<a class="code" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77" title="logarithm of the normalizing constant, ">lognc</a>();} 160 <a name="l00236"></a><a class="code" href="classmultiBM.html#b92751adbfb9f259ca8c95232cfd9c09">00236</a> <a class="code" href="classmultiBM.html#7d7d7e78c129602bcde96078359dc6e5" title="Default constructor.">multiBM</a> ( <span class="keyword">const</span> <a class="code" href="classmultiBM.html" title="Estimator for Multinomial density.">multiBM</a> &B ) : <a class="code" href="classBMEF.html" title="Estimator for Exponential family.">BMEF</a> ( B ),<a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a> ( <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>,B.beta ),beta ( <a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a>._beta() ) {} 161 <a name="l00237"></a>00237 162 <a name="l00238"></a>00238 <span class="keywordtype">void</span> set_statistics ( <span class="keyword">const</span> <a class="code" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a>* mB0 ) {<span class="keyword">const</span> <a class="code" href="classmultiBM.html" title="Estimator for Multinomial density.">multiBM</a>* mB=<span class="keyword">dynamic_cast<</span><span class="keyword">const </span><a class="code" href="classmultiBM.html" title="Estimator for Multinomial density.">multiBM</a>*<span class="keyword">></span> ( mB0 ); beta=mB-><a class="code" href="classmultiBM.html#7b606116aed7e8834a339cbb0424b1d6">beta</a>;} 163 <a name="l00239"></a><a class="code" href="classmultiBM.html#11eeba7e97954e316e959116f90d80e2">00239</a> <span class="keywordtype">void</span> <a class="code" href="classmultiBM.html#11eeba7e97954e316e959116f90d80e2" title="Incremental Bayes rule.">bayes</a> ( <span class="keyword">const</span> vec &dt ) { 164 <a name="l00240"></a>00240 <span class="keywordflow">if</span> ( <a class="code" href="classBMEF.html#538d632e59f9afa8daa1de74da12ce71" title="forgetting factor">frg</a><1.0 ) {beta*=<a class="code" href="classBMEF.html#538d632e59f9afa8daa1de74da12ce71" title="forgetting factor">frg</a>;<a class="code" href="classBMEF.html#308cf5d4133cd471fdf1ecd5dfa09d02" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>=<a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a>.<a class="code" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77" title="logarithm of the normalizing constant, ">lognc</a>();} 165 <a name="l00241"></a>00241 beta+=dt; 166 <a name="l00242"></a>00242 <span class="keywordflow">if</span> ( <a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a> ) {<a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a>=<a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a>.<a class="code" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77" title="logarithm of the normalizing constant, ">lognc</a>()-<a class="code" href="classBMEF.html#308cf5d4133cd471fdf1ecd5dfa09d02" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>;} 167 <a name="l00243"></a>00243 } 168 <a name="l00244"></a><a class="code" href="classmultiBM.html#13e26a61757278981fd8cac9a7ef91eb">00244</a> <span class="keywordtype">double</span> <a class="code" href="classmultiBM.html#13e26a61757278981fd8cac9a7ef91eb">logpred</a> ( <span class="keyword">const</span> vec &dt )<span class="keyword"> const </span>{ 169 <a name="l00245"></a>00245 <a class="code" href="classeDirich.html" title="Dirichlet posterior density.">eDirich</a> pred ( <a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a> ); 170 <a name="l00246"></a>00246 vec &beta = pred.<a class="code" href="classeDirich.html#6409d0362143a23976b43641ff19e53a" title="access function">_beta</a>(); 171 <a name="l00247"></a>00247 172 <a name="l00248"></a>00248 <span class="keywordtype">double</span> lll; 173 <a name="l00249"></a>00249 <span class="keywordflow">if</span> ( <a class="code" href="classBMEF.html#538d632e59f9afa8daa1de74da12ce71" title="forgetting factor">frg</a><1.0 ) 174 <a name="l00250"></a>00250 {beta*=<a class="code" href="classBMEF.html#538d632e59f9afa8daa1de74da12ce71" title="forgetting factor">frg</a>;lll=pred.<a class="code" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77" title="logarithm of the normalizing constant, ">lognc</a>();} 175 <a name="l00251"></a>00251 <span class="keywordflow">else</span> 176 <a name="l00252"></a>00252 <span class="keywordflow">if</span> ( <a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a> ) {lll=<a class="code" href="classBMEF.html#308cf5d4133cd471fdf1ecd5dfa09d02" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>;} 177 <a name="l00253"></a>00253 <span class="keywordflow">else</span>{lll=pred.<a class="code" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77" title="logarithm of the normalizing constant, ">lognc</a>();} 178 <a name="l00254"></a>00254 179 <a name="l00255"></a>00255 beta+=dt; 180 <a name="l00256"></a>00256 <span class="keywordflow">return</span> pred.<a class="code" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77" title="logarithm of the normalizing constant, ">lognc</a>()-lll; 181 <a name="l00257"></a>00257 } 182 <a name="l00258"></a><a class="code" href="classmultiBM.html#58257073a90aab5d1aafbc9b805d324a">00258</a> <span class="keywordtype">void</span> <a class="code" href="classmultiBM.html#58257073a90aab5d1aafbc9b805d324a" title="Flatten the posterior.">flatten</a> ( <a class="code" href="classBMEF.html" title="Estimator for Exponential family.">BMEF</a>* B ) { 183 <a name="l00259"></a>00259 <a class="code" href="classeDirich.html" title="Dirichlet posterior density.">eDirich</a>* E=<span class="keyword">dynamic_cast<</span><a class="code" href="classeDirich.html" title="Dirichlet posterior density.">eDirich</a>*<span class="keyword">></span> ( B ); 184 <a name="l00260"></a>00260 <span class="comment">// sum(beta) should be equal to sum(B.beta)</span> 185 <a name="l00261"></a>00261 <span class="keyword">const</span> vec &Eb=E-><a class="code" href="classeDirich.html#6409d0362143a23976b43641ff19e53a" title="access function">_beta</a>(); 186 <a name="l00262"></a>00262 <a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a>.<a class="code" href="classeEF.html#4f8385dd1cc9740522dc373b1dc3cbf5" title="Power of the density, used e.g. to flatten the density.">pow</a> ( sum ( beta ) /sum ( Eb ) ); 187 <a name="l00263"></a>00263 <span class="keywordflow">if</span> ( <a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a> ) {<a class="code" href="classBMEF.html#308cf5d4133cd471fdf1ecd5dfa09d02" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>=<a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a>.<a class="code" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77" title="logarithm of the normalizing constant, ">lognc</a>();} 188 <a name="l00264"></a>00264 } 189 <a name="l00265"></a><a class="code" href="classmultiBM.html#66cdfd83a70bc281840ab0646b941684">00265</a> <span class="keyword">const</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>& <a class="code" href="classmultiBM.html#66cdfd83a70bc281840ab0646b941684" title="Returns a pointer to the epdf representing posterior density on parameters. Use with...">_epdf</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a>;}; 190 <a name="l00266"></a>00266 <span class="keywordtype">void</span> set_parameters ( <span class="keyword">const</span> vec &beta0 ) { 191 <a name="l00267"></a>00267 <a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a>.<a class="code" href="classeDirich.html#c842acb2e1cce5cc9000769ff06c086d" title="Set internal parameters.">set_parameters</a>(beta0); 192 <a name="l00268"></a>00268 <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a> = <a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a>.<a class="code" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562" title="access function, possibly dangerous!">_rv</a>(); 193 <a name="l00269"></a>00269 <span class="keywordflow">if</span>(<a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a>){<a class="code" href="classBMEF.html#308cf5d4133cd471fdf1ecd5dfa09d02" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>=<a class="code" href="classmultiBM.html#eddee08a724170de63f36e40c57b27b5" title="Conjugate prior and posterior.">est</a>.<a class="code" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77" title="logarithm of the normalizing constant, ">lognc</a>();} 194 <a name="l00270"></a>00270 } 195 <a name="l00271"></a>00271 }; 196 <a name="l00272"></a>00272 197 <a name="l00282"></a><a class="code" href="classegamma.html">00282</a> <span class="keyword">class </span><a class="code" href="classegamma.html" title="Gamma posterior density.">egamma</a> : <span class="keyword">public</span> <a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> { 198 <a name="l00283"></a>00283 <span class="keyword">protected</span>: 199 <a name="l00285"></a><a class="code" href="classegamma.html#376cebd8932546c440f21b182910b01b">00285</a> vec <a class="code" href="classegamma.html#376cebd8932546c440f21b182910b01b" title="Vector .">alpha</a>; 200 <a name="l00287"></a><a class="code" href="classegamma.html#cfc5f136467488a421ab22f886323790">00287</a> vec <a class="code" href="classegamma.html#cfc5f136467488a421ab22f886323790" title="Vector .">beta</a>; 201 <a name="l00288"></a>00288 <span class="keyword">public</span> : 202 <a name="l00290"></a><a class="code" href="classegamma.html#4b1d34f3b244ea51a58ec10c468788c1">00290</a> <a class="code" href="classegamma.html#4b1d34f3b244ea51a58ec10c468788c1" title="Default constructor.">egamma</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a> ) :<a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> ( rv ) {}; 203 <a name="l00292"></a><a class="code" href="classegamma.html#8e348b89be82b70471fe8c5630f61339">00292</a> <span class="keywordtype">void</span> <a class="code" href="classegamma.html#8e348b89be82b70471fe8c5630f61339" title="Sets parameters.">set_parameters</a> ( <span class="keyword">const</span> vec &a, <span class="keyword">const</span> vec &b ) {<a class="code" href="classegamma.html#376cebd8932546c440f21b182910b01b" title="Vector .">alpha</a>=a,<a class="code" href="classegamma.html#cfc5f136467488a421ab22f886323790" title="Vector .">beta</a>=b;}; 204 <a name="l00293"></a>00293 vec <a class="code" href="classegamma.html#8e10c0021b5dfdd9cb62c6959b5ef425" title="Returns a sample, from density .">sample</a>() <span class="keyword">const</span>; 205 <a name="l00295"></a>00295 <span class="comment">// mat sample ( int N ) const;</span> 206 <a name="l00296"></a>00296 <span class="keywordtype">double</span> <a class="code" href="classegamma.html#de84faac8f9799dfe2777ddbedf997ef" title="TODO: is it used anywhere?">evalpdflog</a> ( <span class="keyword">const</span> vec &val ) <span class="keyword">const</span>; 207 <a name="l00297"></a>00297 <span class="keywordtype">double</span> <a class="code" href="classegamma.html#d6dbbdb72360f9e54d64501f80318bb6" title="logarithm of the normalizing constant, ">lognc</a> () <span class="keyword">const</span>; 208 <a name="l00299"></a><a class="code" href="classegamma.html#44445c56e60b91b377f207f8d5089790">00299</a> <span class="keywordtype">void</span> <a class="code" href="classegamma.html#44445c56e60b91b377f207f8d5089790" title="Returns poiter to alpha and beta. Potentially dengerous: use with care!">_param</a> ( vec* &a, vec* &b ) {a=&<a class="code" href="classegamma.html#376cebd8932546c440f21b182910b01b" title="Vector .">alpha</a>;b=&<a class="code" href="classegamma.html#cfc5f136467488a421ab22f886323790" title="Vector .">beta</a>;}; 209 <a name="l00300"></a><a class="code" href="classegamma.html#6ab5ba56f7cdb2e5921c3e77524fa50a">00300</a> vec <a class="code" href="classegamma.html#6ab5ba56f7cdb2e5921c3e77524fa50a" title="return expected value">mean</a>()<span class="keyword"> const </span>{vec pom ( <a class="code" href="classegamma.html#376cebd8932546c440f21b182910b01b" title="Vector .">alpha</a> ); pom/=<a class="code" href="classegamma.html#cfc5f136467488a421ab22f886323790" title="Vector .">beta</a>; <span class="keywordflow">return</span> pom;} 210 <a name="l00301"></a>00301 }; 211 <a name="l00302"></a>00302 <span class="comment">/*</span> 212 <a name="l00304"></a>00304 <span class="comment">class emix : public epdf {</span> 213 <a name="l00305"></a>00305 <span class="comment">protected:</span> 214 <a name="l00306"></a>00306 <span class="comment"> int n;</span> 215 <a name="l00307"></a>00307 <span class="comment"> vec &w;</span> 216 <a name="l00308"></a>00308 <span class="comment"> Array<epdf*> Coms;</span> 217 <a name="l00309"></a>00309 <span class="comment">public:</span> 218 <a name="l00311"></a>00311 <span class="comment"> emix ( const RV &rv, vec &w0): epdf(rv), n(w0.length()), w(w0), Coms(n) {};</span> 219 <a name="l00312"></a>00312 <span class="comment"> void set_parameters( int &i, double wi, epdf* ep){w(i)=wi;Coms(i)=ep;}</span> 220 <a name="l00313"></a>00313 <span class="comment"> vec mean(){vec pom; for(int i=0;i<n;i++){pom+=Coms(i)->mean()*w(i);} return pom;};</span> 221 <a name="l00314"></a>00314 <span class="comment"> vec sample() {it_error ( "Not implemented" );return 0;}</span> 222 <a name="l00315"></a>00315 <span class="comment">};</span> 223 <a name="l00316"></a>00316 <span class="comment">*/</span> 224 <a name="l00317"></a>00317 225 <a name="l00319"></a>00319 226 <a name="l00320"></a><a class="code" href="classeuni.html">00320</a> <span class="keyword">class </span><a class="code" href="classeuni.html" title="Uniform distributed density on a rectangular support.">euni</a>: <span class="keyword">public</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> { 227 <a name="l00321"></a>00321 <span class="keyword">protected</span>: 228 <a name="l00323"></a><a class="code" href="classeuni.html#ef42cd8d7645422048d46c46ec5cdac1">00323</a> vec <a class="code" href="classeuni.html#ef42cd8d7645422048d46c46ec5cdac1" title="lower bound on support">low</a>; 229 <a name="l00325"></a><a class="code" href="classeuni.html#71b6d6b41aeb61a7f76f682b72119231">00325</a> vec <a class="code" href="classeuni.html#71b6d6b41aeb61a7f76f682b72119231" title="upper bound on support">high</a>; 230 <a name="l00327"></a><a class="code" href="classeuni.html#52a6ff4a54010f88a6a19fca605c64a4">00327</a> vec <a class="code" href="classeuni.html#52a6ff4a54010f88a6a19fca605c64a4" title="internal">distance</a>; 231 <a name="l00329"></a><a class="code" href="classeuni.html#63105490e946e43372d6187ad1bafdda">00329</a> <span class="keywordtype">double</span> <a class="code" href="classeuni.html#63105490e946e43372d6187ad1bafdda" title="normalizing coefficients">nk</a>; 232 <a name="l00331"></a><a class="code" href="classeuni.html#f445a0ce24f39d14c1a4eed53fc8e2c3">00331</a> <span class="keywordtype">double</span> <a class="code" href="classeuni.html#f445a0ce24f39d14c1a4eed53fc8e2c3" title="cache of log( nk )">lnk</a>; 233 <a name="l00332"></a>00332 <span class="keyword">public</span>: 234 <a name="l00334"></a><a class="code" href="classeuni.html#2537a6c239cff52e3ba814851a1116cd">00334</a> <a class="code" href="classeuni.html#2537a6c239cff52e3ba814851a1116cd" title="Defualt constructor.">euni</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a> ) :<a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( rv ) {} 235 <a name="l00335"></a><a class="code" href="classeuni.html#2723d4992900b5c5495bfa03628195ed">00335</a> <span class="keywordtype">double</span> <a class="code" href="classeuni.html#2723d4992900b5c5495bfa03628195ed" title="Compute probability of argument val.">eval</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classeuni.html#63105490e946e43372d6187ad1bafdda" title="normalizing coefficients">nk</a>;} 236 <a name="l00336"></a><a class="code" href="classeuni.html#06af95d514a6623ad4688bd2ad50ad71">00336</a> <span class="keywordtype">double</span> <a class="code" href="classeuni.html#06af95d514a6623ad4688bd2ad50ad71" title="Compute log-probability of argument val.">evalpdflog</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classeuni.html#f445a0ce24f39d14c1a4eed53fc8e2c3" title="cache of log( nk )">lnk</a>;} 237 <a name="l00337"></a><a class="code" href="classeuni.html#4a0e09392be17beaee120ba98fc038cd">00337</a> vec <a class="code" href="classeuni.html#4a0e09392be17beaee120ba98fc038cd" title="Returns a sample, from density .">sample</a>()<span class="keyword"> const </span>{ 238 <a name="l00338"></a>00338 vec smp ( <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() ); 239 <a name="l00339"></a>00339 <span class="preprocessor">#pragma omp critical</span> 240 <a name="l00340"></a>00340 <span class="preprocessor"></span> UniRNG.sample_vector ( <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>(),smp ); 241 <a name="l00341"></a>00341 <span class="keywordflow">return</span> <a class="code" href="classeuni.html#ef42cd8d7645422048d46c46ec5cdac1" title="lower bound on support">low</a>+elem_mult ( <a class="code" href="classeuni.html#52a6ff4a54010f88a6a19fca605c64a4" title="internal">distance</a>,smp ); 242 <a name="l00342"></a>00342 } 243 <a name="l00344"></a><a class="code" href="classeuni.html#4fd7c6a05100616ad16ece405cad7bf2">00344</a> <span class="keywordtype">void</span> <a class="code" href="classeuni.html#4fd7c6a05100616ad16ece405cad7bf2" title="set values of low and high ">set_parameters</a> ( <span class="keyword">const</span> vec &low0, <span class="keyword">const</span> vec &high0 ) { 244 <a name="l00345"></a>00345 <a class="code" href="classeuni.html#52a6ff4a54010f88a6a19fca605c64a4" title="internal">distance</a> = high0-low0; 245 <a name="l00346"></a>00346 it_assert_debug ( min ( <a class="code" href="classeuni.html#52a6ff4a54010f88a6a19fca605c64a4" title="internal">distance</a> ) >0.0,<span class="stringliteral">"bad support"</span> ); 246 <a name="l00347"></a>00347 <a class="code" href="classeuni.html#ef42cd8d7645422048d46c46ec5cdac1" title="lower bound on support">low</a> = low0; 247 <a name="l00348"></a>00348 <a class="code" href="classeuni.html#71b6d6b41aeb61a7f76f682b72119231" title="upper bound on support">high</a> = high0; 248 <a name="l00349"></a>00349 <a class="code" href="classeuni.html#63105490e946e43372d6187ad1bafdda" title="normalizing coefficients">nk</a> = prod ( 1.0/<a class="code" href="classeuni.html#52a6ff4a54010f88a6a19fca605c64a4" title="internal">distance</a> ); 249 <a name="l00350"></a>00350 <a class="code" href="classeuni.html#f445a0ce24f39d14c1a4eed53fc8e2c3" title="cache of log( nk )">lnk</a> = log ( <a class="code" href="classeuni.html#63105490e946e43372d6187ad1bafdda" title="normalizing coefficients">nk</a> ); 250 <a name="l00351"></a>00351 } 251 <a name="l00352"></a><a class="code" href="classeuni.html#8050087e421a9cfd1b4b1f8bd33b1cc1">00352</a> vec <a class="code" href="classeuni.html#8050087e421a9cfd1b4b1f8bd33b1cc1" title="return expected value">mean</a>()<span class="keyword"> const </span>{vec pom=<a class="code" href="classeuni.html#71b6d6b41aeb61a7f76f682b72119231" title="upper bound on support">high</a>; pom-=<a class="code" href="classeuni.html#ef42cd8d7645422048d46c46ec5cdac1" title="lower bound on support">low</a>; pom/=2.0; <span class="keywordflow">return</span> pom;} 252 <a name="l00353"></a>00353 }; 253 <a name="l00354"></a>00354 254 <a name="l00355"></a>00355 255 <a name="l00361"></a>00361 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 256 <a name="l00362"></a><a class="code" href="classmlnorm.html">00362</a> <span class="keyword">class </span><a class="code" href="classmlnorm.html" title="Normal distributed linear function with linear function of mean value;.">mlnorm</a> : <span class="keyword">public</span> <a class="code" href="classmEF.html" title="Exponential family model.">mEF</a> { 257 <a name="l00364"></a>00364 <a class="code" href="classenorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm<sq_T></a> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>; 258 <a name="l00365"></a>00365 mat A; 259 <a name="l00366"></a>00366 vec& _mu; <span class="comment">//cached epdf.mu;</span> 260 <a name="l00367"></a>00367 <span class="keyword">public</span>: 261 <a name="l00369"></a>00369 <a class="code" href="classmlnorm.html#f927203b3f31171c5c10ffc7caa797f5" title="Constructor.">mlnorm</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>,<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a> ); 262 <a name="l00371"></a>00371 <span class="keywordtype">void</span> <a class="code" href="classmlnorm.html#b6749030c5d5abcb3eb6898f74cea3c0" title="Set A and R.">set_parameters</a> ( <span class="keyword">const</span> mat &A, <span class="keyword">const</span> sq_T &R ); 263 <a name="l00373"></a>00373 vec <a class="code" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18" title="Generate one sample of the posterior.">samplecond</a> ( vec &cond, <span class="keywordtype">double</span> &lik ); 264 <a name="l00375"></a>00375 mat <a class="code" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18" title="Generate one sample of the posterior.">samplecond</a> ( vec &cond, vec &lik, <span class="keywordtype">int</span> n ); 265 <a name="l00377"></a>00377 <span class="keywordtype">void</span> <a class="code" href="classmlnorm.html#5232fc7e305eceab4e2bd6a8daa44195" title="Set value of rvc . Result of this operation is stored in epdf use function _ep to...">condition</a> ( vec &cond ); 266 <a name="l00378"></a>00378 }; 267 <a name="l00379"></a>00379 268 <a name="l00389"></a><a class="code" href="classmgamma.html">00389</a> <span class="keyword">class </span><a class="code" href="classmgamma.html" title="Gamma random walk.">mgamma</a> : <span class="keyword">public</span> <a class="code" href="classmEF.html" title="Exponential family model.">mEF</a> { 269 <a name="l00390"></a>00390 <span class="keyword">protected</span>: 270 <a name="l00392"></a><a class="code" href="classmgamma.html#612dbf35c770a780027619aaac2c443e">00392</a> <a class="code" href="classegamma.html" title="Gamma posterior density.">egamma</a> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>; 271 <a name="l00394"></a><a class="code" href="classmgamma.html#43f733cce0245a52363d566099add687">00394</a> <span class="keywordtype">double</span> <a class="code" href="classmgamma.html#43f733cce0245a52363d566099add687" title="Constant .">k</a>; 272 <a name="l00396"></a><a class="code" href="classmgamma.html#5e90652837448bcc29707e7412f99691">00396</a> vec* <a class="code" href="classmgamma.html#5e90652837448bcc29707e7412f99691" title="cache of epdf.beta">_beta</a>; 273 <a name="l00397"></a>00397 274 <a name="l00398"></a>00398 <span class="keyword">public</span>: 275 <a name="l00400"></a>00400 <a class="code" href="classmgamma.html#af43e61b86900c0398d5c0ffc83b94e6" title="Constructor.">mgamma</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>,<span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a> ); 276 <a name="l00402"></a>00402 <span class="keywordtype">void</span> <a class="code" href="classmgamma.html#a9d646cf758a70126dde7c48790b6e94" title="Set value of k.">set_parameters</a> ( <span class="keywordtype">double</span> <a class="code" href="classmgamma.html#43f733cce0245a52363d566099add687" title="Constant .">k</a> ); 277 <a name="l00403"></a><a class="code" href="classmgamma.html#a61094c9f7a2d64ea77b130cbc031f97">00403</a> <span class="keywordtype">void</span> <a class="code" href="classmgamma.html#a61094c9f7a2d64ea77b130cbc031f97" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &val ) {*<a class="code" href="classmgamma.html#5e90652837448bcc29707e7412f99691" title="cache of epdf.beta">_beta</a>=<a class="code" href="classmgamma.html#43f733cce0245a52363d566099add687" title="Constant .">k</a>/val;}; 278 <a name="l00404"></a>00404 }; 279 <a name="l00405"></a>00405 280 <a name="l00417"></a><a class="code" href="classmgamma__fix.html">00417</a> <span class="keyword">class </span><a class="code" href="classmgamma__fix.html" title="Gamma random walk around a fixed point.">mgamma_fix</a> : <span class="keyword">public</span> <a class="code" href="classmgamma.html" title="Gamma random walk.">mgamma</a> { 281 <a name="l00418"></a>00418 <span class="keyword">protected</span>: 282 <a name="l00420"></a><a class="code" href="classmgamma__fix.html#3f48c09caddc298901ad75fe7c0529f6">00420</a> <span class="keywordtype">double</span> <a class="code" href="classmgamma__fix.html#3f48c09caddc298901ad75fe7c0529f6" title="parameter l">l</a>; 283 <a name="l00422"></a><a class="code" href="classmgamma__fix.html#81ce49029ecc385418619b200dcafeb0">00422</a> vec <a class="code" href="classmgamma__fix.html#81ce49029ecc385418619b200dcafeb0" title="reference vector">refl</a>; 284 <a name="l00423"></a>00423 <span class="keyword">public</span>: 285 <a name="l00425"></a><a class="code" href="classmgamma__fix.html#b92c3d2e5fd0381033a072e5ef3bcf80">00425</a> <a class="code" href="classmgamma__fix.html#b92c3d2e5fd0381033a072e5ef3bcf80" title="Constructor.">mgamma_fix</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>,<span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a> ) : <a class="code" href="classmgamma.html" title="Gamma random walk.">mgamma</a> ( rv,rvc ),<a class="code" href="classmgamma__fix.html#81ce49029ecc385418619b200dcafeb0" title="reference vector">refl</a> ( rv.count() ) {}; 286 <a name="l00427"></a><a class="code" href="classmgamma__fix.html#ec6f846896749e27cb7be9fa48dd1cb1">00427</a> <span class="keywordtype">void</span> <a class="code" href="classmgamma__fix.html#ec6f846896749e27cb7be9fa48dd1cb1" title="Set value of k.">set_parameters</a> ( <span class="keywordtype">double</span> k0 , vec ref0, <span class="keywordtype">double</span> l0 ) { 287 <a name="l00428"></a>00428 <a class="code" href="classmgamma.html#a9d646cf758a70126dde7c48790b6e94" title="Set value of k.">mgamma::set_parameters</a> ( k0 ); 288 <a name="l00429"></a>00429 <a class="code" href="classmgamma__fix.html#81ce49029ecc385418619b200dcafeb0" title="reference vector">refl</a>=pow ( ref0,1.0-l0 );<a class="code" href="classmgamma__fix.html#3f48c09caddc298901ad75fe7c0529f6" title="parameter l">l</a>=l0; 289 <a name="l00430"></a>00430 }; 290 <a name="l00431"></a>00431 291 <a name="l00432"></a><a class="code" href="classmgamma__fix.html#6ea3931eec7b7da7b693e45981052460">00432</a> <span class="keywordtype">void</span> <a class="code" href="classmgamma__fix.html#6ea3931eec7b7da7b693e45981052460" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &val ) {vec mean=elem_mult ( <a class="code" href="classmgamma__fix.html#81ce49029ecc385418619b200dcafeb0" title="reference vector">refl</a>,pow ( val,<a class="code" href="classmgamma__fix.html#3f48c09caddc298901ad75fe7c0529f6" title="parameter l">l</a> ) ); *<a class="code" href="classmgamma.html#5e90652837448bcc29707e7412f99691" title="cache of epdf.beta">_beta</a>=<a class="code" href="classmgamma.html#43f733cce0245a52363d566099add687" title="Constant .">k</a>/mean;}; 292 <a name="l00433"></a>00433 }; 293 <a name="l00434"></a>00434 294 <a name="l00436"></a><a class="code" href="libEF_8h.html#99497a3ff630f761cf6bff7babd23212">00436</a> <span class="keyword">enum</span> <a class="code" href="libEF_8h.html#99497a3ff630f761cf6bff7babd23212" title="Switch between various resampling methods.">RESAMPLING_METHOD</a> { MULTINOMIAL = 0, STRATIFIED = 1, SYSTEMATIC = 3 }; 295 <a name="l00442"></a><a class="code" href="classeEmp.html">00442</a> <span class="keyword">class </span><a class="code" href="classeEmp.html" title="Weighted empirical density.">eEmp</a>: <span class="keyword">public</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> { 296 <a name="l00443"></a>00443 <span class="keyword">protected</span> : 297 <a name="l00445"></a><a class="code" href="classeEmp.html#8c33034de0e35f03f8bb85d3d67438fd">00445</a> <span class="keywordtype">int</span> <a class="code" href="classeEmp.html#8c33034de0e35f03f8bb85d3d67438fd" title="Number of particles.">n</a>; 298 <a name="l00447"></a><a class="code" href="classeEmp.html#ae78d144404ddba843c93b171b215de8">00447</a> vec <a class="code" href="classeEmp.html#ae78d144404ddba843c93b171b215de8" title="Sample weights .">w</a>; 299 <a name="l00449"></a><a class="code" href="classeEmp.html#a4d6f4bbd6a6824fc39f14676701279a">00449</a> Array<vec> <a class="code" href="classeEmp.html#a4d6f4bbd6a6824fc39f14676701279a" title="Samples .">samples</a>; 300 <a name="l00450"></a>00450 <span class="keyword">public</span>: 301 <a name="l00452"></a><a class="code" href="classeEmp.html#0c04b073ecd0dae3d498e680ae27e9e4">00452</a> <a class="code" href="classeEmp.html#0c04b073ecd0dae3d498e680ae27e9e4" title="Default constructor.">eEmp</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv0 ,<span class="keywordtype">int</span> n0 ) :<a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( rv0 ),<a class="code" href="classeEmp.html#8c33034de0e35f03f8bb85d3d67438fd" title="Number of particles.">n</a> ( n0 ),<a class="code" href="classeEmp.html#ae78d144404ddba843c93b171b215de8" title="Sample weights .">w</a> ( <a class="code" href="classeEmp.html#8c33034de0e35f03f8bb85d3d67438fd" title="Number of particles.">n</a> ),<a class="code" href="classeEmp.html#a4d6f4bbd6a6824fc39f14676701279a" title="Samples .">samples</a> ( <a class="code" href="classeEmp.html#8c33034de0e35f03f8bb85d3d67438fd" title="Number of particles.">n</a> ) {}; 302 <a name="l00454"></a>00454 <span class="keywordtype">void</span> <a class="code" href="classeEmp.html#eab03bd3381aaea11ce34d5a26556353" title="Set samples and weights.">set_parameters</a> ( <span class="keyword">const</span> vec &w0, <span class="keyword">const</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* pdf0 ); 303 <a name="l00456"></a>00456 <span class="keywordtype">void</span> <a class="code" href="classeEmp.html#e31bc9e6196173c3480b06a761a3e716" title="Set sample.">set_samples</a> ( <span class="keyword">const</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* pdf0 ); 304 <a name="l00458"></a><a class="code" href="classeEmp.html#31b2bfb73b72486a5c89f2ab850c7a9b">00458</a> vec& <a class="code" href="classeEmp.html#31b2bfb73b72486a5c89f2ab850c7a9b" title="Potentially dangerous, use with care.">_w</a>() {<span class="keywordflow">return</span> <a class="code" href="classeEmp.html#ae78d144404ddba843c93b171b215de8" title="Sample weights .">w</a>;}; 305 <a name="l00460"></a><a class="code" href="classeEmp.html#31b747eca73b16f30370827ba4cc3575">00460</a> Array<vec>& <a class="code" href="classeEmp.html#31b747eca73b16f30370827ba4cc3575" title="access function">_samples</a>() {<span class="keywordflow">return</span> <a class="code" href="classeEmp.html#a4d6f4bbd6a6824fc39f14676701279a" title="Samples .">samples</a>;}; 306 <a name="l00462"></a>00462 ivec <a class="code" href="classeEmp.html#77268292fc4465cb73ddbfb1f2932a59" title="Function performs resampling, i.e. removal of low-weight samples and duplication...">resample</a> ( <a class="code" href="libEF_8h.html#99497a3ff630f761cf6bff7babd23212" title="Switch between various resampling methods.">RESAMPLING_METHOD</a> method = SYSTEMATIC ); 307 <a name="l00464"></a><a class="code" href="classeEmp.html#83f9283f92b805508d896479dc1ccf12">00464</a> vec <a class="code" href="classeEmp.html#83f9283f92b805508d896479dc1ccf12" title="inherited operation : NOT implemneted">sample</a>()<span class="keyword"> const </span>{it_error ( <span class="stringliteral">"Not implemented"</span> );<span class="keywordflow">return</span> 0;} 308 <a name="l00466"></a><a class="code" href="classeEmp.html#23e7358995400865ad2e278945922fb3">00466</a> <span class="keywordtype">double</span> <a class="code" href="classeEmp.html#23e7358995400865ad2e278945922fb3" title="inherited operation : NOT implemneted">evalpdflog</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{it_error ( <span class="stringliteral">"Not implemented"</span> );<span class="keywordflow">return</span> 0.0;} 309 <a name="l00467"></a><a class="code" href="classeEmp.html#ba055c19038cc72628d98e25197e982d">00467</a> vec <a class="code" href="classeEmp.html#ba055c19038cc72628d98e25197e982d" title="return expected value">mean</a>()<span class="keyword"> const </span>{ 310 <a name="l00468"></a>00468 vec pom=zeros ( <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() ); 311 <a name="l00469"></a>00469 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classeEmp.html#8c33034de0e35f03f8bb85d3d67438fd" title="Number of particles.">n</a>;i++ ) {pom+=<a class="code" href="classeEmp.html#a4d6f4bbd6a6824fc39f14676701279a" title="Samples .">samples</a> ( i ) *<a class="code" href="classeEmp.html#ae78d144404ddba843c93b171b215de8" title="Sample weights .">w</a> ( i );} 312 <a name="l00470"></a>00470 <span class="keywordflow">return</span> pom; 313 <a name="l00471"></a>00471 } 314 <a name="l00472"></a>00472 }; 315 <a name="l00473"></a>00473 316 316 <a name="l00474"></a>00474 317 <a name="l00475"></a>00475 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 318 <a name="l00476"></a><a class="code" href="classenorm.html#5bf185e31e5954fceb90ada3debd2ff2">00476</a> <span class="keywordtype">void</span> <a class="code" href="classenorm.html#5bf185e31e5954fceb90ada3debd2ff2" title="dupdate in exponential form (not really handy)">enorm<sq_T>::dupdate</a> ( mat &v, <span class="keywordtype">double</span> nu ) { 319 <a name="l00477"></a>00477 <span class="comment">//</span> 320 <a name="l00478"></a>00478 }; 317 <a name="l00476"></a>00476 318 <a name="l00477"></a>00477 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 319 <a name="l00478"></a><a class="code" href="classenorm.html#7b5cb487a2570e8109bfdc0df149aa06">00478</a> <a class="code" href="classenorm.html#7b5cb487a2570e8109bfdc0df149aa06" title="Default constructor.">enorm<sq_T>::enorm</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv ) :<a class="code" href="classeEF.html" title="General conjugate exponential family posterior density.">eEF</a> ( rv ), mu ( rv.count() ),R ( rv.count() ),dim ( rv.count() ) {}; 321 320 <a name="l00479"></a>00479 322 321 <a name="l00480"></a>00480 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 323 <a name="l00481"></a><a class="code" href="classenorm.html# 5b5fd142b6b17ea334597960e3fe126a">00481</a> <span class="keywordtype">void</span> <a class="code" href="classenorm.html#5b5fd142b6b17ea334597960e3fe126a" title="tupdate in exponential form (not really handy)">enorm<sq_T>::tupdate</a> ( <span class="keywordtype">double</span> phi, mat &vbar, <span class="keywordtype">double</span> nubar) {324 <a name="l00482"></a>00482 <span class="comment">//</span>325 <a name="l00483"></a>00483 };326 <a name="l00484"></a>00484 327 <a name="l00485"></a>00485 <span class="keyword">template</span><<span class="keyword">class</span> sq_T>328 <a name="l00486"></a> <a class="code" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5">00486</a> vec <a class="code" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5" title="Returns a sample, from density .">enorm<sq_T>::sample</a>()<span class="keyword"> const </span>{329 <a name="l00487"></a>00487 vec x ( <a class="code" href="classenorm.html#6938fc390a19cdaf6ad4503fcbaada4e" title="dimension (redundant from rv.count() for easier coding )">dim</a> );330 <a name="l00488"></a> 00488 NorRNG.sample_vector ( <a class="code" href="classenorm.html#6938fc390a19cdaf6ad4503fcbaada4e" title="dimension (redundant from rv.count() for easier coding )">dim</a>,x );331 <a name="l00489"></a>00489 vec smp = <a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a>.sqrt_mult ( x );332 <a name="l00490"></a>00490 333 <a name="l00491"></a>00491 smp += <a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>;334 <a name="l00492"></a>00492 <span class="keywordflow">return</span> smp;335 <a name="l00493"></a> 00493 };336 <a name="l00494"></a>00494 337 <a name="l00495"></a>00495 <span class="keyword">template</span><<span class="keyword">class</span> sq_T>338 <a name="l00496"></a> <a class="code" href="classenorm.html#60f0f3bfa53d6e65843eea9532b16d36">00496</a> mat <a class="code" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5" title="Returns a sample, from density .">enorm<sq_T>::sample</a> ( <span class="keywordtype">int</span> N )<span class="keyword"> const </span>{339 <a name="l00497"></a>00497 mat X ( <a class="code" href="classenorm.html#6938fc390a19cdaf6ad4503fcbaada4e" title="dimension (redundant from rv.count() for easier coding )">dim</a>,N );340 <a name="l00498"></a> 00498 vec x ( <a class="code" href="classenorm.html#6938fc390a19cdaf6ad4503fcbaada4e" title="dimension (redundant from rv.count() for easier coding )">dim</a> );341 <a name="l00499"></a>00499 vec pom;342 <a name="l00500"></a>00500 <span class="keywordtype">int</span> i;343 <a name="l00501"></a>00501 344 <a name="l00502"></a>00502 <span class="keywordflow">for</span> ( i=0;i<N;i++ ) {345 <a name="l00503"></a>00503 NorRNG.sample_vector ( <a class="code" href="classenorm.html#6938fc390a19cdaf6ad4503fcbaada4e" title="dimension (redundant from rv.count() for easier coding )">dim</a>,x );346 <a name="l00504"></a>00504 pom = <a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a>.sqrt_mult ( x );347 <a name="l00505"></a>00505 pom +=<a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>;348 <a name="l00506"></a>00506 X.set_col ( i, pom );349 <a name="l00507"></a>00507 }350 <a name="l00508"></a> 00508351 <a name="l00509"></a>00509 <span class="keywordflow">return</span> X;352 <a name="l00510"></a>00510 };353 <a name="l00511"></a>00511 354 <a name="l00512"></a>00512 <span class="keyword">template</span><<span class="keyword">class</span> sq_T>355 <a name="l00513"></a> <a class="code" href="classenorm.html#b9e1dfd33692d7b3f1a59f17b0e61bd0">00513</a> <span class="keywordtype">double</span> <a class="code" href="classenorm.html#b9e1dfd33692d7b3f1a59f17b0e61bd0" title="Compute probability of argument val.">enorm<sq_T>::eval</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{356 <a name="l00514"></a>00514 <span class="keyword type">double</span> pdfl,e;357 <a name="l00515"></a>00515 pdfl = <a class="code" href="classenorm.html#609a7c33dbb4fdfab050f3bdd1122401" title="Evaluate normalized log-probability.">evalpdflog</a> ( val);358 <a name="l00516"></a>00516 e = exp ( pdfl);359 <a name="l00517"></a>00517 <span class="keywordflow">return</span> e;360 <a name="l00518"></a>00518 };361 <a name="l00519"></a>00519 362 <a name="l00520"></a>00520 <span class="keyword">template</span><<span class="keyword">class</span> sq_T>363 <a name="l00521"></a> <a class="code" href="classenorm.html#609a7c33dbb4fdfab050f3bdd1122401">00521</a> <span class="keywordtype">double</span> <a class="code" href="classenorm.html#609a7c33dbb4fdfab050f3bdd1122401" title="Evaluate normalized log-probability.">enorm<sq_T>::evalpdflog</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{364 <a name="l00522"></a>00522 <span class="comment">// 1.83787706640935 = log(2pi)</span>365 <a name="l00523"></a>00523 <span class="keywordflow">return</span> -0.5* ( +<a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a>.invqform ( <a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>-val ) ) - <a class="code" href="classenorm.html#b289a36a69db59d182bb6eba9c05d4a8" title="logarithm of the normalizing constant, ">lognc</a>();366 <a name="l00524"></a>00524 };367 <a name="l00525"></a> 00525368 <a name="l00526"></a>00526 <span class="keyword">template</span><<span class="keyword">class</span> sq_T>369 <a name="l00527"></a> <a class="code" href="classenorm.html#b289a36a69db59d182bb6eba9c05d4a8">00527</a> <span class="keyword">inline</span> <span class="keywordtype">double</span> <a class="code" href="classenorm.html#b289a36a69db59d182bb6eba9c05d4a8" title="logarithm of the normalizing constant, ">enorm<sq_T>::lognc</a> ()<span class="keyword"> const </span>{370 <a name="l00528"></a>00528 <span class="comment">// 1.83787706640935 = log(2pi)</span>371 <a name="l00529"></a>00529 <span class="keywordflow">return</span> -0.5* ( <a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a>.cols() * 1.83787706640935 +<a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a>.logdet() );322 <a name="l00481"></a><a class="code" href="classenorm.html#1394a65caa6e00d42e00cc99b12227af">00481</a> <span class="keywordtype">void</span> <a class="code" href="classenorm.html#1394a65caa6e00d42e00cc99b12227af" title="Set mean value mu and covariance R.">enorm<sq_T>::set_parameters</a> ( <span class="keyword">const</span> vec &mu0, <span class="keyword">const</span> sq_T &R0 ) { 323 <a name="l00482"></a>00482 <span class="comment">//Fixme test dimensions of mu0 and R0;</span> 324 <a name="l00483"></a>00483 <a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a> = mu0; 325 <a name="l00484"></a>00484 <a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a> = R0; 326 <a name="l00485"></a>00485 }; 327 <a name="l00486"></a>00486 328 <a name="l00487"></a>00487 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 329 <a name="l00488"></a><a class="code" href="classenorm.html#5bf185e31e5954fceb90ada3debd2ff2">00488</a> <span class="keywordtype">void</span> <a class="code" href="classenorm.html#5bf185e31e5954fceb90ada3debd2ff2" title="dupdate in exponential form (not really handy)">enorm<sq_T>::dupdate</a> ( mat &v, <span class="keywordtype">double</span> nu ) { 330 <a name="l00489"></a>00489 <span class="comment">//</span> 331 <a name="l00490"></a>00490 }; 332 <a name="l00491"></a>00491 333 <a name="l00492"></a>00492 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 334 <a name="l00493"></a><a class="code" href="classenorm.html#5b5fd142b6b17ea334597960e3fe126a">00493</a> <span class="keywordtype">void</span> <a class="code" href="classenorm.html#5b5fd142b6b17ea334597960e3fe126a" title="tupdate in exponential form (not really handy)">enorm<sq_T>::tupdate</a> ( <span class="keywordtype">double</span> phi, mat &vbar, <span class="keywordtype">double</span> nubar ) { 335 <a name="l00494"></a>00494 <span class="comment">//</span> 336 <a name="l00495"></a>00495 }; 337 <a name="l00496"></a>00496 338 <a name="l00497"></a>00497 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 339 <a name="l00498"></a><a class="code" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5">00498</a> vec <a class="code" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5" title="Returns a sample, from density .">enorm<sq_T>::sample</a>()<span class="keyword"> const </span>{ 340 <a name="l00499"></a>00499 vec x ( <a class="code" href="classenorm.html#6938fc390a19cdaf6ad4503fcbaada4e" title="dimension (redundant from rv.count() for easier coding )">dim</a> ); 341 <a name="l00500"></a>00500 NorRNG.sample_vector ( <a class="code" href="classenorm.html#6938fc390a19cdaf6ad4503fcbaada4e" title="dimension (redundant from rv.count() for easier coding )">dim</a>,x ); 342 <a name="l00501"></a>00501 vec smp = <a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a>.sqrt_mult ( x ); 343 <a name="l00502"></a>00502 344 <a name="l00503"></a>00503 smp += <a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>; 345 <a name="l00504"></a>00504 <span class="keywordflow">return</span> smp; 346 <a name="l00505"></a>00505 }; 347 <a name="l00506"></a>00506 348 <a name="l00507"></a>00507 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 349 <a name="l00508"></a><a class="code" href="classenorm.html#60f0f3bfa53d6e65843eea9532b16d36">00508</a> mat <a class="code" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5" title="Returns a sample, from density .">enorm<sq_T>::sample</a> ( <span class="keywordtype">int</span> N )<span class="keyword"> const </span>{ 350 <a name="l00509"></a>00509 mat X ( <a class="code" href="classenorm.html#6938fc390a19cdaf6ad4503fcbaada4e" title="dimension (redundant from rv.count() for easier coding )">dim</a>,N ); 351 <a name="l00510"></a>00510 vec x ( <a class="code" href="classenorm.html#6938fc390a19cdaf6ad4503fcbaada4e" title="dimension (redundant from rv.count() for easier coding )">dim</a> ); 352 <a name="l00511"></a>00511 vec pom; 353 <a name="l00512"></a>00512 <span class="keywordtype">int</span> i; 354 <a name="l00513"></a>00513 355 <a name="l00514"></a>00514 <span class="keywordflow">for</span> ( i=0;i<N;i++ ) { 356 <a name="l00515"></a>00515 NorRNG.sample_vector ( <a class="code" href="classenorm.html#6938fc390a19cdaf6ad4503fcbaada4e" title="dimension (redundant from rv.count() for easier coding )">dim</a>,x ); 357 <a name="l00516"></a>00516 pom = <a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a>.sqrt_mult ( x ); 358 <a name="l00517"></a>00517 pom +=<a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>; 359 <a name="l00518"></a>00518 X.set_col ( i, pom ); 360 <a name="l00519"></a>00519 } 361 <a name="l00520"></a>00520 362 <a name="l00521"></a>00521 <span class="keywordflow">return</span> X; 363 <a name="l00522"></a>00522 }; 364 <a name="l00523"></a>00523 365 <a name="l00524"></a>00524 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 366 <a name="l00525"></a><a class="code" href="classenorm.html#b9e1dfd33692d7b3f1a59f17b0e61bd0">00525</a> <span class="keywordtype">double</span> <a class="code" href="classenorm.html#b9e1dfd33692d7b3f1a59f17b0e61bd0" title="Compute probability of argument val.">enorm<sq_T>::eval</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{ 367 <a name="l00526"></a>00526 <span class="keywordtype">double</span> pdfl,e; 368 <a name="l00527"></a>00527 pdfl = <a class="code" href="classeEF.html#6466e8d4aa9dd64698ed288cbb1afc03" title="Evaluate normalized log-probability.">evalpdflog</a> ( val ); 369 <a name="l00528"></a>00528 e = exp ( pdfl ); 370 <a name="l00529"></a>00529 <span class="keywordflow">return</span> e; 372 371 <a name="l00530"></a>00530 }; 373 372 <a name="l00531"></a>00531 374 373 <a name="l00532"></a>00532 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 375 <a name="l00533"></a><a class="code" href="class mlnorm.html#f927203b3f31171c5c10ffc7caa797f5">00533</a> <a class="code" href="classmlnorm.html#f927203b3f31171c5c10ffc7caa797f5" title="Constructor.">mlnorm<sq_T>::mlnorm</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv0,<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rvc0 ) :<a class="code" href="classmEF.html" title="Exponential family model.">mEF</a> ( rv0,rvc0 ),<a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( rv0 ),A ( rv0.count(),rv0.count() ),<a class="code" href="classenorm.html#0b8cb284e5af920a1b64a21d057ec5ac" title="returns a pointer to the internal mean value. Use with Care!">_mu</a> ( <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.<a class="code" href="classenorm.html#0b8cb284e5af920a1b64a21d057ec5ac" title="returns a pointer to the internal mean value. Use with Care!">_mu</a>() ){376 <a name="l00534"></a>00534 < a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a> =&<a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>;377 <a name="l00535"></a>00535 }378 <a name="l00536"></a>00536 379 <a name="l00537"></a>00537 <span class="keyword">template</span><<span class="keyword">class</span> sq_T>380 <a name="l00538"></a> <a class="code" href="classmlnorm.html#b6749030c5d5abcb3eb6898f74cea3c0">00538</a> <span class="keywordtype">void</span> <a class="code" href="classmlnorm.html#b6749030c5d5abcb3eb6898f74cea3c0" title="Set A and R.">mlnorm<sq_T>::set_parameters</a> ( <span class="keyword">const</span> mat &A0, <span class="keyword">const</span> sq_T &R0 ) {381 <a name="l00539"></a> 00539 <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.set_parameters ( zeros ( <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() ),R0 );382 <a name="l00540"></a>00540 A = A0;383 <a name="l00541"></a>00541 }384 <a name="l00542"></a>00542 385 <a name="l00543"></a>00543 <span class="keyword">template</span><<span class="keyword">class</span> sq_T>386 <a name="l00544"></a> <a class="code" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18">00544</a> vec <a class="code" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18" title="Generate one sample of the posterior.">mlnorm<sq_T>::samplecond</a> ( vec &cond, <span class="keywordtype">double</span> &lik ) {387 <a name="l00545"></a> 00545 this-><a class="code" href="classmlnorm.html#5232fc7e305eceab4e2bd6a8daa44195" title="Set value of rvc . Result of this operation is stored in epdf use function _ep to...">condition</a> ( cond );388 <a name="l00546"></a>00546 vec smp = <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.sample();389 <a name="l00547"></a>00547 lik = <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.eval ( smp );390 <a name="l00548"></a>00548 <span class="keywordflow">return</span> smp;391 <a name="l00549"></a>00549 }392 <a name="l00550"></a> 00550393 <a name="l00551"></a>00551 <span class="keyword">template</span><<span class="keyword">class</span> sq_T>394 <a name="l00552"></a> <a class="code" href="classmlnorm.html#215fb88cc8b95d64cdefd6849abdd1e8">00552</a> mat <a class="code" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18" title="Generate one sample of the posterior.">mlnorm<sq_T>::samplecond</a> ( vec &cond, vec &lik, <span class="keywordtype">int</span> n ) {395 <a name="l00553"></a>00553 <span class="keywordtype">int</span> i;396 <a name="l00554"></a>00554 <span class="keywordtype">int</span> dim = <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>();397 <a name="l00555"></a>00555 mat Smp ( dim,n );398 <a name="l00556"></a> 00556 vec smp ( dim );374 <a name="l00533"></a><a class="code" href="classenorm.html#c1e3dcba256b0153cfdb286120e110be">00533</a> <span class="keywordtype">double</span> <a class="code" href="classenorm.html#c1e3dcba256b0153cfdb286120e110be" title="Evaluate normalized log-probability.">enorm<sq_T>::evalpdflog_nn</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{ 375 <a name="l00534"></a>00534 <span class="comment">// 1.83787706640935 = log(2pi)</span> 376 <a name="l00535"></a>00535 <span class="keywordflow">return</span> -0.5* (<a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a>.invqform ( <a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>-val ) );<span class="comment">// - lognc();</span> 377 <a name="l00536"></a>00536 }; 378 <a name="l00537"></a>00537 379 <a name="l00538"></a>00538 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 380 <a name="l00539"></a><a class="code" href="classenorm.html#b289a36a69db59d182bb6eba9c05d4a8">00539</a> <span class="keyword">inline</span> <span class="keywordtype">double</span> <a class="code" href="classenorm.html#b289a36a69db59d182bb6eba9c05d4a8" title="logarithm of the normalizing constant, ">enorm<sq_T>::lognc</a> ()<span class="keyword"> const </span>{ 381 <a name="l00540"></a>00540 <span class="comment">// 1.83787706640935 = log(2pi)</span> 382 <a name="l00541"></a>00541 <span class="keywordflow">return</span> 0.5* ( <a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a>.cols() * 1.83787706640935 +<a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a>.logdet() ); 383 <a name="l00542"></a>00542 }; 384 <a name="l00543"></a>00543 385 <a name="l00544"></a>00544 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 386 <a name="l00545"></a><a class="code" href="classmlnorm.html#f927203b3f31171c5c10ffc7caa797f5">00545</a> <a class="code" href="classmlnorm.html#f927203b3f31171c5c10ffc7caa797f5" title="Constructor.">mlnorm<sq_T>::mlnorm</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rv0,<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &rvc0 ) :<a class="code" href="classmEF.html" title="Exponential family model.">mEF</a> ( rv0,rvc0 ),<a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( rv0 ),A ( rv0.count(),rv0.count() ),<a class="code" href="classenorm.html#0b8cb284e5af920a1b64a21d057ec5ac" title="returns a pointer to the internal mean value. Use with Care!">_mu</a> ( <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.<a class="code" href="classenorm.html#0b8cb284e5af920a1b64a21d057ec5ac" title="returns a pointer to the internal mean value. Use with Care!">_mu</a>() ) { 387 <a name="l00546"></a>00546 <a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a> =&<a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>; 388 <a name="l00547"></a>00547 } 389 <a name="l00548"></a>00548 390 <a name="l00549"></a>00549 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 391 <a name="l00550"></a><a class="code" href="classmlnorm.html#b6749030c5d5abcb3eb6898f74cea3c0">00550</a> <span class="keywordtype">void</span> <a class="code" href="classmlnorm.html#b6749030c5d5abcb3eb6898f74cea3c0" title="Set A and R.">mlnorm<sq_T>::set_parameters</a> ( <span class="keyword">const</span> mat &A0, <span class="keyword">const</span> sq_T &R0 ) { 392 <a name="l00551"></a>00551 <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.set_parameters ( zeros ( <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() ),R0 ); 393 <a name="l00552"></a>00552 A = A0; 394 <a name="l00553"></a>00553 } 395 <a name="l00554"></a>00554 396 <a name="l00555"></a>00555 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 397 <a name="l00556"></a><a class="code" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18">00556</a> vec <a class="code" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18" title="Generate one sample of the posterior.">mlnorm<sq_T>::samplecond</a> ( vec &cond, <span class="keywordtype">double</span> &lik ) { 399 398 <a name="l00557"></a>00557 this-><a class="code" href="classmlnorm.html#5232fc7e305eceab4e2bd6a8daa44195" title="Set value of rvc . Result of this operation is stored in epdf use function _ep to...">condition</a> ( cond ); 400 <a name="l00558"></a>00558 401 <a name="l00559"></a>00559 <span class="keywordflow">for</span> ( i=0; i<n; i++ ) { 402 <a name="l00560"></a>00560 smp = <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.sample(); 403 <a name="l00561"></a>00561 lik ( i ) = <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.eval ( smp ); 404 <a name="l00562"></a>00562 Smp.set_col ( i ,smp ); 405 <a name="l00563"></a>00563 } 406 <a name="l00564"></a>00564 407 <a name="l00565"></a>00565 <span class="keywordflow">return</span> Smp; 408 <a name="l00566"></a>00566 } 409 <a name="l00567"></a>00567 410 <a name="l00568"></a>00568 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 411 <a name="l00569"></a><a class="code" href="classmlnorm.html#5232fc7e305eceab4e2bd6a8daa44195">00569</a> <span class="keywordtype">void</span> <a class="code" href="classmlnorm.html#5232fc7e305eceab4e2bd6a8daa44195" title="Set value of rvc . Result of this operation is stored in epdf use function _ep to...">mlnorm<sq_T>::condition</a> ( vec &cond ) { 412 <a name="l00570"></a>00570 _mu = A*cond; 413 <a name="l00571"></a>00571 <span class="comment">//R is already assigned;</span> 414 <a name="l00572"></a>00572 } 415 <a name="l00573"></a>00573 416 <a name="l00575"></a>00575 399 <a name="l00558"></a>00558 vec smp = <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.sample(); 400 <a name="l00559"></a>00559 lik = <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.eval ( smp ); 401 <a name="l00560"></a>00560 <span class="keywordflow">return</span> smp; 402 <a name="l00561"></a>00561 } 403 <a name="l00562"></a>00562 404 <a name="l00563"></a>00563 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 405 <a name="l00564"></a><a class="code" href="classmlnorm.html#215fb88cc8b95d64cdefd6849abdd1e8">00564</a> mat <a class="code" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18" title="Generate one sample of the posterior.">mlnorm<sq_T>::samplecond</a> ( vec &cond, vec &lik, <span class="keywordtype">int</span> n ) { 406 <a name="l00565"></a>00565 <span class="keywordtype">int</span> i; 407 <a name="l00566"></a>00566 <span class="keywordtype">int</span> dim = <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>(); 408 <a name="l00567"></a>00567 mat Smp ( dim,n ); 409 <a name="l00568"></a>00568 vec smp ( dim ); 410 <a name="l00569"></a>00569 this-><a class="code" href="classmlnorm.html#5232fc7e305eceab4e2bd6a8daa44195" title="Set value of rvc . Result of this operation is stored in epdf use function _ep to...">condition</a> ( cond ); 411 <a name="l00570"></a>00570 412 <a name="l00571"></a>00571 <span class="keywordflow">for</span> ( i=0; i<n; i++ ) { 413 <a name="l00572"></a>00572 smp = <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.sample(); 414 <a name="l00573"></a>00573 lik ( i ) = <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.eval ( smp ); 415 <a name="l00574"></a>00574 Smp.set_col ( i ,smp ); 416 <a name="l00575"></a>00575 } 417 417 <a name="l00576"></a>00576 418 <a name="l00577"></a>00577 <span class="preprocessor">#endif //EF_H</span> 418 <a name="l00577"></a>00577 <span class="keywordflow">return</span> Smp; 419 <a name="l00578"></a>00578 } 420 <a name="l00579"></a>00579 421 <a name="l00580"></a>00580 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 422 <a name="l00581"></a><a class="code" href="classmlnorm.html#5232fc7e305eceab4e2bd6a8daa44195">00581</a> <span class="keywordtype">void</span> <a class="code" href="classmlnorm.html#5232fc7e305eceab4e2bd6a8daa44195" title="Set value of rvc . Result of this operation is stored in epdf use function _ep to...">mlnorm<sq_T>::condition</a> ( vec &cond ) { 423 <a name="l00582"></a>00582 _mu = A*cond; 424 <a name="l00583"></a>00583 <span class="comment">//R is already assigned;</span> 425 <a name="l00584"></a>00584 } 426 <a name="l00585"></a>00585 427 <a name="l00587"></a>00587 428 <a name="l00588"></a>00588 429 <a name="l00589"></a>00589 <span class="preprocessor">#endif //EF_H</span> 419 430 </pre></div></div> 420 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:452008 for mixpp by 431 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 421 432 <a href="http://www.doxygen.org/index.html"> 422 433 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/libEF_8h.html ¶
r171 r180 39 39 <p><center><img src="libEF_8h__dep__incl.png" border="0" usemap="#work/git/mixpp/bdm/stat/libEF.hdep_map" alt=""></center> 40 40 <map name="work/git/mixpp/bdm/stat/libEF.hdep_map"> 41 <area shape="rect" href="arx_8h.html" title="Bayesian Filtering for generalized autoregressive (ARX) model." alt="" coords="2 73,84,495,111"><area shape="rect" href="libKF_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="763,84,992,111"><area shape="rect" href="libPF_8h.html" title="Bayesian Filtering using stochastic sampling (Particle Filters)." alt="" coords="1189,84,1419,111"><area shape="rect" href="mixef_8h.html" title="Bayesian Filtering for mixtures of exponential family (EF) members." alt="" coords="1341,161,1576,188"><area shape="rect" href="emix_8h.html" title="Probability distributions for Mixtures of pdfs." alt="" coords="1499,84,1720,111"><area shape="rect" href="merger_8h.html" title="Mergers for combination of pdfs." alt="" coords="1651,161,1888,188"><area shape="rect" href="sim__var__arx_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="5,161,272,188"><area shape="rect" href="ekf__templ_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="296,161,560,188"><area shape="rect" href="sim__var_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="584,161,821,188"><area shape="rect" href="ekf__obj_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="845,161,1267,188"><area shape="rect" href="pmsm__mix_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="1175,239,1433,265"></map>41 <area shape="rect" href="arx_8h.html" title="Bayesian Filtering for generalized autoregressive (ARX) model." alt="" coords="241,84,463,111"><area shape="rect" href="libKF_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="697,84,927,111"><area shape="rect" href="libPF_8h.html" title="Bayesian Filtering using stochastic sampling (Particle Filters)." alt="" coords="992,84,1221,111"><area shape="rect" href="mixef_8h.html" title="Bayesian Filtering for mixtures of exponential family (EF) members." alt="" coords="1392,161,1627,188"><area shape="rect" href="emix_8h.html" title="Probability distributions for Mixtures of pdfs." alt="" coords="1245,84,1467,111"><area shape="rect" href="sim__var__arx_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="5,161,272,188"><area shape="rect" href="ekf__templ_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="1003,161,1267,188"><area shape="rect" href="sim__var_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="296,161,533,188"><area shape="rect" href="ekf__obj_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="557,161,979,188"><area shape="rect" href="pmsm__mix_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="1139,239,1397,265"><area shape="rect" href="merger_8h.html" title="Mergers for combination of pdfs." alt="" coords="1421,239,1669,265"></map> 42 42 </div> 43 43 … … 112 112 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 113 113 Using IT++ for numerical operations ----------------------------------- </div> 114 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 114 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by 115 115 <a href="http://www.doxygen.org/index.html"> 116 116 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/libEF_8h__dep__incl.map ¶
r171 r180 1 <area shape="rect" href="$arx_8h.html" title="Bayesian Filtering for generalized autoregressive (ARX) model." alt="" coords="273,84,495,111"> 2 <area shape="rect" href="$libKF_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="763,84,992,111"> 3 <area shape="rect" href="$libPF_8h.html" title="Bayesian Filtering using stochastic sampling (Particle Filters)." alt="" coords="1189,84,1419,111"> 4 <area shape="rect" href="$mixef_8h.html" title="Bayesian Filtering for mixtures of exponential family (EF) members." alt="" coords="1341,161,1576,188"> 5 <area shape="rect" href="$emix_8h.html" title="Probability distributions for Mixtures of pdfs." alt="" coords="1499,84,1720,111"> 6 <area shape="rect" href="$merger_8h.html" title="Mergers for combination of pdfs." alt="" coords="1651,161,1888,188"> 1 <area shape="rect" href="$arx_8h.html" title="Bayesian Filtering for generalized autoregressive (ARX) model." alt="" coords="241,84,463,111"> 2 <area shape="rect" href="$libKF_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="697,84,927,111"> 3 <area shape="rect" href="$libPF_8h.html" title="Bayesian Filtering using stochastic sampling (Particle Filters)." alt="" coords="992,84,1221,111"> 4 <area shape="rect" href="$mixef_8h.html" title="Bayesian Filtering for mixtures of exponential family (EF) members." alt="" coords="1392,161,1627,188"> 5 <area shape="rect" href="$emix_8h.html" title="Probability distributions for Mixtures of pdfs." alt="" coords="1245,84,1467,111"> 7 6 <area shape="rect" href="$sim__var__arx_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="5,161,272,188"> 8 <area shape="rect" href="$ekf__templ_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="296,161,560,188"> 9 <area shape="rect" href="$sim__var_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="584,161,821,188"> 10 <area shape="rect" href="$ekf__obj_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="845,161,1267,188"> 11 <area shape="rect" href="$pmsm__mix_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="1175,239,1433,265"> 7 <area shape="rect" href="$ekf__templ_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="1003,161,1267,188"> 8 <area shape="rect" href="$sim__var_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="296,161,533,188"> 9 <area shape="rect" href="$ekf__obj_8h.html" title="Bayesian Filtering for linear Gaussian models (Kalman Filter) and extensions." alt="" coords="557,161,979,188"> 10 <area shape="rect" href="$pmsm__mix_8cpp.html" title="Models for synchronous electric drive using IT++ and BDM." alt="" coords="1139,239,1397,265"> 11 <area shape="rect" href="$merger_8h.html" title="Mergers for combination of pdfs." alt="" coords="1421,239,1669,265"> -
TabularUnified doc/html/libEF_8h__dep__incl.md5 ¶
r171 r180 1 40e2cf10b2e61e381a46d5d249f18eeb 1 27ed66889d1f3674ed4f9e7654e42546 -
TabularUnified doc/html/libFN_8h-source.html ¶
r171 r180 104 104 <a name="l00123"></a>00123 <span class="preprocessor">#endif // FN_H</span> 105 105 </pre></div></div> 106 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:452008 for mixpp by 106 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 107 107 <a href="http://www.doxygen.org/index.html"> 108 108 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/libKF_8h-source.html ¶
r171 r180 292 292 <a name="l00393"></a>00393 ( <a class="code" href="classKalman.html#fe803a81d2d847b0b1db3c6b29c18061" title="cache of est.mu">_mu</a> ) += <a class="code" href="classKalman.html#d422f51467c7a06174af2476d2826132" title="placeholder for Kalman gain">_K</a>* ( y-<a class="code" href="classKalman.html#764bbc95238eda11fc81c5ebd0b1dcfd" title="cache of fy.mu">_yp</a> ); 293 293 <a name="l00394"></a>00394 294 <a name="l00395"></a>00395 <span class="keywordflow">if</span> ( <a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a>==<span class="keyword">true</span> ) {<a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a>+=<a class="code" href="classKalman.html#e580ab06483952bd03f2e651763e184f" title="preditive density on $y_t$">fy</a>.<a class="code" href="classe norm.html#609a7c33dbb4fdfab050f3bdd1122401" title="Evaluate normalized log-probability.">evalpdflog</a> ( y );}294 <a name="l00395"></a>00395 <span class="keywordflow">if</span> ( <a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a>==<span class="keyword">true</span> ) {<a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a>+=<a class="code" href="classKalman.html#e580ab06483952bd03f2e651763e184f" title="preditive density on $y_t$">fy</a>.<a class="code" href="classeEF.html#6466e8d4aa9dd64698ed288cbb1afc03" title="Evaluate normalized log-probability.">evalpdflog</a> ( y );} 295 295 <a name="l00396"></a>00396 }; 296 296 <a name="l00397"></a>00397 … … 300 300 <a name="l00401"></a>00401 301 301 </pre></div></div> 302 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:452008 for mixpp by 302 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 303 303 <a href="http://www.doxygen.org/index.html"> 304 304 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/libKF_8h.html ¶
r171 r180 77 77 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 78 78 Using IT++ for numerical operations ----------------------------------- </div> 79 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 79 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by 80 80 <a href="http://www.doxygen.org/index.html"> 81 81 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/libPF_8h-source.html ¶
r171 r180 190 190 <a name="l00209"></a>00209 191 191 </pre></div></div> 192 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:452008 for mixpp by 192 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 193 193 <a href="http://www.doxygen.org/index.html"> 194 194 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/libPF_8h.html ¶
r171 r180 65 65 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 66 66 Using IT++ for numerical operations ----------------------------------- </div> 67 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 67 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by 68 68 <a href="http://www.doxygen.org/index.html"> 69 69 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/loggers_8h-source.html ¶
r171 r180 88 88 <a name="l00126"></a>00126 <span class="preprocessor">#endif // LGR_H</span> 89 89 </pre></div></div> 90 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:452008 for mixpp by 90 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 91 91 <a href="http://www.doxygen.org/index.html"> 92 92 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/loggers_8h.html ¶
r171 r180 61 61 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 62 62 Using IT++ for numerical operations ----------------------------------- </div> 63 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 63 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by 64 64 <a href="http://www.doxygen.org/index.html"> 65 65 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/matrix_8h-source.html ¶
r171 r180 88 88 <a name="l00072"></a>00072 89 89 </pre></div></div> 90 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 90 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by 91 91 <a href="http://www.doxygen.org/index.html"> 92 92 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/merger_8h-source.html ¶
r171 r180 1 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2 2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> 3 <title>mixpp: work/git/mixpp/bdm/ stat/merger.h Source File</title>3 <title>mixpp: work/git/mixpp/bdm/estim/merger.h Source File</title> 4 4 <link href="doxygen.css" rel="stylesheet" type="text/css"> 5 5 <link href="tabs.css" rel="stylesheet" type="text/css"> … … 15 15 </ul> 16 16 </div> 17 <h1>work/git/mixpp/bdm/ stat/merger.h</h1><a href="merger_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>0000117 <h1>work/git/mixpp/bdm/estim/merger.h</h1><a href="merger_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 18 18 <a name="l00013"></a>00013 <span class="preprocessor">#ifndef MER_H</span> 19 19 <a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define MER_H</span> 20 20 <a name="l00015"></a>00015 <span class="preprocessor"></span> 21 21 <a name="l00016"></a>00016 <span class="preprocessor">#include <itpp/itbase.h></span> 22 <a name="l00017"></a>00017 <span class="preprocessor">#include "<a class="code" href="libBM_8h.html" title="Bayesian Models (bm) that use Bayes rule to learn from observations.">libBM.h</a>"</span> 23 <a name="l00018"></a>00018 <span class="preprocessor">#include "<a class="code" href="libEF_8h.html" title="Probability distributions for Exponential Family models.">libEF.h</a>"</span> 24 <a name="l00019"></a>00019 <span class="preprocessor">#include "<a class="code" href="emix_8h.html" title="Probability distributions for Mixtures of pdfs.">emix.h</a>"</span> 25 <a name="l00020"></a>00020 26 <a name="l00021"></a>00021 <span class="keyword">using namespace </span>itpp; 27 <a name="l00022"></a>00022 <span class="keyword">using</span> std::string; 28 <a name="l00023"></a>00023 29 <a name="l00030"></a><a class="code" href="classmerger.html">00030</a> <span class="keyword">class </span><a class="code" href="classmerger.html" title="Function for general combination of pdfs.">merger</a> : <span class="keyword">public</span> <a class="code" href="classmprod.html" title="Chain rule decomposition of epdf.">mprod</a>{ 30 <a name="l00031"></a>00031 <span class="keyword">protected</span>: 31 <a name="l00033"></a><a class="code" href="classmerger.html#1712341746811f2844de5499817abb46">00033</a> <a class="code" href="classenorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm<fsqmat></a> <a class="code" href="classmerger.html#1712341746811f2844de5499817abb46" title="Additional pdf on the part in condition (if undefined);.">condpdf</a>; 32 <a name="l00035"></a><a class="code" href="classmerger.html#11eb177ef6409926b2ba3b4630bceab1">00035</a> Array<ivec> <a class="code" href="classmerger.html#11eb177ef6409926b2ba3b4630bceab1" title="Find potential overlaps in rv.">overlaps</a>; 33 <a name="l00036"></a>00036 <span class="keyword">public</span>: 34 <a name="l00038"></a><a class="code" href="classmerger.html#1a6a721294321c2e412ca0084c636b69">00038</a> <a class="code" href="classmerger.html#1a6a721294321c2e412ca0084c636b69" title="Default constructor.">merger</a> (<span class="keyword">const</span> Array<mpdf*> &in_sources) : <a class="code" href="classmprod.html" title="Chain rule decomposition of epdf.">mprod</a>(in_sources,true), <a class="code" href="classmerger.html#1712341746811f2844de5499817abb46" title="Additional pdf on the part in condition (if undefined);.">condpdf</a>(<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a>), <a class="code" href="classmerger.html#11eb177ef6409926b2ba3b4630bceab1" title="Find potential overlaps in rv.">overlaps</a>(<a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>.count()) { 35 <a name="l00039"></a>00039 <span class="keywordflow">if</span> (<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>()>0) { 36 <a name="l00040"></a>00040 vec mu = zeros(<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>()); 37 <a name="l00041"></a>00041 mat R = 100*eye(<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>()); 38 <a name="l00042"></a>00042 <a class="code" href="classmerger.html#1712341746811f2844de5499817abb46" title="Additional pdf on the part in condition (if undefined);.">condpdf</a>.<a class="code" href="classenorm.html#1394a65caa6e00d42e00cc99b12227af" title="Set mean value mu and covariance R.">set_parameters</a>(mu,R); 39 <a name="l00043"></a>00043 } 40 <a name="l00044"></a>00044 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i=0;i<<a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>();i++){ <span class="comment">// cycle over rv</span> 41 <a name="l00045"></a>00045 ivec tmp(0); 42 <a name="l00046"></a>00046 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j=0;j<n;j++){<span class="comment">//cycle over rvinds</span> 43 <a name="l00047"></a>00047 ivec <span class="keywordtype">id</span>=itpp::find(<a class="code" href="classmprod.html#c8f78fbcdb4e38ecd3197d2958082497" title="Indeces of rvs in common rv.">rvinds</a>(j)==i); 44 <a name="l00048"></a>00048 tmp=concat(tmp,<span class="keywordtype">id</span>); <span class="comment">// add i to tmp if found</span> 45 <a name="l00049"></a>00049 } 46 <a name="l00050"></a>00050 <a class="code" href="classmerger.html#11eb177ef6409926b2ba3b4630bceab1" title="Find potential overlaps in rv.">overlaps</a>(i)=tmp; 47 <a name="l00051"></a>00051 } 48 <a name="l00052"></a>00052 } 49 <a name="l00055"></a>00055 <span class="comment">/* vec sample(double &w, const vec &smp0){</span> 50 <a name="l00056"></a>00056 <span class="comment"> // result</span> 51 <a name="l00057"></a>00057 <span class="comment"> vec smp=smp0;</span> 52 <a name="l00058"></a>00058 <span class="comment"> vec cond=condpdf.sample(); // Just like in samplecond, here it is not given!</span> 53 <a name="l00059"></a>00059 <span class="comment"> // temporary</span> 54 <a name="l00060"></a>00060 <span class="comment"> mat smpi=zeros(rv.count()+rvc.count(), n);</span> 55 <a name="l00061"></a>00061 <span class="comment"> vec condi;</span> 56 <a name="l00062"></a>00062 <span class="comment"> vec ll(n);</span> 57 <a name="l00063"></a>00063 <span class="comment"> </span> 58 <a name="l00064"></a>00064 <span class="comment"> // Consider arithmetic mean as a proposal density</span> 59 <a name="l00065"></a>00065 <span class="comment"> ll = 0;</span> 60 <a name="l00066"></a>00066 <span class="comment"> for ( int i = ( n - 1 );i >= 0;i-- ) {</span> 61 <a name="l00067"></a>00067 <span class="comment"> if ( rvcinds ( i ).length() > 0 ) {</span> 62 <a name="l00068"></a>00068 <span class="comment"> condi = zeros ( rvcinrv.length() + rvcinds.length() );</span> 63 <a name="l00069"></a>00069 <span class="comment"> // copy data in condition</span> 64 <a name="l00070"></a>00070 <span class="comment"> set_subvector ( condi,rvcinds ( i ), cond );</span> 65 <a name="l00071"></a>00071 <span class="comment"> // copy data in already generated sample</span> 66 <a name="l00072"></a>00072 <span class="comment"> set_subvector ( condi,rvcinrv ( i ), smp );</span> 67 <a name="l00073"></a>00073 <span class="comment"></span> 68 <a name="l00074"></a>00074 <span class="comment"> mpdfs ( i )->condition ( condi );</span> 69 <a name="l00075"></a>00075 <span class="comment"> }</span> 70 <a name="l00076"></a>00076 <span class="comment"> smpi.set_col(i, epdfs ( i )->sample());</span> 71 <a name="l00077"></a>00077 <span class="comment"> // add ith likelihood contribution</span> 72 <a name="l00078"></a>00078 <span class="comment"> ll+=epdfs(i)->evalpdflog(smpi);</span> 73 <a name="l00079"></a>00079 <span class="comment"> }</span> 74 <a name="l00080"></a>00080 <span class="comment"> // Now lets analyze samples smpi</span> 75 <a name="l00081"></a>00081 <span class="comment"> for (int i=0;i<rv.count();i++){</span> 76 <a name="l00082"></a>00082 <span class="comment"> // number of components</span> 77 <a name="l00083"></a>00083 <span class="comment"> int noc = overlaps(i).length();</span> 78 <a name="l00084"></a>00084 <span class="comment"> if (noc<2) { // only one sample in this dimension, take it</span> 79 <a name="l00085"></a>00085 <span class="comment"> smp(i) = smpi(i,overlaps(i)(0));</span> 80 <a name="l00086"></a>00086 <span class="comment"> }</span> 81 <a name="l00087"></a>00087 <span class="comment"> else {</span> 82 <a name="l00088"></a>00088 <span class="comment"> //pick dimension</span> 83 <a name="l00089"></a>00089 <span class="comment"> double unis = UniRNG.sample();</span> 84 <a name="l00090"></a>00090 <span class="comment"> dim = 0;</span> 85 <a name="l00091"></a>00091 <span class="comment"> while(unis<(dim+1)/noc) {dim++;} // </span> 86 <a name="l00092"></a>00092 <span class="comment"> //in dim we now have randomly picked dimension</span> 87 <a name="l00093"></a>00093 <span class="comment"> smp(i) = smpi(i,overlaps(i)(dim));</span> 88 <a name="l00094"></a>00094 <span class="comment"> }</span> 89 <a name="l00095"></a>00095 <span class="comment"> }</span> 90 <a name="l00096"></a>00096 <span class="comment"> </span> 91 <a name="l00097"></a>00097 <span class="comment"> // now we have sample how to evaluate weight?</span> 92 <a name="l00098"></a>00098 <span class="comment"> return smp;</span> 93 <a name="l00099"></a>00099 <span class="comment"> </span> 94 <a name="l00100"></a>00100 <span class="comment"> // copied from mprod.sample</span> 95 <a name="l00101"></a>00101 <span class="comment"> };*/</span> 96 <a name="l00102"></a>00102 <span class="comment">// project </span> 97 <a name="l00104"></a><a class="code" href="classmerger.html#51e425ee1dd46d73353526e6a1c24ca3">00104</a> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="classmerger.html#51e425ee1dd46d73353526e6a1c24ca3" title="for future use">~merger</a>() {}; 98 <a name="l00105"></a>00105 }; 99 <a name="l00106"></a>00106 100 <a name="l00107"></a>00107 101 <a name="l00108"></a>00108 <span class="preprocessor">#endif // MER_H</span> 22 <a name="l00017"></a>00017 <span class="preprocessor">#include "<a class="code" href="mixef_8h.html" title="Bayesian Filtering for mixtures of exponential family (EF) members.">mixef.h</a>"</span> 23 <a name="l00018"></a>00018 24 <a name="l00019"></a>00019 <span class="keyword">using namespace </span>itpp; 25 <a name="l00020"></a>00020 <span class="keyword">using</span> std::string; 26 <a name="l00021"></a>00021 27 <a name="l00028"></a><a class="code" href="classmerger.html">00028</a> <span class="keyword">class </span><a class="code" href="classmerger.html" title="Function for general combination of pdfs.">merger</a> : <span class="keyword">public</span> <a class="code" href="classcompositepdf.html" title="Abstract composition of pdfs, a base for specific classes.">compositepdf</a>, <span class="keyword">public</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> { 28 <a name="l00029"></a>00029 <span class="keyword">protected</span>: 29 <a name="l00031"></a><a class="code" href="classmerger.html#021d1522cea70db8545d708afd32ec2f">00031</a> <a class="code" href="classMixEF.html" title="Mixture of Exponential Family Densities.">MixEF</a> <a class="code" href="classmerger.html#021d1522cea70db8545d708afd32ec2f" title="Internal mixture of EF models.">Mix</a>; 30 <a name="l00033"></a><a class="code" href="classmerger.html#ce84de1824875b4262eefb640e8c6d69">00033</a> <span class="keywordtype">int</span> <a class="code" href="classmerger.html#ce84de1824875b4262eefb640e8c6d69" title="Number of samples used in approximation.">Ns</a>; 31 <a name="l00035"></a><a class="code" href="classmerger.html#6acf33e1c64aaaee20689725e8110f65">00035</a> <span class="keywordtype">int</span> <a class="code" href="classmerger.html#6acf33e1c64aaaee20689725e8110f65" title="Number of components in a mixture.">Nc</a>; 32 <a name="l00037"></a><a class="code" href="classmerger.html#e68a72e2740007ae68545e378c7701ad">00037</a> <span class="keywordtype">double</span> <a class="code" href="classmerger.html#e68a72e2740007ae68545e378c7701ad" title="Prior on the log-normal merging model.">beta</a>; 33 <a name="l00038"></a>00038 <span class="keyword">public</span>: 34 <a name="l00040"></a><a class="code" href="classmerger.html#3f9a955329eab65026e8322e9027d469">00040</a> <a class="code" href="classmerger.html#3f9a955329eab65026e8322e9027d469" title="Default constructor.">merger</a> ( <span class="keyword">const</span> Array<mpdf*> &S ) : 35 <a name="l00041"></a>00041 <a class="code" href="classcompositepdf.html" title="Abstract composition of pdfs, a base for specific classes.">compositepdf</a> ( S ), <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( getrv ( false ) ), 36 <a name="l00042"></a>00042 <a class="code" href="classmerger.html#021d1522cea70db8545d708afd32ec2f" title="Internal mixture of EF models.">Mix</a> ( Array<<a class="code" href="classBMEF.html" title="Estimator for Exponential family.">BMEF</a>*> ( 0 ),vec ( 0 ) ) 37 <a name="l00043"></a>00043 { <a class="code" href="classmerger.html#e68a72e2740007ae68545e378c7701ad" title="Prior on the log-normal merging model.">beta</a>=2.0; <a class="code" href="classmerger.html#ce84de1824875b4262eefb640e8c6d69" title="Number of samples used in approximation.">Ns</a>=100; <a class="code" href="classmerger.html#6acf33e1c64aaaee20689725e8110f65" title="Number of components in a mixture.">Nc</a>=10;} 38 <a name="l00045"></a><a class="code" href="classmerger.html#79420e251308df4502c834171d518ad9">00045</a> <span class="keywordtype">void</span> <a class="code" href="classmerger.html#79420e251308df4502c834171d518ad9" title="Set internal parameters used in approximation.">set_parameters</a> ( <span class="keywordtype">double</span> beta0, <span class="keywordtype">int</span> Ns0, <span class="keywordtype">int</span> Nc0 ) { <a class="code" href="classmerger.html#e68a72e2740007ae68545e378c7701ad" title="Prior on the log-normal merging model.">beta</a>=beta0;<a class="code" href="classmerger.html#ce84de1824875b4262eefb640e8c6d69" title="Number of samples used in approximation.">Ns</a>=Ns0;<a class="code" href="classmerger.html#6acf33e1c64aaaee20689725e8110f65" title="Number of components in a mixture.">Nc</a>=Nc0;} 39 <a name="l00047"></a><a class="code" href="classmerger.html#02d2a445e44a87f37ee3a2b9b40cffd1">00047</a> <span class="keywordtype">void</span> <a class="code" href="classmerger.html#02d2a445e44a87f37ee3a2b9b40cffd1" title="Initialize the proposal density. This function must be called before merge()!">init</a>() { 40 <a name="l00048"></a>00048 Array<vec> Smps ( <a class="code" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f" title="Number of mpdfs in the composite.">n</a> ); 41 <a name="l00049"></a>00049 <span class="comment">//Gibbs sampling</span> 42 <a name="l00050"></a>00050 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f" title="Number of mpdfs in the composite.">n</a>;i++ ) {Smps ( i ) =zeros ( 0 );} 43 <a name="l00051"></a>00051 } 44 <a name="l00053"></a>00053 <span class="keywordtype">void</span> <a class="code" href="classmerger.html#bc23accc77ec766bce7202934e2c180c" title="Create a mixture density, make sure to call init() before the first call.">merge</a> ( <span class="keyword">const</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* g0 ); 45 <a name="l00055"></a><a class="code" href="classmerger.html#bc23accc77ec766bce7202934e2c180c">00055</a> <span class="keywordtype">void</span> <a class="code" href="classmerger.html#bc23accc77ec766bce7202934e2c180c" title="Create a mixture density, make sure to call init() before the first call.">merge</a> () {<a class="code" href="classmerger.html#bc23accc77ec766bce7202934e2c180c" title="Create a mixture density, make sure to call init() before the first call.">merge</a> ( & ( <a class="code" href="classmerger.html#021d1522cea70db8545d708afd32ec2f" title="Internal mixture of EF models.">Mix</a>.<a class="code" href="classMixEF.html#efb3e20c2151d91c4fc080b7722a2069" title="Returns a pointer to the epdf representing posterior density on parameters. Use with...">_epdf</a>() ) );}; 46 <a name="l00056"></a>00056 47 <a name="l00058"></a>00058 vec <a class="code" href="classmerger.html#217c65f335c603033fa09a2ecc64bc05" title="Merge log-likelihood values.">lognorm_merge</a> ( mat &lW ); 48 <a name="l00061"></a><a class="code" href="classmerger.html#379198c3d2063bfa63f5d1245a2511ba">00061</a> vec <a class="code" href="classmerger.html#379198c3d2063bfa63f5d1245a2511ba">sample</a> ( )<span class="keyword">const </span>{ <span class="keywordflow">return</span> <a class="code" href="classmerger.html#021d1522cea70db8545d708afd32ec2f" title="Internal mixture of EF models.">Mix</a>.<a class="code" href="classMixEF.html#efb3e20c2151d91c4fc080b7722a2069" title="Returns a pointer to the epdf representing posterior density on parameters. Use with...">_epdf</a>().<a class="code" href="classepdf.html#8019654e494bf5e458f6fb947e11b262" title="Returns a sample, from density .">sample</a>();} 49 <a name="l00062"></a><a class="code" href="classmerger.html#8c37688902b1a1e9fa32edc5709e5a00">00062</a> <span class="keywordtype">double</span> <a class="code" href="classmerger.html#8c37688902b1a1e9fa32edc5709e5a00" title="Compute log-probability of argument val.">evalpdflog</a> ( <span class="keyword">const</span> vec &dt )<span class="keyword"> const</span>{ <span class="keywordflow">return</span> <a class="code" href="classmerger.html#021d1522cea70db8545d708afd32ec2f" title="Internal mixture of EF models.">Mix</a>.<a class="code" href="classMixEF.html#efb3e20c2151d91c4fc080b7722a2069" title="Returns a pointer to the epdf representing posterior density on parameters. Use with...">_epdf</a>().<a class="code" href="classepdf.html#6aef3eca74899692503769c18add1a4c" title="Compute log-probability of argument val.">evalpdflog</a> ( dt );} 50 <a name="l00063"></a><a class="code" href="classmerger.html#3a46999cd77047d5d4ac6c1cb735a83e">00063</a> vec <a class="code" href="classmerger.html#3a46999cd77047d5d4ac6c1cb735a83e" title="return expected value">mean</a>()<span class="keyword">const </span>{<span class="keywordflow">return</span> <a class="code" href="classmerger.html#021d1522cea70db8545d708afd32ec2f" title="Internal mixture of EF models.">Mix</a>.<a class="code" href="classMixEF.html#efb3e20c2151d91c4fc080b7722a2069" title="Returns a pointer to the epdf representing posterior density on parameters. Use with...">_epdf</a>().<a class="code" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870" title="return expected value">mean</a>();} 51 <a name="l00065"></a><a class="code" href="classmerger.html#51e425ee1dd46d73353526e6a1c24ca3">00065</a> <span class="keyword">virtual</span> <a class="code" href="classmerger.html#51e425ee1dd46d73353526e6a1c24ca3" title="for future use">~merger</a>() {}; 52 <a name="l00066"></a>00066 }; 53 <a name="l00067"></a>00067 54 <a name="l00068"></a>00068 55 <a name="l00069"></a>00069 56 <a name="l00070"></a>00070 <span class="preprocessor">#endif // MER_H</span> 102 57 </pre></div></div> 103 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:452008 for mixpp by 58 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 104 59 <a href="http://www.doxygen.org/index.html"> 105 60 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/merger_8h.html ¶
r171 r180 1 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2 2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> 3 <title>mixpp: work/git/mixpp/bdm/ stat/merger.h File Reference</title>3 <title>mixpp: work/git/mixpp/bdm/estim/merger.h File Reference</title> 4 4 <link href="doxygen.css" rel="stylesheet" type="text/css"> 5 5 <link href="tabs.css" rel="stylesheet" type="text/css"> … … 17 17 </div> 18 18 <div class="contents"> 19 <h1>work/git/mixpp/bdm/ stat/merger.h File Reference</h1>Mergers for combination of pdfs. <a href="#_details">More...</a>19 <h1>work/git/mixpp/bdm/estim/merger.h File Reference</h1>Mergers for combination of pdfs. <a href="#_details">More...</a> 20 20 <p> 21 21 <code>#include <itpp/itbase.h></code><br> 22 <code>#include "<a class="el" href="libBM_8h-source.html">libBM.h</a>"</code><br> 23 <code>#include "<a class="el" href="libEF_8h-source.html">libEF.h</a>"</code><br> 24 <code>#include "<a class="el" href="emix_8h-source.html">emix.h</a>"</code><br> 22 <code>#include "<a class="el" href="mixef_8h-source.html">mixef.h</a>"</code><br> 25 23 26 24 <p> … … 28 26 Include dependency graph for merger.h:</div> 29 27 <div class="dynsection"> 30 <p><center><img src="merger_8h__incl.png" border="0" usemap="#work/git/mixpp/bdm/ stat/merger.h_map" alt=""></center>31 <map name="work/git/mixpp/bdm/ stat/merger.h_map">32 <area shape="rect" href=" libBM_8h.html" title="Bayesian Models (bm) that use Bayes rule to learn from observations." alt="" coords="76,239,143,265"><area shape="rect" href="libEF_8h.html" title="Probability distributions for Exponential Family models." alt="" coords="192,161,251,188"><area shape="rect" href="emix_8h.html" title="Probability distributions for Mixtures of pdfs." alt="" coords="127,84,191,111"><area shape="rect" href="libDC_8h.html" title="Matrices in decomposed forms (LDL', LU, UDU', etc)." alt="" coords="217,239,332,265"><area shape="rect" href="itpp__ext_8h-source.html" title="../itpp_ext.h" alt="" coords="356,239,452,265"></map>28 <p><center><img src="merger_8h__incl.png" border="0" usemap="#work/git/mixpp/bdm/estim/merger.h_map" alt=""></center> 29 <map name="work/git/mixpp/bdm/estim/merger.h_map"> 30 <area shape="rect" href="mixef_8h.html" title="Bayesian Filtering for mixtures of exponential family (EF) members." alt="" coords="165,84,232,111"><area shape="rect" href="libFN_8h-source.html" title="../stat/libFN.h" alt="" coords="148,239,252,265"><area shape="rect" href="libEF_8h.html" title="Probability distributions for Exponential Family models." alt="" coords="327,239,428,265"><area shape="rect" href="emix_8h.html" title="Probability distributions for Mixtures of pdfs." alt="" coords="236,161,340,188"><area shape="rect" href="libBM_8h.html" title="Bayesian Models (bm) that use Bayes rule to learn from observations." alt="" coords="199,316,265,343"><area shape="rect" href="libDC_8h.html" title="Matrices in decomposed forms (LDL', LU, UDU', etc)." alt="" coords="340,316,455,343"><area shape="rect" href="itpp__ext_8h-source.html" title="../itpp_ext.h" alt="" coords="479,316,575,343"></map> 33 31 </div> 34 32 … … 47 45 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 48 46 Using IT++ for numerical operations ----------------------------------- </div> 49 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 47 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by 50 48 <a href="http://www.doxygen.org/index.html"> 51 49 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/merger_8h__incl.map ¶
r171 r180 1 <area shape="rect" href="$libBM_8h.html" title="Bayesian Models (bm) that use Bayes rule to learn from observations." alt="" coords="76,239,143,265"> 2 <area shape="rect" href="$libEF_8h.html" title="Probability distributions for Exponential Family models." alt="" coords="192,161,251,188"> 3 <area shape="rect" href="$emix_8h.html" title="Probability distributions for Mixtures of pdfs." alt="" coords="127,84,191,111"> 4 <area shape="rect" href="$libDC_8h.html" title="Matrices in decomposed forms (LDL', LU, UDU', etc)." alt="" coords="217,239,332,265"> 5 <area shape="rect" href="$itpp__ext_8h-source.html" title="../itpp_ext.h" alt="" coords="356,239,452,265"> 1 <area shape="rect" href="$mixef_8h.html" title="Bayesian Filtering for mixtures of exponential family (EF) members." alt="" coords="165,84,232,111"> 2 <area shape="rect" href="$libFN_8h-source.html" title="../stat/libFN.h" alt="" coords="148,239,252,265"> 3 <area shape="rect" href="$libEF_8h.html" title="Probability distributions for Exponential Family models." alt="" coords="327,239,428,265"> 4 <area shape="rect" href="$emix_8h.html" title="Probability distributions for Mixtures of pdfs." alt="" coords="236,161,340,188"> 5 <area shape="rect" href="$libBM_8h.html" title="Bayesian Models (bm) that use Bayes rule to learn from observations." alt="" coords="199,316,265,343"> 6 <area shape="rect" href="$libDC_8h.html" title="Matrices in decomposed forms (LDL', LU, UDU', etc)." alt="" coords="340,316,455,343"> 7 <area shape="rect" href="$itpp__ext_8h-source.html" title="../itpp_ext.h" alt="" coords="479,316,575,343"> -
TabularUnified doc/html/merger_8h__incl.md5 ¶
r171 r180 1 1d40f7194bc468c085ec6954b743971e 1 cc95f72aa52c75e16f994891c8a628e4 -
TabularUnified doc/html/mixef_8h-source.html ¶
r171 r180 45 45 <a name="l00062"></a>00062 46 46 <a name="l00063"></a>00063 <span class="keyword">public</span>: 47 <a name="l00065"></a><a class="code" href="classMixEF.html# 7713c2f01e97df268049821749405bc2">00065</a> <a class="code" href="classMixEF.html#7713c2f01e97df268049821749405bc2" title="Full constructor.">MixEF</a> (Array<BMEF*> &Coms0, <span class="keyword">const</span> vec &alpha0 ) :47 <a name="l00065"></a><a class="code" href="classMixEF.html#509ac467674c39af46aba42297528aad">00065</a> <a class="code" href="classMixEF.html" title="Mixture of Exponential Family Densities.">MixEF</a> ( <span class="keyword">const</span> Array<BMEF*> &Coms0, <span class="keyword">const</span> vec &alpha0 ) : 48 48 <a name="l00066"></a>00066 <a class="code" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>() ), <a class="code" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149" title="Number of components.">n</a> ( Coms0.length() ), <a class="code" href="classMixEF.html#4c4a140ca4e6e71b00237b7bc754302e" title="Models for Components of .">Coms</a> ( <a class="code" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149" title="Number of components.">n</a> ), 49 49 <a name="l00067"></a>00067 <a class="code" href="classMixEF.html#d906782a0a9558f19150dc69411f717f" title="Statistics for weights.">weights</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> ( <span class="stringliteral">"{w }"</span>, vec_1 ( <a class="code" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149" title="Number of components.">n</a> ) ),alpha0 ) { 50 <a name="l00068"></a>00068 it_assert_debug ( <a class="code" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149" title="Number of components.">n</a>>0,<span class="stringliteral">"MixEF::MixEF : Empty Component list"</span> );50 <a name="l00068"></a>00068 <span class="comment">// it_assert_debug ( n>0,"MixEF::MixEF : Empty Component list" );</span> 51 51 <a name="l00069"></a>00069 52 52 <a name="l00070"></a>00070 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149" title="Number of components.">n</a>;i++ ) {<a class="code" href="classMixEF.html#4c4a140ca4e6e71b00237b7bc754302e" title="Models for Components of .">Coms</a> ( i ) = ( <a class="code" href="classBMEF.html" title="Estimator for Exponential family.">BMEF</a>* ) Coms0 ( i )->_copy_();} 53 53 <a name="l00071"></a>00071 <a class="code" href="classMixEF.html#5ae381b3a7dfbe2c1e5bb579a5d9b9d1" title="Auxiliary function for use in constructors.">build_est</a>(); 54 54 <a name="l00072"></a>00072 }; 55 <a name="l0007 7"></a>00077 <a class="code" href="classMixEF.html#7713c2f01e97df268049821749405bc2" title="Full constructor.">MixEF</a> ( <a class="code" href="classBMEF.html" title="Estimator for Exponential family.">BMEF</a>* Com0, <span class="keyword">const</span> mat &Data, <span class="keywordtype">int</span> c=5 );56 <a name="l0007 8"></a>00078 <span class="comment">//Destructor</span>57 <a name="l0007 9"></a>00079 ~<a class="code" href="classMixEF.html" title="Mixture of Exponential Family Densities.">MixEF</a>() {58 <a name="l00080"></a>00080 <span class="keyword">delete</span> <a class="code" href="classMixEF.html#33968f1325137cc6f4431f0cf05096dc" title="Posterior on component parameters.">est</a>;59 <a name="l00081"></a>00081 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149" title="Number of components.">n</a>;i++ ) {<span class="keyword">delete</span> <a class="code" href="classMixEF.html#4c4a140ca4e6e71b00237b7bc754302e" title="Models for Components of .">Coms</a> ( i );}60 <a name="l00082"></a>00082 }61 <a name="l0008 4"></a>00084 <span class="keywordtype">void</span> <a class="code" href="classMixEF.html#d520fb534aa43f3084ff1568ffe7573d" title="Recursive EM-like algorithm (QB-variant), see Karny et. al, 2006.">bayes</a> ( <span class="keyword">const</span> vec &dt );62 <a name="l0008 6"></a>00086 <span class="keywordtype">void</span> <a class="code" href="classMixEF.html#d520fb534aa43f3084ff1568ffe7573d" title="Recursive EM-like algorithm (QB-variant), see Karny et. al, 2006.">bayes</a> ( <span class="keyword">const</span> mat &dt );63 <a name="l0008 7"></a>00087 <span class="keywordtype">void</span> <a class="code" href="classMixEF.html#e6810daa121ccaff1ac18f26fbad4563" title="Batch Bayes rule (columns of Dt are observations).">bayesB</a> ( <span class="keyword">const</span> mat &dt );64 <a name="l0008 8"></a>00088 <span class="keywordtype">double</span> <a class="code" href="classMixEF.html#424ca64f36d4e41de7a7e7ae921d35ea">logpred</a> ( <span class="keyword">const</span> vec &dt ) <span class="keyword">const</span>;65 <a name="l00089"></a> <a class="code" href="classMixEF.html#efb3e20c2151d91c4fc080b7722a2069">00089</a> <span class="keyword">const</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>& <a class="code" href="classMixEF.html#efb3e20c2151d91c4fc080b7722a2069" title="Returns a pointer to the epdf representing posterior density on parameters. Use with...">_epdf</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> *<a class="code" href="classMixEF.html#33968f1325137cc6f4431f0cf05096dc" title="Posterior on component parameters.">est</a>;}66 <a name="l00090"></a>00090 };67 <a name="l00091"></a>00091 68 <a name="l00092"></a> 0009269 <a name="l00093"></a>00093 <span class="preprocessor">#endif // MEF_H</span>70 <a name="l00094"></a>00094 <span class="preprocessor"></span>55 <a name="l00073"></a>00073 <a class="code" href="classMixEF.html" title="Mixture of Exponential Family Densities.">MixEF</a> () : 56 <a name="l00074"></a>00074 <a class="code" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>() ), <a class="code" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149" title="Number of components.">n</a> ( 0 ), <a class="code" href="classMixEF.html#4c4a140ca4e6e71b00237b7bc754302e" title="Models for Components of .">Coms</a> ( 0 ), 57 <a name="l00075"></a>00075 <a class="code" href="classMixEF.html#d906782a0a9558f19150dc69411f717f" title="Statistics for weights.">weights</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> ( <span class="stringliteral">"{w }"</span>, vec_1 ( 0 ) ),vec ( 0 ) ) {<a class="code" href="classMixEF.html#5ae381b3a7dfbe2c1e5bb579a5d9b9d1" title="Auxiliary function for use in constructors.">build_est</a>();} 58 <a name="l00080"></a>00080 <span class="keywordtype">void</span> <a class="code" href="classMixEF.html#73a782d2f464c830bbdbb03d34c6d63e">init</a> ( <a class="code" href="classBMEF.html" title="Estimator for Exponential family.">BMEF</a>* Com0, <span class="keyword">const</span> mat &Data, <span class="keywordtype">int</span> c=5 ); 59 <a name="l00081"></a>00081 <span class="comment">//Destructor</span> 60 <a name="l00082"></a>00082 ~<a class="code" href="classMixEF.html" title="Mixture of Exponential Family Densities.">MixEF</a>() { 61 <a name="l00083"></a>00083 <span class="keyword">delete</span> <a class="code" href="classMixEF.html#33968f1325137cc6f4431f0cf05096dc" title="Posterior on component parameters.">est</a>; 62 <a name="l00084"></a>00084 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149" title="Number of components.">n</a>;i++ ) {<span class="keyword">delete</span> <a class="code" href="classMixEF.html#4c4a140ca4e6e71b00237b7bc754302e" title="Models for Components of .">Coms</a> ( i );} 63 <a name="l00085"></a>00085 } 64 <a name="l00087"></a>00087 <span class="keywordtype">void</span> <a class="code" href="classMixEF.html#d520fb534aa43f3084ff1568ffe7573d" title="Recursive EM-like algorithm (QB-variant), see Karny et. al, 2006.">bayes</a> ( <span class="keyword">const</span> vec &dt ); 65 <a name="l00089"></a>00089 <span class="keywordtype">void</span> <a class="code" href="classMixEF.html#d520fb534aa43f3084ff1568ffe7573d" title="Recursive EM-like algorithm (QB-variant), see Karny et. al, 2006.">bayes</a> ( <span class="keyword">const</span> mat &dt ); 66 <a name="l00090"></a>00090 <span class="keywordtype">void</span> <a class="code" href="classMixEF.html#e6810daa121ccaff1ac18f26fbad4563" title="Batch Bayes rule (columns of Dt are observations).">bayesB</a> ( <span class="keyword">const</span> mat &dt ); 67 <a name="l00091"></a>00091 <span class="keywordtype">double</span> <a class="code" href="classMixEF.html#424ca64f36d4e41de7a7e7ae921d35ea">logpred</a> ( <span class="keyword">const</span> vec &dt ) <span class="keyword">const</span>; 68 <a name="l00092"></a><a class="code" href="classMixEF.html#efb3e20c2151d91c4fc080b7722a2069">00092</a> <span class="keyword">const</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>& <a class="code" href="classMixEF.html#efb3e20c2151d91c4fc080b7722a2069" title="Returns a pointer to the epdf representing posterior density on parameters. Use with...">_epdf</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> *<a class="code" href="classMixEF.html#33968f1325137cc6f4431f0cf05096dc" title="Posterior on component parameters.">est</a>;} 69 <a name="l00093"></a>00093 }; 70 <a name="l00094"></a>00094 71 71 <a name="l00095"></a>00095 72 <a name="l00096"></a>00096 <span class="preprocessor">#endif // MEF_H</span> 73 <a name="l00097"></a>00097 <span class="preprocessor"></span> 74 <a name="l00098"></a>00098 72 75 </pre></div></div> 73 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:452008 for mixpp by 76 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 74 77 <a href="http://www.doxygen.org/index.html"> 75 78 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/mixef_8h.html ¶
r171 r180 34 34 35 35 <p> 36 <div class="dynheader"> 37 This graph shows which files directly or indirectly include this file:</div> 38 <div class="dynsection"> 39 <p><center><img src="mixef_8h__dep__incl.png" border="0" usemap="#work/git/mixpp/bdm/estim/mixef.hdep_map" alt=""></center> 40 <map name="work/git/mixpp/bdm/estim/mixef.hdep_map"> 41 <area shape="rect" href="merger_8h.html" title="Mergers for combination of pdfs." alt="" coords="5,84,253,111"></map> 42 </div> 43 44 <p> 36 45 <a href="mixef_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> 37 46 <tr><td></td></tr> … … 47 56 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 48 57 Using IT++ for numerical operations ----------------------------------- </div> 49 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 58 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by 50 59 <a href="http://www.doxygen.org/index.html"> 51 60 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/nastaveni__regulatoru__float_8h-source.html ¶
r171 r180 47 47 <a name="l00031"></a>00031 <span class="preprocessor"></span> 48 48 </pre></div></div> 49 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 49 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by 50 50 <a href="http://www.doxygen.org/index.html"> 51 51 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/osutils_8h-source.html ¶
r171 r180 34 34 <a name="l00027"></a>00027 <span class="keywordtype">void</span> makedir(<span class="keywordtype">string</span> &dirname, <span class="keywordtype">bool</span> rewrite = <span class="keyword">true</span>); 35 35 </pre></div></div> 36 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:452008 for mixpp by 36 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 37 37 <a href="http://www.doxygen.org/index.html"> 38 38 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/pages.html ¶
r171 r180 22 22 </ul> 23 23 </div> 24 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:452008 for mixpp by 24 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 25 25 <a href="http://www.doxygen.org/index.html"> 26 26 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/parametry__motoru_8h-source.html ¶
r171 r180 36 36 <a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define kp 1.5</span> 37 37 </pre></div></div> 38 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 38 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by 39 39 <a href="http://www.doxygen.org/index.html"> 40 40 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/pmsm_8h-source.html ¶
r171 r180 153 153 <a name="l00142"></a>00142 <span class="preprocessor">#endif //PMSM_H</span> 154 154 </pre></div></div> 155 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:452008 for mixpp by 155 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 156 156 <a href="http://www.doxygen.org/index.html"> 157 157 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/pmsm__mix_8cpp.html ¶
r171 r180 50 50 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 51 51 Using IT++ for numerical operations ----------------------------------- </div> 52 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 52 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by 53 53 <a href="http://www.doxygen.org/index.html"> 54 54 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/pmsm__mod_8h-source.html ¶
r171 r180 28 28 <a name="l00012"></a>00012 29 29 </pre></div></div> 30 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 30 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by 31 31 <a href="http://www.doxygen.org/index.html"> 32 32 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/pwm_8h-source.html ¶
r171 r180 36 36 <a name="l00020"></a>00020 <span class="keyword">extern</span> <span class="keywordtype">void</span> pwm_full_new_3h(<span class="keywordtype">double</span> *us, <span class="keywordtype">double</span> *u, <span class="keywordtype">double</span> *Iz, <span class="keywordtype">double</span> Ucn, <span class="keywordtype">double</span> Uc, <span class="keywordtype">double</span> *is, <span class="keywordtype">double</span> *va_char, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> pocet, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> mod); 37 37 </pre></div></div> 38 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 38 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by 39 39 <a href="http://www.doxygen.org/index.html"> 40 40 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/reference_8h-source.html ¶
r171 r180 58 58 <a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor">#define Ucmax_fault (650.0/Uref)</span> 59 59 </pre></div></div> 60 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 60 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by 61 61 <a href="http://www.doxygen.org/index.html"> 62 62 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/regulace_8h-source.html ¶
r171 r180 31 31 <a name="l00015"></a>00015 32 32 </pre></div></div> 33 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 33 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by 34 34 <a href="http://www.doxygen.org/index.html"> 35 35 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/sim__profiles_8h-source.html ¶
r171 r180 80 80 <a name="l00064"></a>00064 } 81 81 </pre></div></div> 82 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 82 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 83 83 <a href="http://www.doxygen.org/index.html"> 84 84 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/sim__var_8cpp.html ¶
r171 r180 50 50 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 51 51 Using IT++ for numerical operations ----------------------------------- </div> 52 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 52 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by 53 53 <a href="http://www.doxygen.org/index.html"> 54 54 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/sim__var__arx_8cpp.html ¶
r171 r180 50 50 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 51 51 Using IT++ for numerical operations ----------------------------------- </div> 52 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:472008 for mixpp by 52 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by 53 53 <a href="http://www.doxygen.org/index.html"> 54 54 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/simulator_8h-source.html ¶
r171 r180 40 40 <a name="l00024"></a>00024 <span class="keyword">extern</span> <span class="keywordtype">double</span> KalmanObs[10]; 41 41 </pre></div></div> 42 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:462008 for mixpp by 42 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by 43 43 <a href="http://www.doxygen.org/index.html"> 44 44 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> -
TabularUnified doc/html/userinfo_8h-source.html ¶
r171 r180 562 562 <a name="l00719"></a>00719 <span class="preprocessor">#endif // #ifndef UI_H</span> 563 563 </pre></div></div> 564 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:452008 for mixpp by 564 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by 565 565 <a href="http://www.doxygen.org/index.html"> 566 566 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>