Index: doc/html/classeEF.html
===================================================================
--- doc/html/classeEF.html (revision 171)
+++ doc/html/classeEF.html (revision 180)
@@ -88,4 +88,8 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr>
+<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 &amp;Val) const " -->
+virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &amp;Val) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bf0a070a8f3e67a93604ca724638b870"></a><!-- doxytag: member="eEF::mean" ref="bf0a070a8f3e67a93604ca724638b870" args="() const =0" -->
 virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870">mean</a> () const =0</td></tr>
@@ -112,5 +116,5 @@
 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:50 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/sim__profiles_8h-source.html
===================================================================
--- doc/html/sim__profiles_8h-source.html (revision 171)
+++ doc/html/sim__profiles_8h-source.html (revision 180)
@@ -80,5 +80,5 @@
 <a name="l00064"></a>00064 }
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classeDirich.html
===================================================================
--- doc/html/classeDirich.html (revision 171)
+++ doc/html/classeDirich.html (revision 180)
@@ -67,5 +67,5 @@
 double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeDirich.html#688a24f04be6d80d4769cf0e4ded7acc">evalpdflog_nn</a> (const vec &amp;val) const </td></tr>
 
-<tr><td class="mdescLeft">&nbsp;</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>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">In this instance, val is ... <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7ce60be7119ffc639ede4e583c1f6e77"></a><!-- doxytag: member="eDirich::lognc" ref="7ce60be7119ffc639ede4e583c1f6e77" args="() const " -->
 double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77">lognc</a> () const </td></tr>
@@ -76,4 +76,8 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
+<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 &amp;beta0)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeDirich.html#c842acb2e1cce5cc9000769ff06c086d">set_parameters</a> (const vec &amp;beta0)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set internal parameters. <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a89bef8996410609004fa019b5b48964"></a><!-- doxytag: member="eDirich::dupdate" ref="a89bef8996410609004fa019b5b48964" args="(mat &amp;v)" -->
 virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeEF.html#a89bef8996410609004fa019b5b48964">dupdate</a> (mat &amp;v)</td></tr>
@@ -100,4 +104,8 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr>
+<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 &amp;Val) const " -->
+virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &amp;Val) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ca0d32aabb4cbba347e0c37fe8607562"></a><!-- doxytag: member="eDirich::_rv" ref="ca0d32aabb4cbba347e0c37fe8607562" args="() const " -->
 const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562">_rv</a> () const </td></tr>
@@ -127,5 +135,5 @@
 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmultiBM.html
===================================================================
--- doc/html/classmultiBM.html (revision 171)
+++ doc/html/classmultiBM.html (revision 180)
@@ -72,4 +72,7 @@
 
 <tr><td class="mdescLeft">&nbsp;</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>
+<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 &amp;beta0)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (const vec &amp;beta0)</td></tr>
+
 <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)" -->
 virtual void&nbsp;</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,4 +87,12 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Batch Bayes rule (columns of Dt are observations). <br></td></tr>
+<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 &amp;dt) const " -->
+vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &amp;dt) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="multiBM::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &amp;rv)" -->
+virtual <a class="el" href="classepdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="multiBM::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " -->
 const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">_rv</a> () const </td></tr>
@@ -156,7 +167,7 @@
 <p>Reimplemented from <a class="el" href="classBMEF.html#52b7719312d545215cca1ff87722a35a">BMEF</a>.</p>
 
-<p>References <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>, <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>
-
-<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00040">MixEF::bayes()</a>.</p>
+<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>
+
+<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00048">MixEF::bayes()</a>.</p>
 
 </div>
@@ -182,7 +193,7 @@
 <p>Reimplemented from <a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">BM</a>.</p>
 
-<p>References <a class="el" href="libEF_8h-source.html#l00217">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>
-
-<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00040">MixEF::bayes()</a>.</p>
+<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>
+
+<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00048">MixEF::bayes()</a>.</p>
 
 </div>
@@ -206,7 +217,7 @@
 <p>
 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; } 
-<p>Reimplemented in <a class="el" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>
-
-<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::MixEF()</a>.</p>
+<p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p>
+
+<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p>
 
 </div>
@@ -215,5 +226,5 @@
 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:55 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmprod-members.html
===================================================================
--- doc/html/classmprod-members.html (revision 171)
+++ doc/html/classmprod-members.html (revision 180)
@@ -28,4 +28,5 @@
   <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>
   <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>
+  <tr bgcolor="#f0f0f0"><td><b>compositepdf</b>(Array&lt; mpdf * &gt; 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>
   <tr class="memlist"><td><a class="el" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83">condition</a>(const vec &amp;cond)</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline, virtual]</code></td></tr>
   <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,19 +34,23 @@
   <tr class="memlist"><td><a class="el" href="classmpdf.html#80b738ece5bd4f8c4edaee4b38906f91">evalcond</a>(const vec &amp;dt, const vec &amp;cond)</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr bgcolor="#f0f0f0"><td><b>evalpdflog</b>(const vec &amp;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>
+  <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>
   <tr class="memlist"><td><a class="el" href="classmpdf.html#581ecf362185d37c08bb31cb9d046d6f">mpdf</a>(const RV &amp;rv0, const RV &amp;rvc0)</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline]</code></td></tr>
-  <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>
-  <tr class="memlist"><td><a class="el" href="classmprod.html#37f028561c45ce5fd3a1351a911e31dc">mprod</a>(Array&lt; mpdf * &gt; mFacs, bool overlap=false)</td><td><a class="el" href="classmprod.html">mprod</a></td><td></td></tr>
-  <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>
+  <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>
+  <tr class="memlist"><td><a class="el" href="classmprod.html#419b303581a91ad85200bdcb4b3186f4">mprod</a>(Array&lt; mpdf * &gt; mFacs)</td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [inline]</code></td></tr>
+  <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>
   <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>
   <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>
   <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>
-  <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>
-  <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>
+  <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>
+  <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>
   <tr class="memlist"><td><a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">samplecond</a>(const vec &amp;cond, double &amp;ll)</td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classmprod.html#e171c40e210539c2af01d6237785620b">samplecond</a>(const vec &amp;cond, vec &amp;ll, int N)</td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr bgcolor="#f0f0f0"><td><b>setindices</b>(const RV &amp;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>
+  <tr bgcolor="#f0f0f0"><td><b>setrvc</b>(const RV &amp;rv, RV &amp;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>
+  <tr bgcolor="#f0f0f0"><td><b>setrvcinrv</b>(const RV &amp;rvc, Array&lt; ivec &gt; &amp;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>
   <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>
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:54 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmerger-members.html
===================================================================
--- doc/html/classmerger-members.html (revision 171)
+++ doc/html/classmerger-members.html (revision 180)
@@ -25,31 +25,38 @@
 <div class="contents">
 <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>
-  <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>
-  <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>
-  <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>
-  <tr class="memlist"><td><a class="el" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83">condition</a>(const vec &amp;cond)</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline, virtual]</code></td></tr>
-  <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>
-  <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>
-  <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>
-  <tr class="memlist"><td><a class="el" href="classmpdf.html#80b738ece5bd4f8c4edaee4b38906f91">evalcond</a>(const vec &amp;dt, const vec &amp;cond)</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline, virtual]</code></td></tr>
-  <tr bgcolor="#f0f0f0"><td><b>evalpdflog</b>(const vec &amp;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>
-  <tr class="memlist"><td><a class="el" href="classmerger.html#1a6a721294321c2e412ca0084c636b69">merger</a>(const Array&lt; mpdf * &gt; &amp;in_sources)</td><td><a class="el" href="classmerger.html">merger</a></td><td><code> [inline]</code></td></tr>
-  <tr class="memlist"><td><a class="el" href="classmpdf.html#581ecf362185d37c08bb31cb9d046d6f">mpdf</a>(const RV &amp;rv0, const RV &amp;rvc0)</td><td><a class="el" href="classmpdf.html">mpdf</a></td><td><code> [inline]</code></td></tr>
-  <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>
-  <tr class="memlist"><td><a class="el" href="classmprod.html#37f028561c45ce5fd3a1351a911e31dc">mprod</a>(Array&lt; mpdf * &gt; mFacs, bool overlap=false)</td><td><a class="el" href="classmprod.html">mprod</a></td><td></td></tr>
-  <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>
-  <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>
-  <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>
-  <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>
-  <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>
-  <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>
-  <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>
-  <tr class="memlist"><td><a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">samplecond</a>(const vec &amp;cond, double &amp;ll)</td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [inline, virtual]</code></td></tr>
-  <tr class="memlist"><td><a class="el" href="classmprod.html#e171c40e210539c2af01d6237785620b">samplecond</a>(const vec &amp;cond, vec &amp;ll, int N)</td><td><a class="el" href="classmprod.html">mprod</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classepdf.html#7fb94ce90d1ac7077d29f7d6a6c3e0a5">_renewrv</a>(const RV &amp;in_rv)</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline]</code></td></tr>
+  <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>
+  <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>
+  <tr bgcolor="#f0f0f0"><td><b>compositepdf</b>(Array&lt; mpdf * &gt; 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>
+  <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>
+  <tr class="memlist"><td><a class="el" href="classepdf.html#c95b1a27a8dd9507bb9a5a3cb2809c7a">epdf</a>(const RV &amp;rv0)</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">eval</a>(const vec &amp;val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classmerger.html#8c37688902b1a1e9fa32edc5709e5a00">evalpdflog</a>(const vec &amp;dt) const </td><td><a class="el" href="classmerger.html">merger</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &amp;Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
+  <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>
+  <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>
+  <tr class="memlist"><td><a class="el" href="classmerger.html#217c65f335c603033fa09a2ecc64bc05">lognorm_merge</a>(mat &amp;lW)</td><td><a class="el" href="classmerger.html">merger</a></td><td></td></tr>
+  <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>
+  <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>
+  <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>
+  <tr class="memlist"><td><a class="el" href="classmerger.html#3f9a955329eab65026e8322e9027d469">merger</a>(const Array&lt; mpdf * &gt; &amp;S)</td><td><a class="el" href="classmerger.html">merger</a></td><td><code> [inline]</code></td></tr>
+  <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>
+  <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>
+  <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>
+  <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>
+  <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>
+  <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>
+  <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>
+  <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>
+  <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>
+  <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>
+  <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>
+  <tr bgcolor="#f0f0f0"><td><b>setindices</b>(const RV &amp;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>
+  <tr bgcolor="#f0f0f0"><td><b>setrvc</b>(const RV &amp;rv, RV &amp;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>
+  <tr bgcolor="#f0f0f0"><td><b>setrvcinrv</b>(const RV &amp;rvc, Array&lt; ivec &gt; &amp;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>
+  <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>
   <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>
-  <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>
-  <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/libEF_8h-source.html
===================================================================
--- doc/html/libEF_8h-source.html (revision 171)
+++ doc/html/libEF_8h-source.html (revision 180)
@@ -65,358 +65,369 @@
 <a name="l00090"></a>00090         <span class="comment">//original Bayes</span>
 <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 &amp;dt );
-<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> );}
+<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> );}
 <a name="l00094"></a>00094 };
 <a name="l00095"></a>00095 
 <a name="l00101"></a>00101 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<a name="l00102"></a>00102 
-<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> {
-<a name="l00104"></a>00104 <span class="keyword">protected</span>:
-<a name="l00106"></a><a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20">00106</a>         vec <a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>;
-<a name="l00108"></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>;
-<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>;
-<a name="l00111"></a>00111 <span class="keyword">public</span>:
-<a name="l00112"></a>00112 <span class="comment">//      enorm() :eEF() {};</span>
-<a name="l00114"></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> &amp;<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a> );
-<a name="l00116"></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 &amp;<a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>,<span class="keyword">const</span> sq_T &amp;<a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a> );
-<a name="l00118"></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 &amp;vbar, <span class="keywordtype">double</span> nubar );
-<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 &amp;v,<span class="keywordtype">double</span> nu=1.0 );
-<a name="l00121"></a>00121 
-<a name="l00122"></a>00122         vec <a class="code" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5" title="Returns a sample,  from density .">sample</a>() <span class="keyword">const</span>;
-<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>;
-<a name="l00125"></a>00125         <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 &amp;val ) <span class="keyword">const</span> ;
-<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 &amp;val ) <span class="keyword">const</span>;
-<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>;
-<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>;}
-<a name="l00129"></a>00129 
-<a name="l00130"></a>00130 <span class="comment">//Access methods</span>
-<a name="l00132"></a><a class="code" href="classenorm.html#0b8cb284e5af920a1b64a21d057ec5ac">00132</a> <span class="comment"></span>        vec&amp; <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>;}
-<a name="l00133"></a>00133 
-<a name="l00135"></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;}
-<a name="l00136"></a>00136 
-<a name="l00138"></a><a class="code" href="classenorm.html#7a5034b25771a84450a990d10fc40ac9">00138</a>         sq_T&amp; <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>;}
-<a name="l00139"></a>00139 
-<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();}
-<a name="l00142"></a>00142 };
-<a name="l00143"></a>00143 
-<a name="l00150"></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> {
-<a name="l00151"></a>00151 <span class="keyword">protected</span>:
-<a name="l00153"></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>;
-<a name="l00155"></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>;
-<a name="l00157"></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>;
-<a name="l00159"></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>;
-<a name="l00160"></a>00160 <span class="keyword">public</span>:
-<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 ) {
-<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>();
-<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> );
-<a name="l00165"></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>;
-<a name="l00166"></a>00166         }
-<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 ) {
-<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>();
-<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> );
-<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>;
-<a name="l00172"></a>00172         }
-<a name="l00173"></a>00173 
-<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>;
-<a name="l00175"></a>00175         vec <a class="code" href="classegiw.html#6deb0ff2859f41ef7cbdf6a842cabb29" title="return expected value">mean</a>() <span class="keyword">const</span>;
-<a name="l00176"></a>00176         <span class="keywordtype">void</span> mean_mat ( mat &amp;M, mat&amp;R ) <span class="keyword">const</span>;
-<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 &amp;val ) <span class="keyword">const</span>;
-<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>;
-<a name="l00180"></a>00180 
-<a name="l00181"></a>00181         <span class="comment">//Access</span>
-<a name="l00183"></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>&amp; <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>;}
-<a name="l00185"></a><a class="code" href="classegiw.html#08029c481ff95d24f093df0573879afe">00185</a>         <span class="keywordtype">double</span>&amp; <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>;}
-<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 );
-<a name="l00187"></a>00187 };
-<a name="l00188"></a>00188 
-<a name="l00197"></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> {
-<a name="l00198"></a>00198 <span class="keyword">protected</span>:
-<a name="l00200"></a><a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7">00200</a>         vec <a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a>;
-<a name="l00201"></a>00201 <span class="keyword">public</span>:
-<a name="l00203"></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> &amp;<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>, <span class="keyword">const</span> vec &amp;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> ); };
-<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> &amp;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> ) {};
-<a name="l00206"></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 );};
-<a name="l00207"></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> );};
-<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 &amp;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 );};
-<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>{
-<a name="l00211"></a>00211                 <span class="keywordtype">double</span> gam=sum ( <a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a> );
-<a name="l00212"></a>00212                 <span class="keywordtype">double</span> lgb=0.0;
-<a name="l00213"></a>00213                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;<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 ) );}
-<a name="l00214"></a>00214                 <span class="keywordflow">return</span> lgb-lgamma ( gam );
-<a name="l00215"></a>00215         };
-<a name="l00217"></a><a class="code" href="classeDirich.html#6409d0362143a23976b43641ff19e53a">00217</a>         vec&amp; <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>;}
-<a name="l00218"></a>00218 };
-<a name="l00219"></a>00219 
-<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> {
-<a name="l00222"></a>00222 <span class="keyword">protected</span>:
-<a name="l00224"></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>;
-<a name="l00225"></a>00225         vec &amp;beta;
-<a name="l00226"></a>00226 <span class="keyword">public</span>:
-<a name="l00228"></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> &amp;<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>();}
-<a name="l00230"></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> &amp;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() ) {}
-<a name="l00231"></a>00231 
-<a name="l00232"></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&lt;</span><span class="keyword">const </span><a class="code" href="classmultiBM.html" title="Estimator for Multinomial density.">multiBM</a>*<span class="keyword">&gt;</span> ( mB0 ); beta=mB-&gt;<a class="code" href="classmultiBM.html#7b606116aed7e8834a339cbb0424b1d6">beta</a>;}
-<a name="l00233"></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 &amp;dt ) {
-<a name="l00234"></a>00234                 <span class="keywordflow">if</span> ( <a class="code" href="classBMEF.html#538d632e59f9afa8daa1de74da12ce71" title="forgetting factor">frg</a>&lt;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>();}
-<a name="l00235"></a>00235                 beta+=dt;
-<a name="l00236"></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>;}
-<a name="l00237"></a>00237         }
-<a name="l00238"></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 &amp;dt )<span class="keyword"> const </span>{
-<a name="l00239"></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> );
-<a name="l00240"></a>00240                 vec &amp;beta = pred.<a class="code" href="classeDirich.html#6409d0362143a23976b43641ff19e53a" title="access function">_beta</a>();
-<a name="l00241"></a>00241                 
-<a name="l00242"></a>00242                 <span class="keywordtype">double</span> lll;
-<a name="l00243"></a>00243                 <span class="keywordflow">if</span> ( <a class="code" href="classBMEF.html#538d632e59f9afa8daa1de74da12ce71" title="forgetting factor">frg</a>&lt;1.0 )
-<a name="l00244"></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>();}
-<a name="l00245"></a>00245                 <span class="keywordflow">else</span>
-<a name="l00246"></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>;}
-<a name="l00247"></a>00247                         <span class="keywordflow">else</span>{lll=pred.<a class="code" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77" title="logarithm of the normalizing constant, ">lognc</a>();}
-<a name="l00248"></a>00248 
-<a name="l00249"></a>00249                 beta+=dt;
-<a name="l00250"></a>00250                 <span class="keywordflow">return</span> pred.<a class="code" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77" title="logarithm of the normalizing constant, ">lognc</a>()-lll;
-<a name="l00251"></a>00251         }
-<a name="l00252"></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 ) {
-<a name="l00253"></a>00253                 <a class="code" href="classeDirich.html" title="Dirichlet posterior density.">eDirich</a>* E=<span class="keyword">dynamic_cast&lt;</span><a class="code" href="classeDirich.html" title="Dirichlet posterior density.">eDirich</a>*<span class="keyword">&gt;</span>(B);
-<a name="l00254"></a>00254                 <span class="comment">// sum(beta) should be equal to sum(B.beta)</span>
-<a name="l00255"></a>00255                 <span class="keyword">const</span> vec &amp;Eb=E-&gt;<a class="code" href="classeDirich.html#6409d0362143a23976b43641ff19e53a" title="access function">_beta</a>();
-<a name="l00256"></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) );
-<a name="l00257"></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>();}
-<a name="l00258"></a>00258         }
-<a name="l00259"></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>&amp; <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>;};
-<a name="l00261"></a>00261 };
-<a name="l00262"></a>00262 
-<a name="l00272"></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> {
-<a name="l00273"></a>00273 <span class="keyword">protected</span>:
-<a name="l00275"></a><a class="code" href="classegamma.html#376cebd8932546c440f21b182910b01b">00275</a>         vec <a class="code" href="classegamma.html#376cebd8932546c440f21b182910b01b" title="Vector .">alpha</a>;
-<a name="l00277"></a><a class="code" href="classegamma.html#cfc5f136467488a421ab22f886323790">00277</a>         vec <a class="code" href="classegamma.html#cfc5f136467488a421ab22f886323790" title="Vector .">beta</a>;
-<a name="l00278"></a>00278 <span class="keyword">public</span> :
-<a name="l00280"></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> &amp;<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 ) {};
-<a name="l00282"></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 &amp;a, <span class="keyword">const</span> vec &amp;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;};
-<a name="l00283"></a>00283         vec <a class="code" href="classegamma.html#8e10c0021b5dfdd9cb62c6959b5ef425" title="Returns a sample,  from density .">sample</a>() <span class="keyword">const</span>;
-<a name="l00285"></a>00285 <span class="comment">//      mat sample ( int N ) const;</span>
-<a name="l00286"></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 &amp;val ) <span class="keyword">const</span>;
-<a name="l00287"></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>;
-<a name="l00289"></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* &amp;a, vec* &amp;b ) {a=&amp;<a class="code" href="classegamma.html#376cebd8932546c440f21b182910b01b" title="Vector .">alpha</a>;b=&amp;<a class="code" href="classegamma.html#cfc5f136467488a421ab22f886323790" title="Vector .">beta</a>;};
-<a name="l00290"></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;}
-<a name="l00291"></a>00291 };
-<a name="l00292"></a>00292 <span class="comment">/*</span>
-<a name="l00294"></a>00294 <span class="comment">class emix : public epdf {</span>
-<a name="l00295"></a>00295 <span class="comment">protected:</span>
-<a name="l00296"></a>00296 <span class="comment">        int n;</span>
-<a name="l00297"></a>00297 <span class="comment">        vec &amp;w;</span>
-<a name="l00298"></a>00298 <span class="comment">        Array&lt;epdf*&gt; Coms;</span>
-<a name="l00299"></a>00299 <span class="comment">public:</span>
-<a name="l00301"></a>00301 <span class="comment">        emix ( const RV &amp;rv, vec &amp;w0): epdf(rv), n(w0.length()), w(w0), Coms(n) {};</span>
-<a name="l00302"></a>00302 <span class="comment">        void set_parameters( int &amp;i, double wi, epdf* ep){w(i)=wi;Coms(i)=ep;}</span>
-<a name="l00303"></a>00303 <span class="comment">        vec mean(){vec pom; for(int i=0;i&lt;n;i++){pom+=Coms(i)-&gt;mean()*w(i);} return pom;};</span>
-<a name="l00304"></a>00304 <span class="comment">        vec sample() {it_error ( "Not implemented" );return 0;}</span>
-<a name="l00305"></a>00305 <span class="comment">};</span>
-<a name="l00306"></a>00306 <span class="comment">*/</span>
-<a name="l00307"></a>00307 
-<a name="l00309"></a>00309 
-<a name="l00310"></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> {
-<a name="l00311"></a>00311 <span class="keyword">protected</span>:
-<a name="l00313"></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>;
-<a name="l00315"></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>;
-<a name="l00317"></a><a class="code" href="classeuni.html#52a6ff4a54010f88a6a19fca605c64a4">00317</a>         vec <a class="code" href="classeuni.html#52a6ff4a54010f88a6a19fca605c64a4" title="internal">distance</a>;
-<a name="l00319"></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>;
-<a name="l00321"></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>;
-<a name="l00322"></a>00322 <span class="keyword">public</span>:
-<a name="l00324"></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 ) {}
-<a name="l00325"></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 &amp;val )<span class="keyword"> const  </span>{<span class="keywordflow">return</span> <a class="code" href="classeuni.html#63105490e946e43372d6187ad1bafdda" title="normalizing coefficients">nk</a>;}
-<a name="l00326"></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 &amp;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>;}
-<a name="l00327"></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>{
-<a name="l00328"></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>() );
-<a name="l00329"></a>00329 <span class="preprocessor">#pragma omp critical</span>
-<a name="l00330"></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 );
-<a name="l00331"></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 );
-<a name="l00332"></a>00332         }
-<a name="l00334"></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 &amp;low0, <span class="keyword">const</span> vec &amp;high0 ) {
-<a name="l00335"></a>00335                 <a class="code" href="classeuni.html#52a6ff4a54010f88a6a19fca605c64a4" title="internal">distance</a> = high0-low0;
-<a name="l00336"></a>00336                 it_assert_debug ( min ( <a class="code" href="classeuni.html#52a6ff4a54010f88a6a19fca605c64a4" title="internal">distance</a> ) &gt;0.0,<span class="stringliteral">"bad support"</span> );
-<a name="l00337"></a>00337                 <a class="code" href="classeuni.html#ef42cd8d7645422048d46c46ec5cdac1" title="lower bound on support">low</a> = low0;
-<a name="l00338"></a>00338                 <a class="code" href="classeuni.html#71b6d6b41aeb61a7f76f682b72119231" title="upper bound on support">high</a> = high0;
-<a name="l00339"></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> );
-<a name="l00340"></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> );
-<a name="l00341"></a>00341         }
-<a name="l00342"></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;}
-<a name="l00343"></a>00343 };
-<a name="l00344"></a>00344 
-<a name="l00345"></a>00345 
-<a name="l00351"></a>00351 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<a name="l00352"></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> {
-<a name="l00354"></a>00354         <a class="code" href="classenorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm&lt;sq_T&gt;</a> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>;
-<a name="l00355"></a>00355         mat A;
-<a name="l00356"></a>00356         vec&amp; _mu; <span class="comment">//cached epdf.mu;</span>
-<a name="l00357"></a>00357 <span class="keyword">public</span>:
-<a name="l00359"></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> &amp;<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> &amp;<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a> );
-<a name="l00361"></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 &amp;A, <span class="keyword">const</span> sq_T &amp;R );
-<a name="l00363"></a>00363         vec <a class="code" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18" title="Generate one sample of the posterior.">samplecond</a> ( vec &amp;cond, <span class="keywordtype">double</span> &amp;lik );
-<a name="l00365"></a>00365         mat <a class="code" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18" title="Generate one sample of the posterior.">samplecond</a> ( vec &amp;cond, vec &amp;lik, <span class="keywordtype">int</span> n );
-<a name="l00367"></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 &amp;cond );
-<a name="l00368"></a>00368 };
-<a name="l00369"></a>00369 
-<a name="l00379"></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> {
-<a name="l00380"></a>00380 <span class="keyword">protected</span>:
-<a name="l00382"></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>;
-<a name="l00384"></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>;
-<a name="l00386"></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>;
-<a name="l00387"></a>00387 
-<a name="l00388"></a>00388 <span class="keyword">public</span>:
-<a name="l00390"></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> &amp;<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> &amp;<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a> );
-<a name="l00392"></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> );
-<a name="l00393"></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 &amp;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;};
-<a name="l00394"></a>00394 };
-<a name="l00395"></a>00395 
-<a name="l00407"></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> {
-<a name="l00408"></a>00408 <span class="keyword">protected</span>:
-<a name="l00410"></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>;
-<a name="l00412"></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>;
-<a name="l00413"></a>00413 <span class="keyword">public</span>:
-<a name="l00415"></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> &amp;<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> &amp;<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() ) {};
-<a name="l00417"></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 ) {
-<a name="l00418"></a>00418                 <a class="code" href="classmgamma.html#a9d646cf758a70126dde7c48790b6e94" title="Set value of k.">mgamma::set_parameters</a> ( k0 );
-<a name="l00419"></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;
-<a name="l00420"></a>00420         };
-<a name="l00421"></a>00421 
-<a name="l00422"></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 &amp;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;};
-<a name="l00423"></a>00423 };
-<a name="l00424"></a>00424 
-<a name="l00426"></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 };
-<a name="l00432"></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> {
-<a name="l00433"></a>00433 <span class="keyword">protected</span> :
-<a name="l00435"></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>;
-<a name="l00437"></a><a class="code" href="classeEmp.html#ae78d144404ddba843c93b171b215de8">00437</a>         vec <a class="code" href="classeEmp.html#ae78d144404ddba843c93b171b215de8" title="Sample weights .">w</a>;
-<a name="l00439"></a><a class="code" href="classeEmp.html#a4d6f4bbd6a6824fc39f14676701279a">00439</a>         Array&lt;vec&gt; <a class="code" href="classeEmp.html#a4d6f4bbd6a6824fc39f14676701279a" title="Samples .">samples</a>;
-<a name="l00440"></a>00440 <span class="keyword">public</span>:
-<a name="l00442"></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> &amp;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> ) {};
-<a name="l00444"></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 &amp;w0, <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* pdf0 );
-<a name="l00446"></a><a class="code" href="classeEmp.html#31b2bfb73b72486a5c89f2ab850c7a9b">00446</a>         vec&amp; <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>;};
-<a name="l00448"></a><a class="code" href="classeEmp.html#31b747eca73b16f30370827ba4cc3575">00448</a>         Array&lt;vec&gt;&amp; <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>;};
-<a name="l00450"></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 );
-<a name="l00452"></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;}
-<a name="l00454"></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 &amp;val )<span class="keyword"> const </span>{it_error ( <span class="stringliteral">"Not implemented"</span> );<span class="keywordflow">return</span> 0.0;}
-<a name="l00455"></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>{
-<a name="l00456"></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>() );
-<a name="l00457"></a>00457                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;<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 );}
-<a name="l00458"></a>00458                 <span class="keywordflow">return</span> pom;
-<a name="l00459"></a>00459         }
-<a name="l00460"></a>00460 };
-<a name="l00461"></a>00461 
-<a name="l00462"></a>00462 
-<a name="l00464"></a>00464 
-<a name="l00465"></a>00465 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<a name="l00466"></a><a class="code" href="classenorm.html#7b5cb487a2570e8109bfdc0df149aa06">00466</a> <a class="code" href="classenorm.html#7b5cb487a2570e8109bfdc0df149aa06" title="Default constructor.">enorm&lt;sq_T&gt;::enorm</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;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() ) {};
-<a name="l00467"></a>00467 
-<a name="l00468"></a>00468 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<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&lt;sq_T&gt;::set_parameters</a> ( <span class="keyword">const</span> vec &amp;mu0, <span class="keyword">const</span> sq_T &amp;R0 ) {
-<a name="l00470"></a>00470 <span class="comment">//Fixme test dimensions of mu0 and R0;</span>
-<a name="l00471"></a>00471         <a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a> = mu0;
-<a name="l00472"></a>00472         <a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a> = R0;
-<a name="l00473"></a>00473 };
+<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> {
+<a name="l00103"></a>00103 <span class="keyword">protected</span>:
+<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>;
+<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>;
+<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>;
+<a name="l00110"></a>00110 <span class="keyword">public</span>:
+<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> &amp;<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a> );
+<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 &amp;<a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>,<span class="keyword">const</span> sq_T &amp;<a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a> );
+<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 &amp;vbar, <span class="keywordtype">double</span> nubar );
+<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 &amp;v,<span class="keywordtype">double</span> nu=1.0 );
+<a name="l00119"></a>00119 
+<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>;
+<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>;
+<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 &amp;val ) <span class="keyword">const</span> ;
+<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 &amp;val ) <span class="keyword">const</span>;
+<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>;
+<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>;}
+<a name="l00127"></a>00127 
+<a name="l00128"></a>00128 <span class="comment">//Access methods</span>
+<a name="l00130"></a><a class="code" href="classenorm.html#0b8cb284e5af920a1b64a21d057ec5ac">00130</a> <span class="comment"></span>        vec&amp; <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>;}
+<a name="l00131"></a>00131 
+<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;}
+<a name="l00134"></a>00134 
+<a name="l00136"></a><a class="code" href="classenorm.html#7a5034b25771a84450a990d10fc40ac9">00136</a>         sq_T&amp; <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>;}
+<a name="l00137"></a>00137 
+<a name="l00139"></a>00139 <span class="comment">//      mat getR () {return R.to_mat();}</span>
+<a name="l00140"></a>00140 };
+<a name="l00141"></a>00141 
+<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> {
+<a name="l00149"></a>00149 <span class="keyword">protected</span>:
+<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>;
+<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>;
+<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>;
+<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>;
+<a name="l00158"></a>00158 <span class="keyword">public</span>:
+<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 ) {
+<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>();
+<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> );
+<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>;
+<a name="l00164"></a>00164         }
+<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 ) {
+<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>();
+<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> );
+<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>;
+<a name="l00170"></a>00170         }
+<a name="l00171"></a>00171 
+<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>;
+<a name="l00173"></a>00173         vec <a class="code" href="classegiw.html#6deb0ff2859f41ef7cbdf6a842cabb29" title="return expected value">mean</a>() <span class="keyword">const</span>;
+<a name="l00174"></a>00174         <span class="keywordtype">void</span> mean_mat ( mat &amp;M, mat&amp;R ) <span class="keyword">const</span>;
+<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 &amp;val ) <span class="keyword">const</span>;
+<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>;
+<a name="l00178"></a>00178 
+<a name="l00179"></a>00179         <span class="comment">//Access</span>
+<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>&amp; <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>;}
+<a name="l00183"></a><a class="code" href="classegiw.html#08029c481ff95d24f093df0573879afe">00183</a>         <span class="keywordtype">double</span>&amp; <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>;}
+<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 );
+<a name="l00185"></a>00185 };
+<a name="l00186"></a>00186 
+<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> {
+<a name="l00196"></a>00196 <span class="keyword">protected</span>:
+<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>;
+<a name="l00199"></a>00199 <span class="keyword">public</span>:
+<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> &amp;<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>, <span class="keyword">const</span> vec &amp;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> ); };
+<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> &amp;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> ) {};
+<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 );};
+<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> );};
+<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 &amp;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 );};
+<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>{
+<a name="l00209"></a>00209                 <span class="keywordtype">double</span> gam=sum ( <a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a> );
+<a name="l00210"></a>00210                 <span class="keywordtype">double</span> lgb=0.0;
+<a name="l00211"></a>00211                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;<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 ) );}
+<a name="l00212"></a>00212                 <span class="keywordflow">return</span> lgb-lgamma ( gam );
+<a name="l00213"></a>00213         };
+<a name="l00215"></a><a class="code" href="classeDirich.html#6409d0362143a23976b43641ff19e53a">00215</a>         vec&amp; <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>;}
+<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 &amp;beta0){
+<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()){
+<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>);
+<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());
+<a name="l00221"></a>00221                 }
+<a name="l00222"></a>00222                 <a class="code" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7" title="sufficient statistics">beta</a>= beta0;
+<a name="l00223"></a>00223         }
+<a name="l00224"></a>00224 };
+<a name="l00225"></a>00225 
+<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> {
+<a name="l00228"></a>00228 <span class="keyword">protected</span>:
+<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>;
+<a name="l00231"></a>00231         vec &amp;beta;
+<a name="l00232"></a>00232 <span class="keyword">public</span>:
+<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> &amp;<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>();}
+<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> &amp;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() ) {}
+<a name="l00237"></a>00237 
+<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&lt;</span><span class="keyword">const </span><a class="code" href="classmultiBM.html" title="Estimator for Multinomial density.">multiBM</a>*<span class="keyword">&gt;</span> ( mB0 ); beta=mB-&gt;<a class="code" href="classmultiBM.html#7b606116aed7e8834a339cbb0424b1d6">beta</a>;}
+<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 &amp;dt ) {
+<a name="l00240"></a>00240                 <span class="keywordflow">if</span> ( <a class="code" href="classBMEF.html#538d632e59f9afa8daa1de74da12ce71" title="forgetting factor">frg</a>&lt;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>();}
+<a name="l00241"></a>00241                 beta+=dt;
+<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>;}
+<a name="l00243"></a>00243         }
+<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 &amp;dt )<span class="keyword"> const </span>{
+<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> );
+<a name="l00246"></a>00246                 vec &amp;beta = pred.<a class="code" href="classeDirich.html#6409d0362143a23976b43641ff19e53a" title="access function">_beta</a>();
+<a name="l00247"></a>00247 
+<a name="l00248"></a>00248                 <span class="keywordtype">double</span> lll;
+<a name="l00249"></a>00249                 <span class="keywordflow">if</span> ( <a class="code" href="classBMEF.html#538d632e59f9afa8daa1de74da12ce71" title="forgetting factor">frg</a>&lt;1.0 )
+<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>();}
+<a name="l00251"></a>00251                 <span class="keywordflow">else</span>
+<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>;}
+<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>();}
+<a name="l00254"></a>00254 
+<a name="l00255"></a>00255                 beta+=dt;
+<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;
+<a name="l00257"></a>00257         }
+<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 ) {
+<a name="l00259"></a>00259                 <a class="code" href="classeDirich.html" title="Dirichlet posterior density.">eDirich</a>* E=<span class="keyword">dynamic_cast&lt;</span><a class="code" href="classeDirich.html" title="Dirichlet posterior density.">eDirich</a>*<span class="keyword">&gt;</span> ( B );
+<a name="l00260"></a>00260                 <span class="comment">// sum(beta) should be equal to sum(B.beta)</span>
+<a name="l00261"></a>00261                 <span class="keyword">const</span> vec &amp;Eb=E-&gt;<a class="code" href="classeDirich.html#6409d0362143a23976b43641ff19e53a" title="access function">_beta</a>();
+<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 ) );
+<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>();}
+<a name="l00264"></a>00264         }
+<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>&amp; <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>;};
+<a name="l00266"></a>00266         <span class="keywordtype">void</span> set_parameters ( <span class="keyword">const</span> vec &amp;beta0 ) {
+<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);
+<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>();
+<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>();}
+<a name="l00270"></a>00270         }
+<a name="l00271"></a>00271 };
+<a name="l00272"></a>00272 
+<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> {
+<a name="l00283"></a>00283 <span class="keyword">protected</span>:
+<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>;
+<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>;
+<a name="l00288"></a>00288 <span class="keyword">public</span> :
+<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> &amp;<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 ) {};
+<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 &amp;a, <span class="keyword">const</span> vec &amp;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;};
+<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>;
+<a name="l00295"></a>00295 <span class="comment">//      mat sample ( int N ) const;</span>
+<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 &amp;val ) <span class="keyword">const</span>;
+<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>;
+<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* &amp;a, vec* &amp;b ) {a=&amp;<a class="code" href="classegamma.html#376cebd8932546c440f21b182910b01b" title="Vector .">alpha</a>;b=&amp;<a class="code" href="classegamma.html#cfc5f136467488a421ab22f886323790" title="Vector .">beta</a>;};
+<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;}
+<a name="l00301"></a>00301 };
+<a name="l00302"></a>00302 <span class="comment">/*</span>
+<a name="l00304"></a>00304 <span class="comment">class emix : public epdf {</span>
+<a name="l00305"></a>00305 <span class="comment">protected:</span>
+<a name="l00306"></a>00306 <span class="comment">        int n;</span>
+<a name="l00307"></a>00307 <span class="comment">        vec &amp;w;</span>
+<a name="l00308"></a>00308 <span class="comment">        Array&lt;epdf*&gt; Coms;</span>
+<a name="l00309"></a>00309 <span class="comment">public:</span>
+<a name="l00311"></a>00311 <span class="comment">        emix ( const RV &amp;rv, vec &amp;w0): epdf(rv), n(w0.length()), w(w0), Coms(n) {};</span>
+<a name="l00312"></a>00312 <span class="comment">        void set_parameters( int &amp;i, double wi, epdf* ep){w(i)=wi;Coms(i)=ep;}</span>
+<a name="l00313"></a>00313 <span class="comment">        vec mean(){vec pom; for(int i=0;i&lt;n;i++){pom+=Coms(i)-&gt;mean()*w(i);} return pom;};</span>
+<a name="l00314"></a>00314 <span class="comment">        vec sample() {it_error ( "Not implemented" );return 0;}</span>
+<a name="l00315"></a>00315 <span class="comment">};</span>
+<a name="l00316"></a>00316 <span class="comment">*/</span>
+<a name="l00317"></a>00317 
+<a name="l00319"></a>00319 
+<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> {
+<a name="l00321"></a>00321 <span class="keyword">protected</span>:
+<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>;
+<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>;
+<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>;
+<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>;
+<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>;
+<a name="l00332"></a>00332 <span class="keyword">public</span>:
+<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 ) {}
+<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 &amp;val )<span class="keyword"> const  </span>{<span class="keywordflow">return</span> <a class="code" href="classeuni.html#63105490e946e43372d6187ad1bafdda" title="normalizing coefficients">nk</a>;}
+<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 &amp;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>;}
+<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>{
+<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>() );
+<a name="l00339"></a>00339 <span class="preprocessor">#pragma omp critical</span>
+<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 );
+<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 );
+<a name="l00342"></a>00342         }
+<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 &amp;low0, <span class="keyword">const</span> vec &amp;high0 ) {
+<a name="l00345"></a>00345                 <a class="code" href="classeuni.html#52a6ff4a54010f88a6a19fca605c64a4" title="internal">distance</a> = high0-low0;
+<a name="l00346"></a>00346                 it_assert_debug ( min ( <a class="code" href="classeuni.html#52a6ff4a54010f88a6a19fca605c64a4" title="internal">distance</a> ) &gt;0.0,<span class="stringliteral">"bad support"</span> );
+<a name="l00347"></a>00347                 <a class="code" href="classeuni.html#ef42cd8d7645422048d46c46ec5cdac1" title="lower bound on support">low</a> = low0;
+<a name="l00348"></a>00348                 <a class="code" href="classeuni.html#71b6d6b41aeb61a7f76f682b72119231" title="upper bound on support">high</a> = high0;
+<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> );
+<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> );
+<a name="l00351"></a>00351         }
+<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;}
+<a name="l00353"></a>00353 };
+<a name="l00354"></a>00354 
+<a name="l00355"></a>00355 
+<a name="l00361"></a>00361 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<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> {
+<a name="l00364"></a>00364         <a class="code" href="classenorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm&lt;sq_T&gt;</a> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>;
+<a name="l00365"></a>00365         mat A;
+<a name="l00366"></a>00366         vec&amp; _mu; <span class="comment">//cached epdf.mu;</span>
+<a name="l00367"></a>00367 <span class="keyword">public</span>:
+<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> &amp;<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> &amp;<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a> );
+<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 &amp;A, <span class="keyword">const</span> sq_T &amp;R );
+<a name="l00373"></a>00373         vec <a class="code" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18" title="Generate one sample of the posterior.">samplecond</a> ( vec &amp;cond, <span class="keywordtype">double</span> &amp;lik );
+<a name="l00375"></a>00375         mat <a class="code" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18" title="Generate one sample of the posterior.">samplecond</a> ( vec &amp;cond, vec &amp;lik, <span class="keywordtype">int</span> n );
+<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 &amp;cond );
+<a name="l00378"></a>00378 };
+<a name="l00379"></a>00379 
+<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> {
+<a name="l00390"></a>00390 <span class="keyword">protected</span>:
+<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>;
+<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>;
+<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>;
+<a name="l00397"></a>00397 
+<a name="l00398"></a>00398 <span class="keyword">public</span>:
+<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> &amp;<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> &amp;<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a> );
+<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> );
+<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 &amp;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;};
+<a name="l00404"></a>00404 };
+<a name="l00405"></a>00405 
+<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> {
+<a name="l00418"></a>00418 <span class="keyword">protected</span>:
+<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>;
+<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>;
+<a name="l00423"></a>00423 <span class="keyword">public</span>:
+<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> &amp;<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> &amp;<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() ) {};
+<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 ) {
+<a name="l00428"></a>00428                 <a class="code" href="classmgamma.html#a9d646cf758a70126dde7c48790b6e94" title="Set value of k.">mgamma::set_parameters</a> ( k0 );
+<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;
+<a name="l00430"></a>00430         };
+<a name="l00431"></a>00431 
+<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 &amp;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;};
+<a name="l00433"></a>00433 };
+<a name="l00434"></a>00434 
+<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 };
+<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> {
+<a name="l00443"></a>00443 <span class="keyword">protected</span> :
+<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>;
+<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>;
+<a name="l00449"></a><a class="code" href="classeEmp.html#a4d6f4bbd6a6824fc39f14676701279a">00449</a>         Array&lt;vec&gt; <a class="code" href="classeEmp.html#a4d6f4bbd6a6824fc39f14676701279a" title="Samples .">samples</a>;
+<a name="l00450"></a>00450 <span class="keyword">public</span>:
+<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> &amp;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> ) {};
+<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 &amp;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 );
+<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 );
+<a name="l00458"></a><a class="code" href="classeEmp.html#31b2bfb73b72486a5c89f2ab850c7a9b">00458</a>         vec&amp; <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>;};
+<a name="l00460"></a><a class="code" href="classeEmp.html#31b747eca73b16f30370827ba4cc3575">00460</a>         Array&lt;vec&gt;&amp; <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>;};
+<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 );
+<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;}
+<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 &amp;val )<span class="keyword"> const </span>{it_error ( <span class="stringliteral">"Not implemented"</span> );<span class="keywordflow">return</span> 0.0;}
+<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>{
+<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>() );
+<a name="l00469"></a>00469                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;<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 );}
+<a name="l00470"></a>00470                 <span class="keywordflow">return</span> pom;
+<a name="l00471"></a>00471         }
+<a name="l00472"></a>00472 };
+<a name="l00473"></a>00473 
 <a name="l00474"></a>00474 
-<a name="l00475"></a>00475 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<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&lt;sq_T&gt;::dupdate</a> ( mat &amp;v, <span class="keywordtype">double</span> nu ) {
-<a name="l00477"></a>00477         <span class="comment">//</span>
-<a name="l00478"></a>00478 };
+<a name="l00476"></a>00476 
+<a name="l00477"></a>00477 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<a name="l00478"></a><a class="code" href="classenorm.html#7b5cb487a2570e8109bfdc0df149aa06">00478</a> <a class="code" href="classenorm.html#7b5cb487a2570e8109bfdc0df149aa06" title="Default constructor.">enorm&lt;sq_T&gt;::enorm</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;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() ) {};
 <a name="l00479"></a>00479 
 <a name="l00480"></a>00480 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<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&lt;sq_T&gt;::tupdate</a> ( <span class="keywordtype">double</span> phi, mat &amp;vbar, <span class="keywordtype">double</span> nubar ) {
-<a name="l00482"></a>00482         <span class="comment">//</span>
-<a name="l00483"></a>00483 };
-<a name="l00484"></a>00484 
-<a name="l00485"></a>00485 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<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&lt;sq_T&gt;::sample</a>()<span class="keyword"> const </span>{
-<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> );
-<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 );
-<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 );
-<a name="l00490"></a>00490 
-<a name="l00491"></a>00491         smp += <a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>;
-<a name="l00492"></a>00492         <span class="keywordflow">return</span> smp;
-<a name="l00493"></a>00493 };
-<a name="l00494"></a>00494 
-<a name="l00495"></a>00495 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<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&lt;sq_T&gt;::sample</a> ( <span class="keywordtype">int</span> N )<span class="keyword"> const </span>{
-<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 );
-<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> );
-<a name="l00499"></a>00499         vec pom;
-<a name="l00500"></a>00500         <span class="keywordtype">int</span> i;
-<a name="l00501"></a>00501 
-<a name="l00502"></a>00502         <span class="keywordflow">for</span> ( i=0;i&lt;N;i++ ) {
-<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 );
-<a name="l00504"></a>00504                 pom = <a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a>.sqrt_mult ( x );
-<a name="l00505"></a>00505                 pom +=<a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>;
-<a name="l00506"></a>00506                 X.set_col ( i, pom );
-<a name="l00507"></a>00507         }
-<a name="l00508"></a>00508 
-<a name="l00509"></a>00509         <span class="keywordflow">return</span> X;
-<a name="l00510"></a>00510 };
-<a name="l00511"></a>00511 
-<a name="l00512"></a>00512 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<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&lt;sq_T&gt;::eval</a> ( <span class="keyword">const</span> vec &amp;val )<span class="keyword"> const </span>{
-<a name="l00514"></a>00514         <span class="keywordtype">double</span> pdfl,e;
-<a name="l00515"></a>00515         pdfl = <a class="code" href="classenorm.html#609a7c33dbb4fdfab050f3bdd1122401" title="Evaluate normalized log-probability.">evalpdflog</a> ( val );
-<a name="l00516"></a>00516         e = exp ( pdfl );
-<a name="l00517"></a>00517         <span class="keywordflow">return</span> e;
-<a name="l00518"></a>00518 };
-<a name="l00519"></a>00519 
-<a name="l00520"></a>00520 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<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&lt;sq_T&gt;::evalpdflog</a> ( <span class="keyword">const</span> vec &amp;val )<span class="keyword"> const </span>{
-<a name="l00522"></a>00522         <span class="comment">// 1.83787706640935 = log(2pi)</span>
-<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>();
-<a name="l00524"></a>00524 };
-<a name="l00525"></a>00525 
-<a name="l00526"></a>00526 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<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&lt;sq_T&gt;::lognc</a> ()<span class="keyword"> const </span>{
-<a name="l00528"></a>00528         <span class="comment">// 1.83787706640935 = log(2pi)</span>
-<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() );
+<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&lt;sq_T&gt;::set_parameters</a> ( <span class="keyword">const</span> vec &amp;mu0, <span class="keyword">const</span> sq_T &amp;R0 ) {
+<a name="l00482"></a>00482 <span class="comment">//Fixme test dimensions of mu0 and R0;</span>
+<a name="l00483"></a>00483         <a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a> = mu0;
+<a name="l00484"></a>00484         <a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a> = R0;
+<a name="l00485"></a>00485 };
+<a name="l00486"></a>00486 
+<a name="l00487"></a>00487 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<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&lt;sq_T&gt;::dupdate</a> ( mat &amp;v, <span class="keywordtype">double</span> nu ) {
+<a name="l00489"></a>00489         <span class="comment">//</span>
+<a name="l00490"></a>00490 };
+<a name="l00491"></a>00491 
+<a name="l00492"></a>00492 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<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&lt;sq_T&gt;::tupdate</a> ( <span class="keywordtype">double</span> phi, mat &amp;vbar, <span class="keywordtype">double</span> nubar ) {
+<a name="l00494"></a>00494         <span class="comment">//</span>
+<a name="l00495"></a>00495 };
+<a name="l00496"></a>00496 
+<a name="l00497"></a>00497 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<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&lt;sq_T&gt;::sample</a>()<span class="keyword"> const </span>{
+<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> );
+<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 );
+<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 );
+<a name="l00502"></a>00502 
+<a name="l00503"></a>00503         smp += <a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>;
+<a name="l00504"></a>00504         <span class="keywordflow">return</span> smp;
+<a name="l00505"></a>00505 };
+<a name="l00506"></a>00506 
+<a name="l00507"></a>00507 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<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&lt;sq_T&gt;::sample</a> ( <span class="keywordtype">int</span> N )<span class="keyword"> const </span>{
+<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 );
+<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> );
+<a name="l00511"></a>00511         vec pom;
+<a name="l00512"></a>00512         <span class="keywordtype">int</span> i;
+<a name="l00513"></a>00513 
+<a name="l00514"></a>00514         <span class="keywordflow">for</span> ( i=0;i&lt;N;i++ ) {
+<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 );
+<a name="l00516"></a>00516                 pom = <a class="code" href="classenorm.html#4ccc8d8514d644ef1c98d8ab023748a1" title="Covariance matrix in decomposed form.">R</a>.sqrt_mult ( x );
+<a name="l00517"></a>00517                 pom +=<a class="code" href="classenorm.html#71fde0d54bba147e00f612577f95ad20" title="mean value">mu</a>;
+<a name="l00518"></a>00518                 X.set_col ( i, pom );
+<a name="l00519"></a>00519         }
+<a name="l00520"></a>00520 
+<a name="l00521"></a>00521         <span class="keywordflow">return</span> X;
+<a name="l00522"></a>00522 };
+<a name="l00523"></a>00523 
+<a name="l00524"></a>00524 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<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&lt;sq_T&gt;::eval</a> ( <span class="keyword">const</span> vec &amp;val )<span class="keyword"> const </span>{
+<a name="l00526"></a>00526         <span class="keywordtype">double</span> pdfl,e;
+<a name="l00527"></a>00527         pdfl = <a class="code" href="classeEF.html#6466e8d4aa9dd64698ed288cbb1afc03" title="Evaluate normalized log-probability.">evalpdflog</a> ( val );
+<a name="l00528"></a>00528         e = exp ( pdfl );
+<a name="l00529"></a>00529         <span class="keywordflow">return</span> e;
 <a name="l00530"></a>00530 };
 <a name="l00531"></a>00531 
 <a name="l00532"></a>00532 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<a name="l00533"></a><a class="code" href="classmlnorm.html#f927203b3f31171c5c10ffc7caa797f5">00533</a> <a class="code" href="classmlnorm.html#f927203b3f31171c5c10ffc7caa797f5" title="Constructor.">mlnorm&lt;sq_T&gt;::mlnorm</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv0,<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;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>() ) {
-<a name="l00534"></a>00534         <a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a> =&amp;<a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>;
-<a name="l00535"></a>00535 }
-<a name="l00536"></a>00536 
-<a name="l00537"></a>00537 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<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&lt;sq_T&gt;::set_parameters</a> ( <span class="keyword">const</span> mat &amp;A0, <span class="keyword">const</span> sq_T &amp;R0 ) {
-<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 );
-<a name="l00540"></a>00540         A = A0;
-<a name="l00541"></a>00541 }
-<a name="l00542"></a>00542 
-<a name="l00543"></a>00543 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<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&lt;sq_T&gt;::samplecond</a> ( vec &amp;cond, <span class="keywordtype">double</span> &amp;lik ) {
-<a name="l00545"></a>00545         this-&gt;<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 );
-<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();
-<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 );
-<a name="l00548"></a>00548         <span class="keywordflow">return</span> smp;
-<a name="l00549"></a>00549 }
-<a name="l00550"></a>00550 
-<a name="l00551"></a>00551 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<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&lt;sq_T&gt;::samplecond</a> ( vec &amp;cond, vec &amp;lik, <span class="keywordtype">int</span> n ) {
-<a name="l00553"></a>00553         <span class="keywordtype">int</span> i;
-<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>();
-<a name="l00555"></a>00555         mat Smp ( dim,n );
-<a name="l00556"></a>00556         vec smp ( dim );
+<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&lt;sq_T&gt;::evalpdflog_nn</a> ( <span class="keyword">const</span> vec &amp;val )<span class="keyword"> const </span>{
+<a name="l00534"></a>00534         <span class="comment">// 1.83787706640935 = log(2pi)</span>
+<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>
+<a name="l00536"></a>00536 };
+<a name="l00537"></a>00537 
+<a name="l00538"></a>00538 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<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&lt;sq_T&gt;::lognc</a> ()<span class="keyword"> const </span>{
+<a name="l00540"></a>00540         <span class="comment">// 1.83787706640935 = log(2pi)</span>
+<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() );
+<a name="l00542"></a>00542 };
+<a name="l00543"></a>00543 
+<a name="l00544"></a>00544 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<a name="l00545"></a><a class="code" href="classmlnorm.html#f927203b3f31171c5c10ffc7caa797f5">00545</a> <a class="code" href="classmlnorm.html#f927203b3f31171c5c10ffc7caa797f5" title="Constructor.">mlnorm&lt;sq_T&gt;::mlnorm</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv0,<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;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>() ) {
+<a name="l00546"></a>00546         <a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a> =&amp;<a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>;
+<a name="l00547"></a>00547 }
+<a name="l00548"></a>00548 
+<a name="l00549"></a>00549 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<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&lt;sq_T&gt;::set_parameters</a> ( <span class="keyword">const</span> mat &amp;A0, <span class="keyword">const</span> sq_T &amp;R0 ) {
+<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 );
+<a name="l00552"></a>00552         A = A0;
+<a name="l00553"></a>00553 }
+<a name="l00554"></a>00554 
+<a name="l00555"></a>00555 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<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&lt;sq_T&gt;::samplecond</a> ( vec &amp;cond, <span class="keywordtype">double</span> &amp;lik ) {
 <a name="l00557"></a>00557         this-&gt;<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 );
-<a name="l00558"></a>00558 
-<a name="l00559"></a>00559         <span class="keywordflow">for</span> ( i=0; i&lt;n; i++ ) {
-<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();
-<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 );
-<a name="l00562"></a>00562                 Smp.set_col ( i ,smp );
-<a name="l00563"></a>00563         }
-<a name="l00564"></a>00564 
-<a name="l00565"></a>00565         <span class="keywordflow">return</span> Smp;
-<a name="l00566"></a>00566 }
-<a name="l00567"></a>00567 
-<a name="l00568"></a>00568 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
-<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&lt;sq_T&gt;::condition</a> ( vec &amp;cond ) {
-<a name="l00570"></a>00570         _mu = A*cond;
-<a name="l00571"></a>00571 <span class="comment">//R is already assigned;</span>
-<a name="l00572"></a>00572 }
-<a name="l00573"></a>00573 
-<a name="l00575"></a>00575 
+<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();
+<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 );
+<a name="l00560"></a>00560         <span class="keywordflow">return</span> smp;
+<a name="l00561"></a>00561 }
+<a name="l00562"></a>00562 
+<a name="l00563"></a>00563 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<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&lt;sq_T&gt;::samplecond</a> ( vec &amp;cond, vec &amp;lik, <span class="keywordtype">int</span> n ) {
+<a name="l00565"></a>00565         <span class="keywordtype">int</span> i;
+<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>();
+<a name="l00567"></a>00567         mat Smp ( dim,n );
+<a name="l00568"></a>00568         vec smp ( dim );
+<a name="l00569"></a>00569         this-&gt;<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 );
+<a name="l00570"></a>00570 
+<a name="l00571"></a>00571         <span class="keywordflow">for</span> ( i=0; i&lt;n; i++ ) {
+<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();
+<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 );
+<a name="l00574"></a>00574                 Smp.set_col ( i ,smp );
+<a name="l00575"></a>00575         }
 <a name="l00576"></a>00576 
-<a name="l00577"></a>00577 <span class="preprocessor">#endif //EF_H</span>
+<a name="l00577"></a>00577         <span class="keywordflow">return</span> Smp;
+<a name="l00578"></a>00578 }
+<a name="l00579"></a>00579 
+<a name="l00580"></a>00580 <span class="keyword">template</span>&lt;<span class="keyword">class</span> sq_T&gt;
+<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&lt;sq_T&gt;::condition</a> ( vec &amp;cond ) {
+<a name="l00582"></a>00582         _mu = A*cond;
+<a name="l00583"></a>00583 <span class="comment">//R is already assigned;</span>
+<a name="l00584"></a>00584 }
+<a name="l00585"></a>00585 
+<a name="l00587"></a>00587 
+<a name="l00588"></a>00588 
+<a name="l00589"></a>00589 <span class="preprocessor">#endif //EF_H</span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:45 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/pmsm__mix_8cpp.html
===================================================================
--- doc/html/pmsm__mix_8cpp.html (revision 171)
+++ doc/html/pmsm__mix_8cpp.html (revision 180)
@@ -50,5 +50,5 @@
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
 Using IT++ for numerical operations ----------------------------------- </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classfnc-members.html
===================================================================
--- doc/html/classfnc-members.html (revision 171)
+++ doc/html/classfnc-members.html (revision 180)
@@ -31,5 +31,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/libKF_8h-source.html
===================================================================
--- doc/html/libKF_8h-source.html (revision 171)
+++ doc/html/libKF_8h-source.html (revision 180)
@@ -292,5 +292,5 @@
 <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> );
 <a name="l00394"></a>00394 
-<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="classenorm.html#609a7c33dbb4fdfab050f3bdd1122401" title="Evaluate normalized log-probability.">evalpdflog</a> ( y );}
+<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 );}
 <a name="l00396"></a>00396 };
 <a name="l00397"></a>00397 
@@ -300,5 +300,5 @@
 <a name="l00401"></a>00401 
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:45 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_0x65.html
===================================================================
--- doc/html/functions_0x65.html (revision 171)
+++ doc/html/functions_0x65.html (revision 180)
@@ -112,15 +112,15 @@
 : <a class="el" href="classeuni.html#2537a6c239cff52e3ba814851a1116cd">euni</a>
 <li>eval()
-: <a class="el" href="classIMpmsm.html#45785869d978dda42828a072ec2caebe">IMpmsm</a>
-, <a class="el" href="classfnc.html#7fad2e6cb35909a165ec5a53def4a18c">fnc</a>
+: <a class="el" href="classfnc.html#7fad2e6cb35909a165ec5a53def4a18c">fnc</a>
 , <a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">epdf</a>
 , <a class="el" href="classenorm.html#b9e1dfd33692d7b3f1a59f17b0e61bd0">enorm&lt; sq_T &gt;</a>
+, <a class="el" href="classeuni.html#2723d4992900b5c5495bfa03628195ed">euni</a>
 , <a class="el" href="classconstfn.html#0411f603cbf675f2bc04a8f85e4e3b52">constfn</a>
 , <a class="el" href="classlinfn.html#fac0e56701f4c7beaf1c91f9b2a55f0b">linfn</a>
 , <a class="el" href="classdiffbifn.html#ad7673e16aa1a046b131b24c731c4632">diffbifn</a>
+, <a class="el" href="classIMpmsm.html#45785869d978dda42828a072ec2caebe">IMpmsm</a>
 , <a class="el" href="classbilinfn.html#e36a16e72e7f9fedf3cb18d2d5505a24">bilinfn</a>
 , <a class="el" href="classOMpmsm.html#8e32392c9c635584606287b8c0e8c9da">OMpmsm</a>
 , <a class="el" href="classdiffbifn.html#40d8a7eee45acc55cda33d43282faa03">diffbifn</a>
-, <a class="el" href="classeuni.html#2723d4992900b5c5495bfa03628195ed">euni</a>
 <li>evalcond()
 : <a class="el" href="classmpdf.html#80b738ece5bd4f8c4edaee4b38906f91">mpdf</a>
@@ -128,21 +128,23 @@
 : <a class="el" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129">BM</a>
 <li>evalpdflog()
-: <a class="el" href="classeuni.html#06af95d514a6623ad4688bd2ad50ad71">euni</a>
+: <a class="el" href="classeprod.html#5adef154e3655a872c284b02635b8b35">eprod</a>
+, <a class="el" href="classemix.html#469e910479b3402589104ef3bb1b5741">emix</a>
+, <a class="el" href="classeuni.html#06af95d514a6623ad4688bd2ad50ad71">euni</a>
+, <a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">eEF</a>
+, <a class="el" href="classeEmp.html#23e7358995400865ad2e278945922fb3">eEmp</a>
 , <a class="el" href="classegamma.html#de84faac8f9799dfe2777ddbedf997ef">egamma</a>
-, <a class="el" href="classepdf.html#6af383b6f1c6ea6fc5f6724dd03d8877">epdf</a>
-, <a class="el" href="classeprod.html#5adef154e3655a872c284b02635b8b35">eprod</a>
-, <a class="el" href="classeEmp.html#23e7358995400865ad2e278945922fb3">eEmp</a>
+, <a class="el" href="classmerger.html#8c37688902b1a1e9fa32edc5709e5a00">merger</a>
 , <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf</a>
 , <a class="el" href="classeEF.html#6466e8d4aa9dd64698ed288cbb1afc03">eEF</a>
-, <a class="el" href="classemix.html#469e910479b3402589104ef3bb1b5741">emix</a>
-, <a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">eEF</a>
-, <a class="el" href="classenorm.html#609a7c33dbb4fdfab050f3bdd1122401">enorm&lt; sq_T &gt;</a>
+<li>evalpdflog_m()
+: <a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">epdf</a>
 <li>evalpdflog_nn()
 : <a class="el" href="classeDirich.html#688a24f04be6d80d4769cf0e4ded7acc">eDirich</a>
+, <a class="el" href="classegiw.html#2ab1e525d692be8272a6f383d60b94cd">egiw</a>
+, <a class="el" href="classenorm.html#c1e3dcba256b0153cfdb286120e110be">enorm&lt; sq_T &gt;</a>
 , <a class="el" href="classeEF.html#48cdd33d0e20d1a1aa45683c956bc61c">eEF</a>
-, <a class="el" href="classegiw.html#2ab1e525d692be8272a6f383d60b94cd">egiw</a>
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/inherit__graph__11.map
===================================================================
--- doc/html/inherit__graph__11.map (revision 171)
+++ doc/html/inherit__graph__11.map (revision 180)
@@ -1,1 +1,4 @@
-<area shape="rect" href="$classRV.html" title="Class representing variables, most often random variables." alt="" coords="7,5,44,32">
+<area shape="rect" href="$classsqmat.html" title="Virtual class for representation of double symmetric matrices in square&#45;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">
Index: doc/html/classbilinfn-members.html
===================================================================
--- doc/html/classbilinfn-members.html (revision 171)
+++ doc/html/classbilinfn-members.html (revision 180)
@@ -43,5 +43,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classKFcondR.html
===================================================================
--- doc/html/classKFcondR.html (revision 171)
+++ doc/html/classKFcondR.html (revision 180)
@@ -86,4 +86,12 @@
 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a> (const vec &amp;dt) const </td></tr>
 
+<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 &amp;dt) const " -->
+vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &amp;dt) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="KFcondR::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &amp;rv)" -->
+virtual <a class="el" href="classepdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="KFcondR::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " -->
 const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">_rv</a> () const </td></tr>
@@ -216,4 +224,6 @@
 <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>
 
+<p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p>
+
 </div>
 </div><p>
@@ -236,7 +246,7 @@
 <p>
 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; } 
-<p>Reimplemented in <a class="el" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>
-
-<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::MixEF()</a>.</p>
+<p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p>
+
+<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p>
 
 </div>
@@ -245,5 +255,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/inherit__graph__7.map
===================================================================
--- doc/html/inherit__graph__7.map (revision 171)
+++ doc/html/inherit__graph__7.map (revision 180)
@@ -1,22 +1,3 @@
-<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\&lt; chmat \&gt;" alt="" coords="147,19,285,45">
-<area shape="rect" href="$classKalman.html" title="Kalman\&lt; fsqmat \&gt;" alt="" coords="144,95,288,121">
-<area shape="rect" href="$classKalman.html" title="Kalman\&lt; ldmat \&gt;" 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">
+<area shape="rect" href="$classlogger.html" title="Class for storing results (and semi&#45;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">
Index: doc/html/functions_0x74.html
===================================================================
--- doc/html/functions_0x74.html (revision 171)
+++ doc/html/functions_0x74.html (revision 180)
@@ -87,5 +87,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/libPF_8h.html
===================================================================
--- doc/html/libPF_8h.html (revision 171)
+++ doc/html/libPF_8h.html (revision 180)
@@ -65,5 +65,5 @@
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
 Using IT++ for numerical operations ----------------------------------- </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classMemDS.html
===================================================================
--- doc/html/classMemDS.html (revision 171)
+++ doc/html/classMemDS.html (revision 180)
@@ -121,5 +121,5 @@
 <p>Reimplemented from <a class="el" href="classDS.html#9a35ca9c9321dce2bf63bf668f785b75">DS</a>.</p>
 
-<p>References <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00245">DS::Drv</a>, and <a class="el" href="libBM_8h-source.html#l00247">DS::Urv</a>.</p>
+<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>
 
 </div>
@@ -128,5 +128,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/sim__var__arx_8cpp.html
===================================================================
--- doc/html/sim__var__arx_8cpp.html (revision 171)
+++ doc/html/sim__var__arx_8cpp.html (revision 180)
@@ -50,5 +50,5 @@
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
 Using IT++ for numerical operations ----------------------------------- </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/inherit__graph__11.md5
===================================================================
--- doc/html/inherit__graph__11.md5 (revision 171)
+++ doc/html/inherit__graph__11.md5 (revision 180)
@@ -1,1 +1,1 @@
-ed533ad24bdcc81be8df35b79001d1d2
+c27e963ef008944448151a95bb06381d
Index: doc/html/functions_func_0x65.html
===================================================================
--- doc/html/functions_func_0x65.html (revision 171)
+++ doc/html/functions_func_0x65.html (revision 180)
@@ -96,6 +96,6 @@
 <li>eval()
 : <a class="el" href="classlinfn.html#fac0e56701f4c7beaf1c91f9b2a55f0b">linfn</a>
+, <a class="el" href="classIMpmsm.html#45785869d978dda42828a072ec2caebe">IMpmsm</a>
 , <a class="el" href="classOMpmsm.html#8e32392c9c635584606287b8c0e8c9da">OMpmsm</a>
-, <a class="el" href="classIMpmsm.html#45785869d978dda42828a072ec2caebe">IMpmsm</a>
 , <a class="el" href="classfnc.html#7fad2e6cb35909a165ec5a53def4a18c">fnc</a>
 , <a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">epdf</a>
@@ -108,21 +108,23 @@
 : <a class="el" href="classmpdf.html#80b738ece5bd4f8c4edaee4b38906f91">mpdf</a>
 <li>evalpdflog()
-: <a class="el" href="classeEmp.html#23e7358995400865ad2e278945922fb3">eEmp</a>
+: <a class="el" href="classemix.html#469e910479b3402589104ef3bb1b5741">emix</a>
+, <a class="el" href="classeEmp.html#23e7358995400865ad2e278945922fb3">eEmp</a>
+, <a class="el" href="classeprod.html#5adef154e3655a872c284b02635b8b35">eprod</a>
+, <a class="el" href="classegamma.html#de84faac8f9799dfe2777ddbedf997ef">egamma</a>
+, <a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">eEF</a>
 , <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf</a>
-, <a class="el" href="classeprod.html#5adef154e3655a872c284b02635b8b35">eprod</a>
-, <a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">eEF</a>
-, <a class="el" href="classenorm.html#609a7c33dbb4fdfab050f3bdd1122401">enorm&lt; sq_T &gt;</a>
-, <a class="el" href="classegamma.html#de84faac8f9799dfe2777ddbedf997ef">egamma</a>
 , <a class="el" href="classeuni.html#06af95d514a6623ad4688bd2ad50ad71">euni</a>
-, <a class="el" href="classemix.html#469e910479b3402589104ef3bb1b5741">emix</a>
+, <a class="el" href="classmerger.html#8c37688902b1a1e9fa32edc5709e5a00">merger</a>
 , <a class="el" href="classeEF.html#6466e8d4aa9dd64698ed288cbb1afc03">eEF</a>
-, <a class="el" href="classepdf.html#6af383b6f1c6ea6fc5f6724dd03d8877">epdf</a>
+<li>evalpdflog_m()
+: <a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">epdf</a>
 <li>evalpdflog_nn()
-: <a class="el" href="classeEF.html#48cdd33d0e20d1a1aa45683c956bc61c">eEF</a>
-, <a class="el" href="classegiw.html#2ab1e525d692be8272a6f383d60b94cd">egiw</a>
+: <a class="el" href="classegiw.html#2ab1e525d692be8272a6f383d60b94cd">egiw</a>
+, <a class="el" href="classenorm.html#c1e3dcba256b0153cfdb286120e110be">enorm&lt; sq_T &gt;</a>
+, <a class="el" href="classeEF.html#48cdd33d0e20d1a1aa45683c956bc61c">eEF</a>
 , <a class="el" href="classeDirich.html#688a24f04be6d80d4769cf0e4ded7acc">eDirich</a>
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classRV.html
===================================================================
--- doc/html/classRV.html (revision 171)
+++ doc/html/classRV.html (revision 180)
@@ -68,14 +68,14 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add (concat) another variable to the current one,.  <a href="#935790526b630dec4ffefa9ec0c2b6fb"></a><br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a85c47bd838ebbdcb6798d7843e87db2"></a><!-- doxytag: member="RV::subt" ref="a85c47bd838ebbdcb6798d7843e87db2" args="(const RV rv2) const " -->
-<a class="el" href="classRV.html">RV</a>&nbsp;</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>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b9d175c327c21488b1e2fb756a84e149"></a><!-- doxytag: member="RV::subt" ref="b9d175c327c21488b1e2fb756a84e149" args="(const RV &amp;rv2) const " -->
+<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#b9d175c327c21488b1e2fb756a84e149">subt</a> (const <a class="el" href="classRV.html">RV</a> &amp;rv2) const </td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Subtract another variable from the current one. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0a9ea7bc6fad270cc54a455a9f8f387d"></a><!-- doxytag: member="RV::subselect" ref="0a9ea7bc6fad270cc54a455a9f8f387d" args="(ivec ind) const " -->
-<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#0a9ea7bc6fad270cc54a455a9f8f387d">subselect</a> (ivec ind) const </td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b26d25a122be3303806af7726a625a0f"></a><!-- doxytag: member="RV::subselect" ref="b26d25a122be3303806af7726a625a0f" args="(const ivec &amp;ind) const " -->
+<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#b26d25a122be3303806af7726a625a0f">subselect</a> (const ivec &amp;ind) const </td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Select only variables at indeces ind. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="65e5b820e482caff7f284d11898ef64f"></a><!-- doxytag: member="RV::operator()" ref="65e5b820e482caff7f284d11898ef64f" args="(ivec ind) const " -->
-<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#65e5b820e482caff7f284d11898ef64f">operator()</a> (ivec ind) const </td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="248dfb2387976db2658489347669278c"></a><!-- doxytag: member="RV::operator()" ref="248dfb2387976db2658489347669278c" args="(const ivec &amp;ind) const " -->
+<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#248dfb2387976db2658489347669278c">operator()</a> (const ivec &amp;ind) const </td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Select only variables at indeces ind. <br></td></tr>
@@ -88,7 +88,7 @@
 
 <tr><td class="mdescLeft">&nbsp;</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>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">ivec&nbsp;</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>
-
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">generate indeces into  <a href="#1844ea0d9c10428f5e0ee1d4d569ef0a"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">ivec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#bb724fa4e2d9ed7bfd0993b5975018a4">dataind</a> (const <a class="el" href="classRV.html">RV</a> &amp;crv) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">generate indeces into  <a href="#bb724fa4e2d9ed7bfd0993b5975018a4"></a><br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b88ef5124713c9e30fd9446846b3f044"></a><!-- doxytag: member="RV::_names" ref="b88ef5124713c9e30fd9446846b3f044" args="()" -->
 Array&lt; std::string &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#b88ef5124713c9e30fd9446846b3f044">_names</a> ()</td></tr>
@@ -109,4 +109,16 @@
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3ae4dd6e368f814a02710636ac8e1721"></a><!-- doxytag: member="RV::name" ref="3ae4dd6e368f814a02710636ac8e1721" args="(int at)" -->
 std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#3ae4dd6e368f814a02710636ac8e1721">name</a> (int at)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
+<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)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#f58db96c9f5b8a538e26f154b1047c62">set_id</a> (int at, int id0)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
+<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)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#70b24c39c5130b1e4753fa2eef495433">set_size</a> (int at, int size0)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
+<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)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#af668289c016d12ac2a9ddb85416006b">set_time</a> (int at, int time0)</td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
@@ -200,9 +212,9 @@
 <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>
 
-<p>Referenced by <a class="el" href="libBM_8cpp-source.html#l00177">concat()</a>, <a class="el" href="libPF_8h-source.html#l00104">MPF&lt; BM_T &gt;::MPF()</a>, and <a class="el" href="emix_8cpp-source.html#l00025">mprod::mprod()</a>.</p>
+<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&lt; BM_T &gt;::MPF()</a>.</p>
 
 </div>
 </div><p>
-<a class="anchor" name="1844ea0d9c10428f5e0ee1d4d569ef0a"></a><!-- doxytag: member="RV::dataind" ref="1844ea0d9c10428f5e0ee1d4d569ef0a" args="(RV crv) const " -->
+<a class="anchor" name="bb724fa4e2d9ed7bfd0993b5975018a4"></a><!-- doxytag: member="RV::dataind" ref="bb724fa4e2d9ed7bfd0993b5975018a4" args="(const RV &amp;crv) const " -->
 <div class="memitem">
 <div class="memproto">
@@ -211,5 +223,5 @@
           <td class="memname">ivec RV::dataind           </td>
           <td>(</td>
-          <td class="paramtype"><a class="el" href="classRV.html">RV</a>&nbsp;</td>
+          <td class="paramtype">const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td>
           <td class="paramname"> <em>crv</em>          </td>
           <td>&nbsp;)&nbsp;</td>
@@ -236,5 +248,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:55 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/inherit__graph__7.md5
===================================================================
--- doc/html/inherit__graph__7.md5 (revision 171)
+++ doc/html/inherit__graph__7.md5 (revision 180)
@@ -1,1 +1,1 @@
-13281417a0d60da182e17d3a2847fd44
+750df8d1111011016524c9291f21d8c6
Index: doc/html/arx_8h.html
===================================================================
--- doc/html/arx_8h.html (revision 171)
+++ doc/html/arx_8h.html (revision 180)
@@ -55,5 +55,5 @@
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
 Using IT++ for numerical operations ----------------------------------- </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classEKF.html
===================================================================
--- doc/html/classEKF.html (revision 171)
+++ doc/html/classEKF.html (revision 180)
@@ -86,4 +86,12 @@
 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a> (const vec &amp;dt) const </td></tr>
 
+<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 &amp;dt) const " -->
+vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &amp;dt) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="EKF::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &amp;rv)" -->
+virtual <a class="el" href="classepdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="EKF::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " -->
 const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">_rv</a> () const </td></tr>
@@ -213,4 +221,6 @@
 <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>
 
+<p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p>
+
 </div>
 </div><p>
@@ -233,7 +243,7 @@
 <p>
 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; } 
-<p>Reimplemented in <a class="el" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>
-
-<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::MixEF()</a>.</p>
+<p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p>
+
+<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p>
 
 </div>
@@ -242,5 +252,5 @@
 <li>work/git/mixpp/bdm/estim/<a class="el" href="libKF_8h-source.html">libKF.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:50 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_func_0x74.html
===================================================================
--- doc/html/functions_func_0x74.html (revision 171)
+++ doc/html/functions_func_0x74.html (revision 180)
@@ -79,5 +79,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/pmsm__mod_8h-source.html
===================================================================
--- doc/html/pmsm__mod_8h-source.html (revision 171)
+++ doc/html/pmsm__mod_8h-source.html (revision 180)
@@ -28,5 +28,5 @@
 <a name="l00012"></a>00012 
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_0x6b.html
===================================================================
--- doc/html/functions_0x6b.html (revision 171)
+++ doc/html/functions_0x6b.html (revision 180)
@@ -78,5 +78,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/libDC_8h-source.html
===================================================================
--- doc/html/libDC_8h-source.html (revision 171)
+++ doc/html/libDC_8h-source.html (revision 180)
@@ -171,5 +171,5 @@
 <a name="l00281"></a>00281 <span class="preprocessor">#endif // DC_H</span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:45 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classBindingFrame.html
===================================================================
--- doc/html/classBindingFrame.html (revision 171)
+++ doc/html/classBindingFrame.html (revision 180)
@@ -98,5 +98,5 @@
 <li>work/git/mixpp/bdm/<a class="el" href="userinfo_8h-source.html">userinfo.h</a><li>work/git/mixpp/bdm/userinfo.cpp</ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classfsqmat.html
===================================================================
--- doc/html/classfsqmat.html (revision 171)
+++ doc/html/classfsqmat.html (revision 180)
@@ -328,5 +328,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classValuedUserInfo.html
===================================================================
--- doc/html/classValuedUserInfo.html (revision 171)
+++ doc/html/classValuedUserInfo.html (revision 180)
@@ -228,5 +228,5 @@
 <li>work/git/mixpp/bdm/<a class="el" href="userinfo_8h-source.html">userinfo.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:56 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/arx_8h-source.html
===================================================================
--- doc/html/arx_8h-source.html (revision 171)
+++ doc/html/arx_8h-source.html (revision 180)
@@ -36,5 +36,5 @@
 <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> &amp;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() ) {};
 <a name="l00051"></a>00051 
-<a name="l00053"></a>00053         <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="classARX.html#d2751057811c6fb8f4ff86e1648bcddc" title="Auxiliary function.">_copy_</a>(<span class="keywordtype">bool</span> changerv=<span class="keyword">false</span>);
+<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>);
 <a name="l00054"></a>00054         
 <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,5 +63,5 @@
 <a name="l00082"></a>00082 
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:45 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/userinfo_8h-source.html
===================================================================
--- doc/html/userinfo_8h-source.html (revision 171)
+++ doc/html/userinfo_8h-source.html (revision 180)
@@ -562,5 +562,5 @@
 <a name="l00719"></a>00719 <span class="preprocessor">#endif // #ifndef UI_H</span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:45 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmlnorm.html
===================================================================
--- doc/html/classmlnorm.html (revision 171)
+++ doc/html/classmlnorm.html (revision 180)
@@ -152,5 +152,5 @@
 <p>Reimplemented in <a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">mprod</a>.</p>
 
-<p>References <a class="el" href="libBM_8h-source.html#l00207">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>
+<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>
 
 <p>Referenced by <a class="el" href="libPF_8h-source.html#l00137">MPF&lt; BM_T &gt;::bayes()</a>, and <a class="el" href="libPF_8cpp-source.html#l00007">PF::bayes()</a>.</p>
@@ -202,5 +202,5 @@
 <p>Reimplemented in <a class="el" href="classmprod.html#e171c40e210539c2af01d6237785620b">mprod</a>.</p>
 
-<p>References <a class="el" href="libBM_8h-source.html#l00207">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>
+<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>
 
 </div>
@@ -209,5 +209,5 @@
 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:54 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/chmat_8h.html
===================================================================
--- doc/html/chmat_8h.html (revision 171)
+++ doc/html/chmat_8h.html (revision 180)
@@ -55,5 +55,5 @@
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
 Using IT++ for numerical operations ----------------------------------- </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/merger_8h__incl.map
===================================================================
--- doc/html/merger_8h__incl.map (revision 171)
+++ doc/html/merger_8h__incl.map (revision 180)
@@ -1,5 +1,7 @@
-<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&#39;, LU, UDU&#39;, 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">
+<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&#39;, LU, UDU&#39;, 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">
Index: doc/html/emix_8h.html
===================================================================
--- doc/html/emix_8h.html (revision 171)
+++ doc/html/emix_8h.html (revision 180)
@@ -37,5 +37,5 @@
 <p><center><img src="emix_8h__dep__incl.png" border="0" usemap="#work/git/mixpp/bdm/stat/emix.hdep_map" alt=""></center>
 <map name="work/git/mixpp/bdm/stat/emix.hdep_map">
-<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>
+<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>
 </div>
 
@@ -63,5 +63,5 @@
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
 Using IT++ for numerical operations ----------------------------------- </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/emix_8h__dep__incl.map
===================================================================
--- doc/html/emix_8h__dep__incl.map (revision 171)
+++ doc/html/emix_8h__dep__incl.map (revision 180)
@@ -1,3 +1,3 @@
-<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">
+<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">
Index: doc/html/classeEmp.html
===================================================================
--- doc/html/classeEmp.html (revision 171)
+++ doc/html/classeEmp.html (revision 180)
@@ -52,6 +52,10 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor. <br></td></tr>
-<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 &amp;w0, epdf *pdf0)" -->
-void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#6606a656c1b28114f7384c25aaf80e8d">set_parameters</a> (const vec &amp;w0, <a class="el" href="classepdf.html">epdf</a> *pdf0)</td></tr>
+<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 &amp;w0, const epdf *pdf0)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#eab03bd3381aaea11ce34d5a26556353">set_parameters</a> (const vec &amp;w0, const <a class="el" href="classepdf.html">epdf</a> *pdf0)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set samples and weights. <br></td></tr>
+<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)" -->
+void&nbsp;</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>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set sample. <br></td></tr>
@@ -88,6 +92,6 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6af383b6f1c6ea6fc5f6724dd03d8877"></a><!-- doxytag: member="eEmp::evalpdflog" ref="6af383b6f1c6ea6fc5f6724dd03d8877" args="(const mat &amp;Val) const " -->
-virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#6af383b6f1c6ea6fc5f6724dd03d8877">evalpdflog</a> (const mat &amp;Val) const </td></tr>
+<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 &amp;Val) const " -->
+virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &amp;Val) const </td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr>
@@ -124,5 +128,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:50 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classKalman-members.html
===================================================================
--- doc/html/classKalman-members.html (revision 171)
+++ doc/html/classKalman-members.html (revision 180)
@@ -54,4 +54,6 @@
   <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>
   <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &amp;rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classKalman.html#9b69015c800eb93f3ee49da23a6f55d9">Q</a></td><td><a class="el" href="classKalman.html">Kalman&lt; sq_T &gt;</a></td><td><code> [protected]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classKalman.html#11d171dc0e0ab111c56a70f98b97b3ec">R</a></td><td><a class="el" href="classKalman.html">Kalman&lt; sq_T &gt;</a></td><td><code> [protected]</code></td></tr>
@@ -64,5 +66,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmlnorm-members.html
===================================================================
--- doc/html/classmlnorm-members.html (revision 171)
+++ doc/html/classmlnorm-members.html (revision 180)
@@ -44,5 +44,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:54 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_func_0x6b.html
===================================================================
--- doc/html/functions_func_0x6b.html (revision 171)
+++ doc/html/functions_func_0x6b.html (revision 180)
@@ -74,5 +74,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/reference_8h-source.html
===================================================================
--- doc/html/reference_8h-source.html (revision 171)
+++ doc/html/reference_8h-source.html (revision 180)
@@ -58,5 +58,5 @@
 <a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor">#define Ucmax_fault     (650.0/Uref)</span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/inherit__graph__12.map
===================================================================
--- doc/html/inherit__graph__12.map (revision 171)
+++ doc/html/inherit__graph__12.map (revision 180)
@@ -1,4 +1,1 @@
-<area shape="rect" href="$classsqmat.html" title="Virtual class for representation of double symmetric matrices in square&#45;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">
+<area shape="rect" href="$classstr.html" title="Structure of RV (used internally)." alt="" coords="7,5,44,32">
Index: doc/html/merger_8h__incl.md5
===================================================================
--- doc/html/merger_8h__incl.md5 (revision 171)
+++ doc/html/merger_8h__incl.md5 (revision 180)
@@ -1,1 +1,1 @@
-1d40f7194bc468c085ec6954b743971e
+cc95f72aa52c75e16f994891c8a628e4
Index: doc/html/classBM-members.html
===================================================================
--- doc/html/classBM-members.html (revision 171)
+++ doc/html/classBM-members.html (revision 180)
@@ -36,9 +36,11 @@
   <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>
   <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &amp;rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
   <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>
   <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>
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/emix_8h__dep__incl.md5
===================================================================
--- doc/html/emix_8h__dep__incl.md5 (revision 171)
+++ doc/html/emix_8h__dep__incl.md5 (revision 180)
@@ -1,1 +1,1 @@
-aaafddd2b3508f9e7f50e2eda8b13da3
+239c44cf3753a17e871d80606e121665
Index: doc/html/classAttribute-members.html
===================================================================
--- doc/html/classAttribute-members.html (revision 171)
+++ doc/html/classAttribute-members.html (revision 180)
@@ -33,5 +33,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/inherit__graph__8.map
===================================================================
--- doc/html/inherit__graph__8.map (revision 162)
+++ doc/html/inherit__graph__8.map (revision 180)
@@ -1,3 +1,23 @@
-<area shape="rect" href="$classlogger.html" title="Class for storing results (and semi&#45;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">
+<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&#45;inverse&#45;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\&lt; chmat \&gt;" alt="" coords="283,360,416,387">
+<area shape="rect" href="$classenorm.html" title="enorm\&lt; fsqmat \&gt;" alt="" coords="280,56,419,83">
+<area shape="rect" href="$classenorm.html" title="enorm\&lt; ldmat \&gt;" 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">
Index: doc/html/classmgamma.html
===================================================================
--- doc/html/classmgamma.html (revision 171)
+++ doc/html/classmgamma.html (revision 180)
@@ -150,5 +150,5 @@
 <p>Reimplemented in <a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">mprod</a>.</p>
 
-<p>References <a class="el" href="libBM_8h-source.html#l00207">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>
+<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>
 
 <p>Referenced by <a class="el" href="libPF_8h-source.html#l00137">MPF&lt; BM_T &gt;::bayes()</a>, and <a class="el" href="libPF_8cpp-source.html#l00007">PF::bayes()</a>.</p>
@@ -200,5 +200,5 @@
 <p>Reimplemented in <a class="el" href="classmprod.html#e171c40e210539c2af01d6237785620b">mprod</a>.</p>
 
-<p>References <a class="el" href="libBM_8h-source.html#l00207">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>
+<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>
 
 </div>
@@ -207,5 +207,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classPF.html
===================================================================
--- doc/html/classPF.html (revision 171)
+++ doc/html/classPF.html (revision 180)
@@ -69,4 +69,12 @@
 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a> (const vec &amp;dt) const </td></tr>
 
+<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 &amp;dt) const " -->
+vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &amp;dt) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="PF::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &amp;rv)" -->
+virtual <a class="el" href="classepdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="PF::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " -->
 const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">_rv</a> () const </td></tr>
@@ -154,5 +162,5 @@
 <p>Reimplemented in <a class="el" href="classMPF.html#55daf8e4b6553dd9f47c692de7931623">MPF&lt; BM_T &gt;</a>.</p>
 
-<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#l00210">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>
+<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>
 
 </div>
@@ -178,4 +186,6 @@
 <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>
 
+<p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p>
+
 </div>
 </div><p>
@@ -198,7 +208,7 @@
 <p>
 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; } 
-<p>Reimplemented in <a class="el" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>
-
-<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::MixEF()</a>.</p>
+<p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p>
+
+<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p>
 
 </div>
@@ -207,5 +217,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:55 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_0x66.html
===================================================================
--- doc/html/functions_0x66.html (revision 171)
+++ doc/html/functions_0x66.html (revision 180)
@@ -83,5 +83,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/inherit__graph__12.md5
===================================================================
--- doc/html/inherit__graph__12.md5 (revision 171)
+++ doc/html/inherit__graph__12.md5 (revision 180)
@@ -1,1 +1,1 @@
-c27e963ef008944448151a95bb06381d
+c43c01f84d4160095eb375e98d833c97
Index: doc/html/classlinfn-members.html
===================================================================
--- doc/html/classlinfn-members.html (revision 171)
+++ doc/html/classlinfn-members.html (revision 180)
@@ -33,5 +33,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classTypedUserInfo.html
===================================================================
--- doc/html/classTypedUserInfo.html (revision 171)
+++ doc/html/classTypedUserInfo.html (revision 180)
@@ -256,5 +256,5 @@
 <li>work/git/mixpp/bdm/<a class="el" href="userinfo_8h-source.html">userinfo.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:56 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classldmat.html
===================================================================
--- doc/html/classldmat.html (revision 171)
+++ doc/html/classldmat.html (revision 180)
@@ -503,5 +503,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/inherit__graph__8.md5
===================================================================
--- doc/html/inherit__graph__8.md5 (revision 162)
+++ doc/html/inherit__graph__8.md5 (revision 180)
@@ -1,1 +1,1 @@
-750df8d1111011016524c9291f21d8c6
+9cbf32779829b78f8f85b84530de828f
Index: doc/html/functions_0x75.html
===================================================================
--- doc/html/functions_0x75.html (revision 171)
+++ doc/html/functions_0x75.html (revision 180)
@@ -70,5 +70,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classOMpmsm.html
===================================================================
--- doc/html/classOMpmsm.html (revision 171)
+++ doc/html/classOMpmsm.html (revision 180)
@@ -207,5 +207,5 @@
 <li>work/git/mixpp/pmsm/<a class="el" href="pmsm_8h-source.html">pmsm.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:55 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_func_0x66.html
===================================================================
--- doc/html/functions_func_0x66.html (revision 171)
+++ doc/html/functions_func_0x66.html (revision 180)
@@ -77,5 +77,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classRootElement-members.html
===================================================================
--- doc/html/classRootElement-members.html (revision 171)
+++ doc/html/classRootElement-members.html (revision 180)
@@ -31,5 +31,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:55 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classEKFfixed.html
===================================================================
--- doc/html/classEKFfixed.html (revision 171)
+++ doc/html/classEKFfixed.html (revision 180)
@@ -89,4 +89,12 @@
 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a> (const vec &amp;dt) const </td></tr>
 
+<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 &amp;dt) const " -->
+vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &amp;dt) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="EKFfixed::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &amp;rv)" -->
+virtual <a class="el" href="classepdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="EKFfixed::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " -->
 const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">_rv</a> () const </td></tr>
@@ -207,4 +215,6 @@
 <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>
 
+<p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p>
+
 </div>
 </div><p>
@@ -227,7 +237,7 @@
 <p>
 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; } 
-<p>Reimplemented in <a class="el" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>
-
-<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::MixEF()</a>.</p>
+<p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p>
+
+<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p>
 
 </div>
@@ -236,5 +246,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:51 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classKalmanFull.html
===================================================================
--- doc/html/classKalmanFull.html (revision 171)
+++ doc/html/classKalmanFull.html (revision 180)
@@ -118,5 +118,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classTypedUserInfo-members.html
===================================================================
--- doc/html/classTypedUserInfo-members.html (revision 171)
+++ doc/html/classTypedUserInfo-members.html (revision 180)
@@ -39,5 +39,5 @@
   <tr class="memlist"><td><a class="el" href="classTypedUserInfo.html#b1bb67b76a677f0cf33e923fd9147e9a">~TypedUserInfo</a>()</td><td><a class="el" href="classTypedUserInfo.html">TypedUserInfo&lt; T &gt;</a></td><td><code> [inline, protected]</code></td></tr>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:56 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classEKFfull.html
===================================================================
--- doc/html/classEKFfull.html (revision 171)
+++ doc/html/classEKFfull.html (revision 180)
@@ -74,4 +74,12 @@
 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a> (const vec &amp;dt) const </td></tr>
 
+<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 &amp;dt) const " -->
+vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &amp;dt) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="EKFfull::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &amp;rv)" -->
+virtual <a class="el" href="classepdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="EKFfull::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " -->
 const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">_rv</a> () const </td></tr>
@@ -185,4 +193,6 @@
 <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>
 
+<p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p>
+
 </div>
 </div><p>
@@ -205,7 +215,7 @@
 <p>
 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; } 
-<p>Reimplemented in <a class="el" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>
-
-<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::MixEF()</a>.</p>
+<p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p>
+
+<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p>
 
 </div>
@@ -214,5 +224,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:51 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classOMpmsm-members.html
===================================================================
--- doc/html/classOMpmsm-members.html (revision 171)
+++ doc/html/classOMpmsm-members.html (revision 180)
@@ -42,5 +42,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:55 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classBMEF-members.html
===================================================================
--- doc/html/classBMEF-members.html (revision 171)
+++ doc/html/classBMEF-members.html (revision 180)
@@ -42,4 +42,6 @@
   <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>
   <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &amp;rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
   <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>
   <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,5 +49,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classlogger-members.html
===================================================================
--- doc/html/classlogger-members.html (revision 171)
+++ doc/html/classlogger-members.html (revision 180)
@@ -34,5 +34,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_func_0x75.html
===================================================================
--- doc/html/functions_func_0x75.html (revision 171)
+++ doc/html/functions_func_0x75.html (revision 180)
@@ -66,5 +66,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classEKFfull-members.html
===================================================================
--- doc/html/classEKFfull-members.html (revision 171)
+++ doc/html/classEKFfull-members.html (revision 180)
@@ -52,7 +52,9 @@
   <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>
   <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr>
   <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>
   <tr class="memlist"><td><a class="el" href="classKalmanFull.html#86ba216243ed95bb46d80d88775d16af">operator&lt;&lt;</a>(std::ostream &amp;os, const KalmanFull &amp;kf)</td><td><a class="el" href="classKalmanFull.html">KalmanFull</a></td><td><code> [friend]</code></td></tr>
   <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>
+  <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &amp;rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
   <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>
   <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,5 +65,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:51 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_0x6c.html
===================================================================
--- doc/html/functions_0x6c.html (revision 171)
+++ doc/html/functions_0x6c.html (revision 180)
@@ -97,12 +97,14 @@
 : <a class="el" href="classlogger.html#4f753a510e00c892b38e95c2284363a6">logger</a>
 <li>logit()
-: <a class="el" href="classmemlog.html#8d2feeb826f7249e9104d616b5a67144">memlog</a>
-, <a class="el" href="classlogger.html#efb5a59cb329f58810b09bd9cc270b78">logger</a>
+: <a class="el" href="classlogger.html#efb5a59cb329f58810b09bd9cc270b78">logger</a>
+, <a class="el" href="classmemlog.html#8d2feeb826f7249e9104d616b5a67144">memlog</a>
 <li>lognc()
-: <a class="el" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77">eDirich</a>
+: <a class="el" href="classegamma.html#d6dbbdb72360f9e54d64501f80318bb6">egamma</a>
+, <a class="el" href="classegiw.html#70eb1a0b88459b227f919b425b0d3359">egiw</a>
 , <a class="el" href="classeEF.html#69e5680dac10375d62520d26c672477d">eEF</a>
-, <a class="el" href="classegamma.html#d6dbbdb72360f9e54d64501f80318bb6">egamma</a>
 , <a class="el" href="classenorm.html#b289a36a69db59d182bb6eba9c05d4a8">enorm&lt; sq_T &gt;</a>
-, <a class="el" href="classegiw.html#70eb1a0b88459b227f919b425b0d3359">egiw</a>
+, <a class="el" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77">eDirich</a>
+<li>lognorm_merge()
+: <a class="el" href="classmerger.html#217c65f335c603033fa09a2ecc64bc05">merger</a>
 <li>logpred()
 : <a class="el" href="classARX.html#e7f9e7823aec9bf7ddc3b42d9b3304c4">ARX</a>
@@ -110,9 +112,11 @@
 , <a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">BM</a>
 , <a class="el" href="classmultiBM.html#13e26a61757278981fd8cac9a7ef91eb">multiBM</a>
+<li>logpred_m()
+: <a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">BM</a>
 <li>low
 : <a class="el" href="classeuni.html#ef42cd8d7645422048d46c46ec5cdac1">euni</a>
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/demo__example_2regulace_8h-source.html
===================================================================
--- doc/html/demo__example_2regulace_8h-source.html (revision 171)
+++ doc/html/demo__example_2regulace_8h-source.html (revision 180)
@@ -33,5 +33,5 @@
 <a name="l00017"></a>00017 <span class="comment">// Idw_urm, Urmf, Iqw_reg </span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/libFN_8h-source.html
===================================================================
--- doc/html/libFN_8h-source.html (revision 171)
+++ doc/html/libFN_8h-source.html (revision 180)
@@ -104,5 +104,5 @@
 <a name="l00123"></a>00123 <span class="preprocessor">#endif // FN_H</span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:45 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmultiBM-members.html
===================================================================
--- doc/html/classmultiBM-members.html (revision 171)
+++ doc/html/classmultiBM-members.html (revision 180)
@@ -44,13 +44,16 @@
   <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>
   <tr class="memlist"><td><a class="el" href="classmultiBM.html#13e26a61757278981fd8cac9a7ef91eb">logpred</a>(const vec &amp;dt) const </td><td><a class="el" href="classmultiBM.html">multiBM</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classmultiBM.html#7d7d7e78c129602bcde96078359dc6e5">multiBM</a>(const RV &amp;rv, const vec beta0)</td><td><a class="el" href="classmultiBM.html">multiBM</a></td><td><code> [inline]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classmultiBM.html#b92751adbfb9f259ca8c95232cfd9c09">multiBM</a>(const multiBM &amp;B)</td><td><a class="el" href="classmultiBM.html">multiBM</a></td><td><code> [inline]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &amp;rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
   <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>
   <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>
+  <tr bgcolor="#f0f0f0"><td><b>set_parameters</b>(const vec &amp;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>
   <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>
   <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>
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:55 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/fixed_8h-source.html
===================================================================
--- doc/html/fixed_8h-source.html (revision 171)
+++ doc/html/fixed_8h-source.html (revision 180)
@@ -33,5 +33,5 @@
 <a name="l00017"></a>00017 <span class="comment">// obecne deleni: x_"Qposun1"*"Qscale"/y_"Qposun2" -&gt; "Q_posun_fin"</span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/ekf_8h-source.html
===================================================================
--- doc/html/ekf_8h-source.html (revision 171)
+++ doc/html/ekf_8h-source.html (revision 180)
@@ -39,5 +39,5 @@
 <a name="l00023"></a>00023 
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classenorm.html
===================================================================
--- doc/html/classenorm.html (revision 171)
+++ doc/html/classenorm.html (revision 180)
@@ -76,6 +76,6 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="609a7c33dbb4fdfab050f3bdd1122401"></a><!-- doxytag: member="enorm::evalpdflog" ref="609a7c33dbb4fdfab050f3bdd1122401" args="(const vec &amp;val) const " -->
-double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classenorm.html#609a7c33dbb4fdfab050f3bdd1122401">evalpdflog</a> (const vec &amp;val) const </td></tr>
+<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 &amp;val) const " -->
+double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classenorm.html#c1e3dcba256b0153cfdb286120e110be">evalpdflog_nn</a> (const vec &amp;val) const </td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate normalized log-probability. <br></td></tr>
@@ -100,14 +100,10 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns pointers to the internal variance and its inverse. Use with Care! <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9b9f58dc86affa23511c246887420658"></a><!-- doxytag: member="enorm::getR" ref="9b9f58dc86affa23511c246887420658" args="()" -->
-mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classenorm.html#9b9f58dc86affa23511c246887420658">getR</a> ()</td></tr>
-
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access method <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a89bef8996410609004fa019b5b48964"></a><!-- doxytag: member="enorm::dupdate" ref="a89bef8996410609004fa019b5b48964" args="(mat &amp;v)" -->
 virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeEF.html#a89bef8996410609004fa019b5b48964">dupdate</a> (mat &amp;v)</td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">TODO decide if it is really needed. <br></td></tr>
-<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 &amp;val) const " -->
-virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeEF.html#48cdd33d0e20d1a1aa45683c956bc61c">evalpdflog_nn</a> (const vec &amp;val) const </td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6466e8d4aa9dd64698ed288cbb1afc03"></a><!-- doxytag: member="enorm::evalpdflog" ref="6466e8d4aa9dd64698ed288cbb1afc03" args="(const vec &amp;val) const " -->
+virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeEF.html#6466e8d4aa9dd64698ed288cbb1afc03">evalpdflog</a> (const vec &amp;val) const </td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate normalized log-probability. <br></td></tr>
@@ -124,4 +120,8 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns N samples from density <img class="formulaInl" alt="$epdf(rv)$" src="form_59.png">. <br></td></tr>
+<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 &amp;Val) const " -->
+virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &amp;Val) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ca0d32aabb4cbba347e0c37fe8607562"></a><!-- doxytag: member="enorm::_rv" ref="ca0d32aabb4cbba347e0c37fe8607562" args="() const " -->
 const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562">_rv</a> () const </td></tr>
@@ -159,5 +159,5 @@
 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:51 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/mixef_8h.html
===================================================================
--- doc/html/mixef_8h.html (revision 171)
+++ doc/html/mixef_8h.html (revision 180)
@@ -34,4 +34,13 @@
 
 <p>
+<div class="dynheader">
+This graph shows which files directly or indirectly include this file:</div>
+<div class="dynsection">
+<p><center><img src="mixef_8h__dep__incl.png" border="0" usemap="#work/git/mixpp/bdm/estim/mixef.hdep_map" alt=""></center>
+<map name="work/git/mixpp/bdm/estim/mixef.hdep_map">
+<area shape="rect" href="merger_8h.html" title="Mergers for combination of pdfs." alt="" coords="5,84,253,111"></map>
+</div>
+
+<p>
 <a href="mixef_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
 <tr><td></td></tr>
@@ -47,5 +56,5 @@
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
 Using IT++ for numerical operations ----------------------------------- </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/inherit__graph__9.map
===================================================================
--- doc/html/inherit__graph__9.map (revision 171)
+++ doc/html/inherit__graph__9.map (revision 180)
@@ -1,9 +1,1 @@
-<area shape="rect" href="$classmpdf.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">
+<area shape="rect" href="$classRootElement.html" title="This class serves to load and/or save DOMElements into/from files stored on a hard&#45;disk..." alt="" coords="7,5,108,32">
Index: doc/html/functions_func_0x6c.html
===================================================================
--- doc/html/functions_func_0x6c.html (revision 171)
+++ doc/html/functions_func_0x6c.html (revision 180)
@@ -86,17 +86,21 @@
 , <a class="el" href="classmemlog.html#8d2feeb826f7249e9104d616b5a67144">memlog</a>
 <li>lognc()
-: <a class="el" href="classenorm.html#b289a36a69db59d182bb6eba9c05d4a8">enorm&lt; sq_T &gt;</a>
+: <a class="el" href="classegamma.html#d6dbbdb72360f9e54d64501f80318bb6">egamma</a>
+, <a class="el" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77">eDirich</a>
 , <a class="el" href="classegiw.html#70eb1a0b88459b227f919b425b0d3359">egiw</a>
+, <a class="el" href="classenorm.html#b289a36a69db59d182bb6eba9c05d4a8">enorm&lt; sq_T &gt;</a>
 , <a class="el" href="classeEF.html#69e5680dac10375d62520d26c672477d">eEF</a>
-, <a class="el" href="classegamma.html#d6dbbdb72360f9e54d64501f80318bb6">egamma</a>
-, <a class="el" href="classeDirich.html#7ce60be7119ffc639ede4e583c1f6e77">eDirich</a>
+<li>lognorm_merge()
+: <a class="el" href="classmerger.html#217c65f335c603033fa09a2ecc64bc05">merger</a>
 <li>logpred()
-: <a class="el" href="classMixEF.html#424ca64f36d4e41de7a7e7ae921d35ea">MixEF</a>
+: <a class="el" href="classARX.html#e7f9e7823aec9bf7ddc3b42d9b3304c4">ARX</a>
 , <a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">BM</a>
+, <a class="el" href="classMixEF.html#424ca64f36d4e41de7a7e7ae921d35ea">MixEF</a>
 , <a class="el" href="classmultiBM.html#13e26a61757278981fd8cac9a7ef91eb">multiBM</a>
-, <a class="el" href="classARX.html#e7f9e7823aec9bf7ddc3b42d9b3304c4">ARX</a>
+<li>logpred_m()
+: <a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">BM</a>
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classIMpmsmStat.html
===================================================================
--- doc/html/classIMpmsmStat.html (revision 171)
+++ doc/html/classIMpmsmStat.html (revision 180)
@@ -114,5 +114,5 @@
 <li>work/git/mixpp/pmsm/<a class="el" href="pmsm_8h-source.html">pmsm.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classenorm-members.html
===================================================================
--- doc/html/classenorm-members.html (revision 171)
+++ doc/html/classenorm-members.html (revision 180)
@@ -37,8 +37,8 @@
   <tr class="memlist"><td><a class="el" href="classepdf.html#c95b1a27a8dd9507bb9a5a3cb2809c7a">epdf</a>(const RV &amp;rv0)</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classenorm.html#b9e1dfd33692d7b3f1a59f17b0e61bd0">eval</a>(const vec &amp;val) const </td><td><a class="el" href="classenorm.html">enorm&lt; sq_T &gt;</a></td><td><code> [inline, virtual]</code></td></tr>
-  <tr class="memlist"><td><a class="el" href="classenorm.html#609a7c33dbb4fdfab050f3bdd1122401">evalpdflog</a>(const vec &amp;val) const </td><td><a class="el" href="classenorm.html">enorm&lt; sq_T &gt;</a></td><td><code> [inline, virtual]</code></td></tr>
-  <tr class="memlist"><td><a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">eEF::evalpdflog</a>(const mat &amp;Val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr>
-  <tr class="memlist"><td><a class="el" href="classeEF.html#48cdd33d0e20d1a1aa45683c956bc61c">evalpdflog_nn</a>(const vec &amp;val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr>
-  <tr class="memlist"><td><a class="el" href="classenorm.html#9b9f58dc86affa23511c246887420658">getR</a>()</td><td><a class="el" href="classenorm.html">enorm&lt; sq_T &gt;</a></td><td><code> [inline]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classeEF.html#6466e8d4aa9dd64698ed288cbb1afc03">evalpdflog</a>(const vec &amp;val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">evalpdflog</a>(const mat &amp;Val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &amp;Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classenorm.html#c1e3dcba256b0153cfdb286120e110be">evalpdflog_nn</a>(const vec &amp;val) const </td><td><a class="el" href="classenorm.html">enorm&lt; sq_T &gt;</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classenorm.html#b289a36a69db59d182bb6eba9c05d4a8">lognc</a>() const </td><td><a class="el" href="classenorm.html">enorm&lt; sq_T &gt;</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classenorm.html#50fa84da7bae02f7af17a98f37566899">mean</a>() const </td><td><a class="el" href="classenorm.html">enorm&lt; sq_T &gt;</a></td><td><code> [inline, virtual]</code></td></tr>
@@ -55,5 +55,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:51 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/pages.html
===================================================================
--- doc/html/pages.html (revision 171)
+++ doc/html/pages.html (revision 180)
@@ -22,5 +22,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:45 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classMPF-members.html
===================================================================
--- doc/html/classMPF-members.html (revision 171)
+++ doc/html/classMPF-members.html (revision 180)
@@ -39,4 +39,5 @@
   <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>
   <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classMPF.html#fc5e11e11eec3195e3c6503937bf02bd">MPF</a>(const RV &amp;rvlin, const RV &amp;rvpf, mpdf &amp;par0, mpdf &amp;obs0, int n, const BM_T &amp;BMcond0)</td><td><a class="el" href="classMPF.html">MPF&lt; BM_T &gt;</a></td><td><code> [inline]</code></td></tr>
   <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,4 +45,5 @@
   <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>
   <tr class="memlist"><td><a class="el" href="classPF.html#e99f0d866721405dd281e315ecb690aa">PF</a>(const RV &amp;rv0, mpdf &amp;par0, mpdf &amp;obs0, int n0)</td><td><a class="el" href="classPF.html">PF</a></td><td><code> [inline]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &amp;rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
   <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>
   <tr class="memlist"><td><a class="el" href="classMPF.html#7c66e1c1c0e45fc4ae765133cb3a1553">set_est</a>(const epdf &amp;epdf0)</td><td><a class="el" href="classMPF.html">MPF&lt; BM_T &gt;</a></td><td><code> [inline]</code></td></tr>
@@ -51,5 +53,5 @@
   <tr bgcolor="#f0f0f0"><td><b>~MPF</b>() (defined in <a class="el" href="classMPF.html">MPF&lt; BM_T &gt;</a>)</td><td><a class="el" href="classMPF.html">MPF&lt; BM_T &gt;</a></td><td><code> [inline]</code></td></tr>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:54 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/ekf__templ_8h.html
===================================================================
--- doc/html/ekf__templ_8h.html (revision 171)
+++ doc/html/ekf__templ_8h.html (revision 180)
@@ -53,5 +53,5 @@
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
 Using IT++ for numerical operations ----------------------------------- </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classepdf.html
===================================================================
--- doc/html/classepdf.html (revision 171)
+++ doc/html/classepdf.html (revision 180)
@@ -34,5 +34,5 @@
 <p><center><img src="classepdf__inherit__graph.png" border="0" usemap="#epdf__inherit__map" alt="Inheritance graph"></center>
 <map name="epdf__inherit__map">
-<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&#45;inverse&#45;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\&lt; ldmat \&gt;" alt="" coords="233,263,364,289"><area shape="rect" href="classenorm.html" title="enorm\&lt; chmat \&gt;" alt="" coords="581,263,715,289"><area shape="rect" href="classenorm.html" title="enorm\&lt; fsqmat \&gt;" alt="" coords="396,263,535,289"></map>
+<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&#45;inverse&#45;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\&lt; ldmat \&gt;" alt="" coords="233,263,364,289"><area shape="rect" href="classenorm.html" title="enorm\&lt; chmat \&gt;" alt="" coords="581,263,715,289"><area shape="rect" href="classenorm.html" title="enorm\&lt; fsqmat \&gt;" alt="" coords="396,263,535,289"></map>
 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
 <div class="dynheader">
@@ -72,6 +72,6 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of argument <code>val</code>. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6af383b6f1c6ea6fc5f6724dd03d8877"></a><!-- doxytag: member="epdf::evalpdflog" ref="6af383b6f1c6ea6fc5f6724dd03d8877" args="(const mat &amp;Val) const " -->
-virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#6af383b6f1c6ea6fc5f6724dd03d8877">evalpdflog</a> (const mat &amp;Val) const </td></tr>
+<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 &amp;Val) const " -->
+virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &amp;Val) const </td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr>
@@ -102,5 +102,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/parametry__motoru_8h-source.html
===================================================================
--- doc/html/parametry__motoru_8h-source.html (revision 171)
+++ doc/html/parametry__motoru_8h-source.html (revision 180)
@@ -36,5 +36,5 @@
 <a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define kp              1.5</span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmpdf.html
===================================================================
--- doc/html/classmpdf.html (revision 171)
+++ doc/html/classmpdf.html (revision 180)
@@ -34,5 +34,5 @@
 <p><center><img src="classmpdf__inherit__graph.png" border="0" usemap="#mpdf__inherit__map" alt="Inheritance graph"></center>
 <map name="mpdf__inherit__map">
-<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>
+<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>
 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
 <div class="dynheader">
@@ -135,5 +135,5 @@
 <p>Reimplemented in <a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">mprod</a>.</p>
 
-<p>References <a class="el" href="libBM_8h-source.html#l00207">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>
+<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>
 
 <p>Referenced by <a class="el" href="libPF_8h-source.html#l00137">MPF&lt; BM_T &gt;::bayes()</a>, and <a class="el" href="libPF_8cpp-source.html#l00007">PF::bayes()</a>.</p>
@@ -185,5 +185,5 @@
 <p>Reimplemented in <a class="el" href="classmprod.html#e171c40e210539c2af01d6237785620b">mprod</a>.</p>
 
-<p>References <a class="el" href="libBM_8h-source.html#l00207">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>
+<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>
 
 </div>
@@ -192,5 +192,5 @@
 <li>work/git/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:54 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classAssertXercesIsAlive.html
===================================================================
--- doc/html/classAssertXercesIsAlive.html (revision 171)
+++ doc/html/classAssertXercesIsAlive.html (revision 180)
@@ -49,5 +49,5 @@
 <li>work/git/mixpp/bdm/<a class="el" href="userinfo_8h-source.html">userinfo.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classMemDS-members.html
===================================================================
--- doc/html/classMemDS-members.html (revision 171)
+++ doc/html/classMemDS-members.html (revision 180)
@@ -35,5 +35,5 @@
   <tr class="memlist"><td><a class="el" href="classMemDS.html#6279bf18d44343750747ecc12e050f09">write</a>(vec &amp;ut, ivec &amp;indexes)</td><td><a class="el" href="classMemDS.html">MemDS</a></td><td><code> [inline]</code></td></tr>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmpdf__inherit__graph.map
===================================================================
--- doc/html/classmpdf__inherit__graph.map (revision 171)
+++ doc/html/classmpdf__inherit__graph.map (revision 180)
@@ -1,8 +1,7 @@
-<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="$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">
-<area shape="rect" href="$classmerger.html" title="Function for general combination of pdfs." alt="" coords="339,161,405,188">
Index: doc/html/classIMpmsm.html
===================================================================
--- doc/html/classIMpmsm.html (revision 171)
+++ doc/html/classIMpmsm.html (revision 180)
@@ -235,5 +235,5 @@
 <li>work/git/mixpp/pmsm/<a class="el" href="pmsm_8h-source.html">pmsm.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/inherit__graph__9.md5
===================================================================
--- doc/html/inherit__graph__9.md5 (revision 171)
+++ doc/html/inherit__graph__9.md5 (revision 180)
@@ -1,1 +1,1 @@
-9e029ac4590832bd53bb1ca4b37fc9ed
+cedfddaa2f3cbe0dceadd003ab3993a8
Index: doc/html/functions_0x67.html
===================================================================
--- doc/html/functions_0x67.html (revision 171)
+++ doc/html/functions_0x67.html (revision 180)
@@ -75,11 +75,10 @@
 : <a class="el" href="classfsqmat.html#bcf837b2956745e8986044f5600dbd6e">fsqmat</a>
 <li>getdata()
-: <a class="el" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1">DS</a>
-, <a class="el" href="classMemDS.html#23522b9e7dd0bb0c365cc9cde4c05449">MemDS</a>
-<li>getR()
-: <a class="el" href="classenorm.html#9b9f58dc86affa23511c246887420658">enorm&lt; sq_T &gt;</a>
+: <a class="el" href="classDS.html#4027575bc66ea358f9b03dd3be28fe1e">DS</a>
+, <a class="el" href="classMemDS.html#900f1e1c9eb950f87e557c068628e60e">MemDS</a>
+, <a class="el" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1">DS</a>
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classAssertXercesIsAlive-members.html
===================================================================
--- doc/html/classAssertXercesIsAlive-members.html (revision 171)
+++ doc/html/classAssertXercesIsAlive-members.html (revision 180)
@@ -27,5 +27,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classUserInfo-members.html
===================================================================
--- doc/html/classUserInfo-members.html (revision 171)
+++ doc/html/classUserInfo-members.html (revision 180)
@@ -36,5 +36,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:56 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/hierarchy.html
===================================================================
--- doc/html/hierarchy.html (revision 171)
+++ doc/html/hierarchy.html (revision 180)
@@ -115,4 +115,9 @@
 <li><a class="el" href="classKFcondR.html">KFcondR</a>
 </ul>
+<li><a class="el" href="classcompositepdf.html">compositepdf</a>
+<ul>
+<li><a class="el" href="classmerger.html">merger</a>
+<li><a class="el" href="classmprod.html">mprod</a>
+</ul>
 <li><a class="el" href="classDS.html">DS</a>
 <ul>
@@ -135,4 +140,5 @@
 <li><a class="el" href="classeprod.html">eprod</a>
 <li><a class="el" href="classeuni.html">euni</a>
+<li><a class="el" href="classmerger.html">merger</a>
 </ul>
 <li><a class="el" href="classfnc.html">fnc</a>
@@ -175,7 +181,4 @@
 <li><a class="el" href="classmmix.html">mmix</a>
 <li><a class="el" href="classmprod.html">mprod</a>
-<ul>
-<li><a class="el" href="classmerger.html">merger</a>
-</ul>
 </ul>
 <li><a class="el" href="classRootElement.html">RootElement</a>
@@ -190,5 +193,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/libDC_8h__dep__incl.map
===================================================================
--- doc/html/libDC_8h__dep__incl.map (revision 171)
+++ doc/html/libDC_8h__dep__incl.map (revision 180)
@@ -1,13 +1,13 @@
-<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&#39;, LU, UDU&#39;, 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">
+<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&#39;, LU, UDU&#39;, 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">
Index: doc/html/classARX.html
===================================================================
--- doc/html/classARX.html (revision 171)
+++ doc/html/classARX.html (revision 180)
@@ -56,6 +56,6 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy constructor. <br></td></tr>
-<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)" -->
-<a class="el" href="classBM.html">BM</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc">_copy_</a> (bool changerv=false)</td></tr>
+<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)" -->
+<a class="el" href="classARX.html">ARX</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">_copy_</a> (bool changerv=false)</td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Auxiliary function. <br></td></tr>
@@ -96,4 +96,12 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Batch Bayes rule (columns of Dt are observations). <br></td></tr>
+<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 &amp;dt) const " -->
+vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &amp;dt) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="ARX::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &amp;rv)" -->
+virtual <a class="el" href="classepdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="ARX::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " -->
 const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">_rv</a> () const </td></tr>
@@ -204,5 +212,5 @@
 <p>Reimplemented from <a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">BM</a>.</p>
 
-<p>References <a class="el" href="libEF_8h-source.html#l00185">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>
+<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>
 
 </div>
@@ -229,5 +237,5 @@
 <dl class="return" compact><dt><b>Returns:</b></dt><dd>indeces of accepted regressors. </dd></dl>
 
-<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#l00276">BM::rv</a>.</p>
+<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>
 
 </div>
@@ -236,5 +244,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classEKF-members.html
===================================================================
--- doc/html/classEKF-members.html (revision 171)
+++ doc/html/classEKF-members.html (revision 180)
@@ -55,4 +55,6 @@
   <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>
   <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &amp;rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classKalman.html#9b69015c800eb93f3ee49da23a6f55d9">Q</a></td><td><a class="el" href="classKalman.html">Kalman&lt; fsqmat &gt;</a></td><td><code> [protected]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classKalman.html#11d171dc0e0ab111c56a70f98b97b3ec">R</a></td><td><a class="el" href="classKalman.html">Kalman&lt; fsqmat &gt;</a></td><td><code> [protected]</code></td></tr>
@@ -66,5 +68,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:50 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classKalman.html
===================================================================
--- doc/html/classKalman.html (revision 171)
+++ doc/html/classKalman.html (revision 180)
@@ -86,4 +86,12 @@
 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a> (const vec &amp;dt) const </td></tr>
 
+<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 &amp;dt) const " -->
+vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &amp;dt) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="Kalman::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &amp;rv)" -->
+virtual <a class="el" href="classepdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="Kalman::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " -->
 const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">_rv</a> () const </td></tr>
@@ -219,4 +227,6 @@
 <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>
 
+<p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p>
+
 </div>
 </div><p>
@@ -239,7 +249,7 @@
 <p>
 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; } 
-<p>Reimplemented in <a class="el" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>
-
-<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::MixEF()</a>.</p>
+<p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p>
+
+<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p>
 
 </div>
@@ -248,5 +258,5 @@
 <li>work/git/mixpp/bdm/estim/<a class="el" href="libKF_8h-source.html">libKF.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_0x76.html
===================================================================
--- doc/html/functions_0x76.html (revision 171)
+++ doc/html/functions_0x76.html (revision 180)
@@ -74,5 +74,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmpdf__inherit__graph.md5
===================================================================
--- doc/html/classmpdf__inherit__graph.md5 (revision 171)
+++ doc/html/classmpdf__inherit__graph.md5 (revision 180)
@@ -1,1 +1,1 @@
-f0d5f49ba7e89fbf9f889addd47d7410
+f25b92c9bb95a486e06809385f33792e
Index: doc/html/classconstfn.html
===================================================================
--- doc/html/classconstfn.html (revision 171)
+++ doc/html/classconstfn.html (revision 180)
@@ -70,5 +70,5 @@
 <li>work/git/mixpp/bdm/stat/<a class="el" href="libFN_8h-source.html">libFN.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classBindingFrame-members.html
===================================================================
--- doc/html/classBindingFrame-members.html (revision 171)
+++ doc/html/classBindingFrame-members.html (revision 180)
@@ -32,5 +32,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/mixef_8h-source.html
===================================================================
--- doc/html/mixef_8h-source.html (revision 171)
+++ doc/html/mixef_8h-source.html (revision 180)
@@ -45,31 +45,34 @@
 <a name="l00062"></a>00062 
 <a name="l00063"></a>00063 <span class="keyword">public</span>:
-<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&lt;BMEF*&gt; &amp;Coms0, <span class="keyword">const</span> vec &amp;alpha0 ) :
+<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&lt;BMEF*&gt; &amp;Coms0, <span class="keyword">const</span> vec &amp;alpha0 ) :
 <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> ),
 <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 ) {
-<a name="l00068"></a>00068                 it_assert_debug ( <a class="code" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149" title="Number of components.">n</a>&gt;0,<span class="stringliteral">"MixEF::MixEF : Empty Component list"</span> );
+<a name="l00068"></a>00068         <span class="comment">//      it_assert_debug ( n&gt;0,"MixEF::MixEF : Empty Component list" );</span>
 <a name="l00069"></a>00069 
 <a name="l00070"></a>00070                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;<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 )-&gt;_copy_();}
 <a name="l00071"></a>00071                 <a class="code" href="classMixEF.html#5ae381b3a7dfbe2c1e5bb579a5d9b9d1" title="Auxiliary function for use in constructors.">build_est</a>();
 <a name="l00072"></a>00072         };
-<a name="l00077"></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 &amp;Data, <span class="keywordtype">int</span> c=5 );
-<a name="l00078"></a>00078         <span class="comment">//Destructor</span>
-<a name="l00079"></a>00079         ~<a class="code" href="classMixEF.html" title="Mixture of Exponential Family Densities.">MixEF</a>() {
-<a name="l00080"></a>00080                 <span class="keyword">delete</span> <a class="code" href="classMixEF.html#33968f1325137cc6f4431f0cf05096dc" title="Posterior on component parameters.">est</a>;
-<a name="l00081"></a>00081                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;<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 );}
-<a name="l00082"></a>00082         }
-<a name="l00084"></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 &amp;dt );
-<a name="l00086"></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 &amp;dt );
-<a name="l00087"></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 &amp;dt );
-<a name="l00088"></a>00088         <span class="keywordtype">double</span> <a class="code" href="classMixEF.html#424ca64f36d4e41de7a7e7ae921d35ea">logpred</a> ( <span class="keyword">const</span> vec &amp;dt ) <span class="keyword">const</span>;
-<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>&amp; <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>;}
-<a name="l00090"></a>00090 };
-<a name="l00091"></a>00091 
-<a name="l00092"></a>00092 
-<a name="l00093"></a>00093 <span class="preprocessor">#endif // MEF_H</span>
-<a name="l00094"></a>00094 <span class="preprocessor"></span>
+<a name="l00073"></a>00073         <a class="code" href="classMixEF.html" title="Mixture of Exponential Family Densities.">MixEF</a> () :
+<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 ),
+<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>();}
+<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 &amp;Data, <span class="keywordtype">int</span> c=5 );
+<a name="l00081"></a>00081         <span class="comment">//Destructor</span>
+<a name="l00082"></a>00082         ~<a class="code" href="classMixEF.html" title="Mixture of Exponential Family Densities.">MixEF</a>() {
+<a name="l00083"></a>00083                 <span class="keyword">delete</span> <a class="code" href="classMixEF.html#33968f1325137cc6f4431f0cf05096dc" title="Posterior on component parameters.">est</a>;
+<a name="l00084"></a>00084                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;<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 );}
+<a name="l00085"></a>00085         }
+<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 &amp;dt );
+<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 &amp;dt );
+<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 &amp;dt );
+<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 &amp;dt ) <span class="keyword">const</span>;
+<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>&amp; <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>;}
+<a name="l00093"></a>00093 };
+<a name="l00094"></a>00094 
 <a name="l00095"></a>00095 
+<a name="l00096"></a>00096 <span class="preprocessor">#endif // MEF_H</span>
+<a name="l00097"></a>00097 <span class="preprocessor"></span>
+<a name="l00098"></a>00098 
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:45 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_func_0x67.html
===================================================================
--- doc/html/functions_func_0x67.html (revision 171)
+++ doc/html/functions_func_0x67.html (revision 180)
@@ -73,11 +73,10 @@
 : <a class="el" href="classfsqmat.html#bcf837b2956745e8986044f5600dbd6e">fsqmat</a>
 <li>getdata()
-: <a class="el" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1">DS</a>
-, <a class="el" href="classMemDS.html#23522b9e7dd0bb0c365cc9cde4c05449">MemDS</a>
-<li>getR()
-: <a class="el" href="classenorm.html#9b9f58dc86affa23511c246887420658">enorm&lt; sq_T &gt;</a>
+: <a class="el" href="classDS.html#4027575bc66ea358f9b03dd3be28fe1e">DS</a>
+, <a class="el" href="classMemDS.html#900f1e1c9eb950f87e557c068628e60e">MemDS</a>
+, <a class="el" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1">DS</a>
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions.html
===================================================================
--- doc/html/functions.html (revision 171)
+++ doc/html/functions.html (revision 180)
@@ -72,5 +72,5 @@
 : <a class="el" href="classchmat.html#9c50d31c999d85d8e9d8cf2b69b6ac8c">chmat</a>
 <li>_copy_()
-: <a class="el" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc">ARX</a>
+: <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>
 , <a class="el" href="classBM.html#eb58c81d6a7b75b05fc6f276eed78887">BM</a>
 <li>_D()
@@ -137,5 +137,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmprod__inherit__graph.map
===================================================================
--- doc/html/classmprod__inherit__graph.map (revision 171)
+++ doc/html/classmprod__inherit__graph.map (revision 180)
@@ -1,2 +1,2 @@
-<area shape="rect" href="$classmerger.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">
+<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">
Index: doc/html/classmerger__inherit__graph.map
===================================================================
--- doc/html/classmerger__inherit__graph.map (revision 171)
+++ doc/html/classmerger__inherit__graph.map (revision 180)
@@ -1,2 +1,2 @@
-<area shape="rect" href="$classmprod.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">
+<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">
Index: doc/html/functions_0x61.html
===================================================================
--- doc/html/functions_0x61.html (revision 171)
+++ doc/html/functions_0x61.html (revision 180)
@@ -87,5 +87,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/libDC_8h__dep__incl.md5
===================================================================
--- doc/html/libDC_8h__dep__incl.md5 (revision 171)
+++ doc/html/libDC_8h__dep__incl.md5 (revision 180)
@@ -1,1 +1,1 @@
-e3e57c244cf1e79bc6dd266c065ae9dd
+e97eee49b4110cbb069e19e91a31781b
Index: doc/html/classAttribute.html
===================================================================
--- doc/html/classAttribute.html (revision 171)
+++ doc/html/classAttribute.html (revision 180)
@@ -71,5 +71,5 @@
 <li>work/git/mixpp/bdm/<a class="el" href="userinfo_8h-source.html">userinfo.h</a><li>work/git/mixpp/bdm/userinfo.cpp</ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_0x6d.html
===================================================================
--- doc/html/functions_0x6d.html (revision 171)
+++ doc/html/functions_0x6d.html (revision 180)
@@ -69,13 +69,14 @@
 : <a class="el" href="classmemlog.html#4195f322897ededdac66c404b848ced3">memlog</a>
 <li>mean()
-: <a class="el" href="classeprod.html#5752dd999e1f4638f9558b0cc35b64f7">eprod</a>
+: <a class="el" href="classemix.html#b662a51d042b062020460e64bff4e9e8">emix</a>
+, <a class="el" href="classegiw.html#6deb0ff2859f41ef7cbdf6a842cabb29">egiw</a>
 , <a class="el" href="classeDirich.html#4206e1da149d51ff3b663c9241096b73">eDirich</a>
+, <a class="el" href="classeprod.html#5752dd999e1f4638f9558b0cc35b64f7">eprod</a>
 , <a class="el" href="classegamma.html#6ab5ba56f7cdb2e5921c3e77524fa50a">egamma</a>
+, <a class="el" href="classeuni.html#8050087e421a9cfd1b4b1f8bd33b1cc1">euni</a>
+, <a class="el" href="classmerger.html#3a46999cd77047d5d4ac6c1cb735a83e">merger</a>
 , <a class="el" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870">epdf</a>
-, <a class="el" href="classeuni.html#8050087e421a9cfd1b4b1f8bd33b1cc1">euni</a>
 , <a class="el" href="classeEmp.html#ba055c19038cc72628d98e25197e982d">eEmp</a>
-, <a class="el" href="classemix.html#b662a51d042b062020460e64bff4e9e8">emix</a>
 , <a class="el" href="classenorm.html#50fa84da7bae02f7af17a98f37566899">enorm&lt; sq_T &gt;</a>
-, <a class="el" href="classegiw.html#6deb0ff2859f41ef7cbdf6a842cabb29">egiw</a>
 <li>mEF()
 : <a class="el" href="classmEF.html#8bf51fe8654d7b83c8c8afeb19409d4f">mEF</a>
@@ -86,12 +87,16 @@
 <li>mepdf()
 : <a class="el" href="classmepdf.html#7ab1c50f0aa16230117436dee500f2e0">mepdf</a>
+<li>merge()
+: <a class="el" href="classmerger.html#e56ad4a2bc9be2ddfc051626adf27715">merger</a>
 <li>merger()
-: <a class="el" href="classmerger.html#1a6a721294321c2e412ca0084c636b69">merger</a>
+: <a class="el" href="classmerger.html#3f9a955329eab65026e8322e9027d469">merger</a>
 <li>mgamma()
 : <a class="el" href="classmgamma.html#af43e61b86900c0398d5c0ffc83b94e6">mgamma</a>
 <li>mgamma_fix()
 : <a class="el" href="classmgamma__fix.html#b92c3d2e5fd0381033a072e5ef3bcf80">mgamma_fix</a>
+<li>Mix
+: <a class="el" href="classmerger.html#021d1522cea70db8545d708afd32ec2f">merger</a>
 <li>MixEF()
-: <a class="el" href="classMixEF.html#7713c2f01e97df268049821749405bc2">MixEF</a>
+: <a class="el" href="classMixEF.html#509ac467674c39af46aba42297528aad">MixEF</a>
 <li>mlnorm()
 : <a class="el" href="classmlnorm.html#f927203b3f31171c5c10ffc7caa797f5">mlnorm&lt; sq_T &gt;</a>
@@ -100,8 +105,10 @@
 <li>mpdf()
 : <a class="el" href="classmpdf.html#581ecf362185d37c08bb31cb9d046d6f">mpdf</a>
+<li>mpdfs
+: <a class="el" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d">compositepdf</a>
 <li>MPF()
 : <a class="el" href="classMPF.html#fc5e11e11eec3195e3c6503937bf02bd">MPF&lt; BM_T &gt;</a>
 <li>mprod()
-: <a class="el" href="classmprod.html#37f028561c45ce5fd3a1351a911e31dc">mprod</a>
+: <a class="el" href="classmprod.html#419b303581a91ad85200bdcb4b3186f4">mprod</a>
 <li>mu
 : <a class="el" href="classenorm.html#71fde0d54bba147e00f612577f95ad20">enorm&lt; sq_T &gt;</a>
@@ -110,18 +117,18 @@
 : <a class="el" href="classfsqmat.html#5530d2756b5d991de755e6121c9a452e">fsqmat</a>
 , <a class="el" href="classchmat.html#66f509f92b0ccf020e2a2a32566e0777">chmat</a>
+, <a class="el" href="classsqmat.html#60fbbfa9e483b8187c135f787ee53afa">sqmat</a>
 , <a class="el" href="classldmat.html#e967b9425007f0cb6cd59b845f9756d8">ldmat</a>
 , <a class="el" href="classfsqmat.html#d4eddc3743c8865cc5ed92d14de0e3e3">fsqmat</a>
-, <a class="el" href="classsqmat.html#60fbbfa9e483b8187c135f787ee53afa">sqmat</a>
 <li>mult_sym_t()
-: <a class="el" href="classldmat.html#f94dc3a233f3d40fc853d8d4ac3b8eab">ldmat</a>
+: <a class="el" href="classfsqmat.html#92052a8adc2054b63e42d1373d145c89">fsqmat</a>
+, <a class="el" href="classchmat.html#07f50d1332b901eee962e8b1913102f7">chmat</a>
 , <a class="el" href="classsqmat.html#6909e906da17725b1b80f3cae7cf3325">sqmat</a>
+, <a class="el" href="classldmat.html#f94dc3a233f3d40fc853d8d4ac3b8eab">ldmat</a>
 , <a class="el" href="classfsqmat.html#ae4949ad2a32553c7fa04d6d1483770a">fsqmat</a>
-, <a class="el" href="classchmat.html#07f50d1332b901eee962e8b1913102f7">chmat</a>
-, <a class="el" href="classldmat.html#4fd155f38eb6dd5af4bdf9c98a7999a9">ldmat</a>
 <li>multiBM()
-: <a class="el" href="classmultiBM.html#7d7d7e78c129602bcde96078359dc6e5">multiBM</a>
+: <a class="el" href="classmultiBM.html#b92751adbfb9f259ca8c95232cfd9c09">multiBM</a>
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classKFcondQR-members.html
===================================================================
--- doc/html/classKFcondQR-members.html (revision 171)
+++ doc/html/classKFcondQR-members.html (revision 180)
@@ -58,4 +58,6 @@
   <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>
   <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &amp;rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classKalman.html#9b69015c800eb93f3ee49da23a6f55d9">Q</a></td><td><a class="el" href="classKalman.html">Kalman&lt; ldmat &gt;</a></td><td><code> [protected]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classKalman.html#11d171dc0e0ab111c56a70f98b97b3ec">R</a></td><td><a class="el" href="classKalman.html">Kalman&lt; ldmat &gt;</a></td><td><code> [protected]</code></td></tr>
@@ -70,5 +72,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_0x70.html
===================================================================
--- doc/html/functions_0x70.html (revision 171)
+++ doc/html/functions_0x70.html (revision 180)
@@ -77,7 +77,9 @@
 <li>preA
 : <a class="el" href="classKalmanCh.html#94ee9da75b0e0f632e4a354988ca3798">KalmanCh</a>
+<li>predictor()
+: <a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">BM</a>
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classemix.html
===================================================================
--- doc/html/classemix.html (revision 171)
+++ doc/html/classemix.html (revision 180)
@@ -80,6 +80,6 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6af383b6f1c6ea6fc5f6724dd03d8877"></a><!-- doxytag: member="emix::evalpdflog" ref="6af383b6f1c6ea6fc5f6724dd03d8877" args="(const mat &amp;Val) const " -->
-virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#6af383b6f1c6ea6fc5f6724dd03d8877">evalpdflog</a> (const mat &amp;Val) const </td></tr>
+<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 &amp;Val) const " -->
+virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &amp;Val) const </td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr>
@@ -115,5 +115,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:51 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmprod__inherit__graph.md5
===================================================================
--- doc/html/classmprod__inherit__graph.md5 (revision 171)
+++ doc/html/classmprod__inherit__graph.md5 (revision 180)
@@ -1,1 +1,1 @@
-bdb0436c9ff9557a93d446c32faaf0ad
+3000fe261d5567c6043db8aa144b24b4
Index: doc/html/classmerger__inherit__graph.md5
===================================================================
--- doc/html/classmerger__inherit__graph.md5 (revision 171)
+++ doc/html/classmerger__inherit__graph.md5 (revision 180)
@@ -1,1 +1,1 @@
-4441cebab606141b525225185f134db2
+d9e46fdf32b57ef7968d46600abc4263
Index: doc/html/pwm_8h-source.html
===================================================================
--- doc/html/pwm_8h-source.html (revision 171)
+++ doc/html/pwm_8h-source.html (revision 180)
@@ -36,5 +36,5 @@
 <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);
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmmix.html
===================================================================
--- doc/html/classmmix.html (revision 171)
+++ doc/html/classmmix.html (revision 180)
@@ -145,5 +145,5 @@
 <p>Reimplemented in <a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">mprod</a>.</p>
 
-<p>References <a class="el" href="libBM_8h-source.html#l00207">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>
+<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>
 
 <p>Referenced by <a class="el" href="libPF_8h-source.html#l00137">MPF&lt; BM_T &gt;::bayes()</a>, and <a class="el" href="libPF_8cpp-source.html#l00007">PF::bayes()</a>.</p>
@@ -195,5 +195,5 @@
 <p>Reimplemented in <a class="el" href="classmprod.html#e171c40e210539c2af01d6237785620b">mprod</a>.</p>
 
-<p>References <a class="el" href="libBM_8h-source.html#l00207">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>
+<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>
 
 </div>
@@ -202,5 +202,5 @@
 <li>work/git/mixpp/bdm/stat/<a class="el" href="emix_8h-source.html">emix.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:54 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_func_0x61.html
===================================================================
--- doc/html/functions_func_0x61.html (revision 171)
+++ doc/html/functions_func_0x61.html (revision 180)
@@ -81,5 +81,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classegamma-members.html
===================================================================
--- doc/html/classegamma-members.html (revision 171)
+++ doc/html/classegamma-members.html (revision 180)
@@ -38,4 +38,5 @@
   <tr class="memlist"><td><a class="el" href="classegamma.html#de84faac8f9799dfe2777ddbedf997ef">evalpdflog</a>(const vec &amp;val) const </td><td><a class="el" href="classegamma.html">egamma</a></td><td><code> [virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">eEF::evalpdflog</a>(const mat &amp;Val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &amp;Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classeEF.html#48cdd33d0e20d1a1aa45683c956bc61c">evalpdflog_nn</a>(const vec &amp;val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr>
   <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,5 +49,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:50 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classsqmat.html
===================================================================
--- doc/html/classsqmat.html (revision 171)
+++ doc/html/classsqmat.html (revision 180)
@@ -220,5 +220,5 @@
 <li>work/git/mixpp/bdm/math/<a class="el" href="libDC_8h-source.html">libDC.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:56 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/merger_8h.html
===================================================================
--- doc/html/merger_8h.html (revision 171)
+++ doc/html/merger_8h.html (revision 180)
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
-<title>mixpp: work/git/mixpp/bdm/stat/merger.h File Reference</title>
+<title>mixpp: work/git/mixpp/bdm/estim/merger.h File Reference</title>
 <link href="doxygen.css" rel="stylesheet" type="text/css">
 <link href="tabs.css" rel="stylesheet" type="text/css">
@@ -17,10 +17,8 @@
 </div>
 <div class="contents">
-<h1>work/git/mixpp/bdm/stat/merger.h File Reference</h1>Mergers for combination of pdfs. <a href="#_details">More...</a>
+<h1>work/git/mixpp/bdm/estim/merger.h File Reference</h1>Mergers for combination of pdfs. <a href="#_details">More...</a>
 <p>
 <code>#include &lt;itpp/itbase.h&gt;</code><br>
-<code>#include &quot;<a class="el" href="libBM_8h-source.html">libBM.h</a>&quot;</code><br>
-<code>#include &quot;<a class="el" href="libEF_8h-source.html">libEF.h</a>&quot;</code><br>
-<code>#include &quot;<a class="el" href="emix_8h-source.html">emix.h</a>&quot;</code><br>
+<code>#include &quot;<a class="el" href="mixef_8h-source.html">mixef.h</a>&quot;</code><br>
 
 <p>
@@ -28,7 +26,7 @@
 Include dependency graph for merger.h:</div>
 <div class="dynsection">
-<p><center><img src="merger_8h__incl.png" border="0" usemap="#work/git/mixpp/bdm/stat/merger.h_map" alt=""></center>
-<map name="work/git/mixpp/bdm/stat/merger.h_map">
-<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&#39;, LU, UDU&#39;, 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>
+<p><center><img src="merger_8h__incl.png" border="0" usemap="#work/git/mixpp/bdm/estim/merger.h_map" alt=""></center>
+<map name="work/git/mixpp/bdm/estim/merger.h_map">
+<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&#39;, LU, UDU&#39;, 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>
 </div>
 
@@ -47,5 +45,5 @@
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
 Using IT++ for numerical operations ----------------------------------- </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classPF-members.html
===================================================================
--- doc/html/classPF-members.html (revision 171)
+++ doc/html/classPF-members.html (revision 180)
@@ -39,8 +39,10 @@
   <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>
   <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr>
   <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>
   <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>
   <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>
   <tr class="memlist"><td><a class="el" href="classPF.html#e99f0d866721405dd281e315ecb690aa">PF</a>(const RV &amp;rv0, mpdf &amp;par0, mpdf &amp;obs0, int n0)</td><td><a class="el" href="classPF.html">PF</a></td><td><code> [inline]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &amp;rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
   <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>
   <tr class="memlist"><td><a class="el" href="classPF.html#04d38fbcc0348b558212f530d9ec183e">set_est</a>(const epdf &amp;epdf0)</td><td><a class="el" href="classPF.html">PF</a></td><td></td></tr>
@@ -48,5 +50,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:55 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/regulace_8h-source.html
===================================================================
--- doc/html/regulace_8h-source.html (revision 171)
+++ doc/html/regulace_8h-source.html (revision 180)
@@ -31,5 +31,5 @@
 <a name="l00015"></a>00015 
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_func_0x6d.html
===================================================================
--- doc/html/functions_func_0x6d.html (revision 171)
+++ doc/html/functions_func_0x6d.html (revision 180)
@@ -63,13 +63,14 @@
 <h3><a class="anchor" name="index_m">- m -</a></h3><ul>
 <li>mean()
-: <a class="el" href="classemix.html#b662a51d042b062020460e64bff4e9e8">emix</a>
+: <a class="el" href="classmerger.html#3a46999cd77047d5d4ac6c1cb735a83e">merger</a>
+, <a class="el" href="classemix.html#b662a51d042b062020460e64bff4e9e8">emix</a>
+, <a class="el" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870">epdf</a>
+, <a class="el" href="classegamma.html#6ab5ba56f7cdb2e5921c3e77524fa50a">egamma</a>
+, <a class="el" href="classeuni.html#8050087e421a9cfd1b4b1f8bd33b1cc1">euni</a>
+, <a class="el" href="classenorm.html#50fa84da7bae02f7af17a98f37566899">enorm&lt; sq_T &gt;</a>
+, <a class="el" href="classeEmp.html#ba055c19038cc72628d98e25197e982d">eEmp</a>
 , <a class="el" href="classeprod.html#5752dd999e1f4638f9558b0cc35b64f7">eprod</a>
-, <a class="el" href="classenorm.html#50fa84da7bae02f7af17a98f37566899">enorm&lt; sq_T &gt;</a>
-, <a class="el" href="classeuni.html#8050087e421a9cfd1b4b1f8bd33b1cc1">euni</a>
-, <a class="el" href="classeEmp.html#ba055c19038cc72628d98e25197e982d">eEmp</a>
 , <a class="el" href="classegiw.html#6deb0ff2859f41ef7cbdf6a842cabb29">egiw</a>
-, <a class="el" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870">epdf</a>
 , <a class="el" href="classeDirich.html#4206e1da149d51ff3b663c9241096b73">eDirich</a>
-, <a class="el" href="classegamma.html#6ab5ba56f7cdb2e5921c3e77524fa50a">egamma</a>
 <li>mEF()
 : <a class="el" href="classmEF.html#8bf51fe8654d7b83c8c8afeb19409d4f">mEF</a>
@@ -80,6 +81,8 @@
 <li>mepdf()
 : <a class="el" href="classmepdf.html#7ab1c50f0aa16230117436dee500f2e0">mepdf</a>
+<li>merge()
+: <a class="el" href="classmerger.html#bc23accc77ec766bce7202934e2c180c">merger</a>
 <li>merger()
-: <a class="el" href="classmerger.html#1a6a721294321c2e412ca0084c636b69">merger</a>
+: <a class="el" href="classmerger.html#3f9a955329eab65026e8322e9027d469">merger</a>
 <li>mgamma()
 : <a class="el" href="classmgamma.html#af43e61b86900c0398d5c0ffc83b94e6">mgamma</a>
@@ -87,5 +90,5 @@
 : <a class="el" href="classmgamma__fix.html#b92c3d2e5fd0381033a072e5ef3bcf80">mgamma_fix</a>
 <li>MixEF()
-: <a class="el" href="classMixEF.html#7713c2f01e97df268049821749405bc2">MixEF</a>
+: <a class="el" href="classMixEF.html#509ac467674c39af46aba42297528aad">MixEF</a>
 <li>mlnorm()
 : <a class="el" href="classmlnorm.html#f927203b3f31171c5c10ffc7caa797f5">mlnorm&lt; sq_T &gt;</a>
@@ -97,22 +100,24 @@
 : <a class="el" href="classMPF.html#fc5e11e11eec3195e3c6503937bf02bd">MPF&lt; BM_T &gt;</a>
 <li>mprod()
-: <a class="el" href="classmprod.html#37f028561c45ce5fd3a1351a911e31dc">mprod</a>
+: <a class="el" href="classmprod.html#419b303581a91ad85200bdcb4b3186f4">mprod</a>
 <li>mult_sym()
-: <a class="el" href="classldmat.html#e7207748909325bb0f99b43f090a2b7e">ldmat</a>
+: <a class="el" href="classldmat.html#e967b9425007f0cb6cd59b845f9756d8">ldmat</a>
 , <a class="el" href="classfsqmat.html#5530d2756b5d991de755e6121c9a452e">fsqmat</a>
 , <a class="el" href="classchmat.html#66f509f92b0ccf020e2a2a32566e0777">chmat</a>
+, <a class="el" href="classfsqmat.html#d4eddc3743c8865cc5ed92d14de0e3e3">fsqmat</a>
+, <a class="el" href="classldmat.html#e7207748909325bb0f99b43f090a2b7e">ldmat</a>
 , <a class="el" href="classsqmat.html#60fbbfa9e483b8187c135f787ee53afa">sqmat</a>
 <li>mult_sym_t()
-: <a class="el" href="classldmat.html#f94dc3a233f3d40fc853d8d4ac3b8eab">ldmat</a>
-, <a class="el" href="classsqmat.html#6909e906da17725b1b80f3cae7cf3325">sqmat</a>
+: <a class="el" href="classldmat.html#4fd155f38eb6dd5af4bdf9c98a7999a9">ldmat</a>
 , <a class="el" href="classchmat.html#07f50d1332b901eee962e8b1913102f7">chmat</a>
 , <a class="el" href="classfsqmat.html#92052a8adc2054b63e42d1373d145c89">fsqmat</a>
-, <a class="el" href="classldmat.html#4fd155f38eb6dd5af4bdf9c98a7999a9">ldmat</a>
+, <a class="el" href="classsqmat.html#6909e906da17725b1b80f3cae7cf3325">sqmat</a>
 , <a class="el" href="classfsqmat.html#ae4949ad2a32553c7fa04d6d1483770a">fsqmat</a>
+, <a class="el" href="classldmat.html#f94dc3a233f3d40fc853d8d4ac3b8eab">ldmat</a>
 <li>multiBM()
-: <a class="el" href="classmultiBM.html#7d7d7e78c129602bcde96078359dc6e5">multiBM</a>
+: <a class="el" href="classmultiBM.html#b92751adbfb9f259ca8c95232cfd9c09">multiBM</a>
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classeprod.html
===================================================================
--- doc/html/classeprod.html (revision 171)
+++ doc/html/classeprod.html (revision 180)
@@ -75,6 +75,6 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6af383b6f1c6ea6fc5f6724dd03d8877"></a><!-- doxytag: member="eprod::evalpdflog" ref="6af383b6f1c6ea6fc5f6724dd03d8877" args="(const mat &amp;Val) const " -->
-virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#6af383b6f1c6ea6fc5f6724dd03d8877">evalpdflog</a> (const mat &amp;Val) const </td></tr>
+<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 &amp;Val) const " -->
+virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &amp;Val) const </td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr>
@@ -105,5 +105,5 @@
 <li>work/git/mixpp/bdm/stat/<a class="el" href="emix_8h-source.html">emix.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_func_0x70.html
===================================================================
--- doc/html/functions_func_0x70.html (revision 171)
+++ doc/html/functions_func_0x70.html (revision 180)
@@ -65,9 +65,11 @@
 : <a class="el" href="classPF.html#e99f0d866721405dd281e315ecb690aa">PF</a>
 <li>pow()
-: <a class="el" href="classegiw.html#036306322a90a9977834baac07460816">egiw</a>
-, <a class="el" href="classeEF.html#4f8385dd1cc9740522dc373b1dc3cbf5">eEF</a>
+: <a class="el" href="classeEF.html#4f8385dd1cc9740522dc373b1dc3cbf5">eEF</a>
+, <a class="el" href="classegiw.html#036306322a90a9977834baac07460816">egiw</a>
+<li>predictor()
+: <a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">BM</a>
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classlogger.html
===================================================================
--- doc/html/classlogger.html (revision 171)
+++ doc/html/classlogger.html (revision 180)
@@ -81,5 +81,5 @@
 <li>work/git/mixpp/bdm/stat/<a class="el" href="loggers_8h-source.html">loggers.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classldmat-members.html
===================================================================
--- doc/html/classldmat-members.html (revision 171)
+++ doc/html/classldmat-members.html (revision 180)
@@ -62,5 +62,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classBMcond-members.html
===================================================================
--- doc/html/classBMcond-members.html (revision 171)
+++ doc/html/classBMcond-members.html (revision 180)
@@ -31,5 +31,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classDS-members.html
===================================================================
--- doc/html/classDS-members.html (revision 171)
+++ doc/html/classDS-members.html (revision 180)
@@ -34,5 +34,5 @@
   <tr class="memlist"><td><a class="el" href="classDS.html#f4ae51a3bc1267a6a52fc229973afe85">write</a>(vec &amp;ut, ivec &amp;indeces)</td><td><a class="el" href="classDS.html">DS</a></td><td></td></tr>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classKalmanCh-members.html
===================================================================
--- doc/html/classKalmanCh-members.html (revision 171)
+++ doc/html/classKalmanCh-members.html (revision 180)
@@ -55,6 +55,8 @@
   <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>
   <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr>
   <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>
   <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>
+  <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &amp;rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classKalman.html#9b69015c800eb93f3ee49da23a6f55d9">Q</a></td><td><a class="el" href="classKalman.html">Kalman&lt; chmat &gt;</a></td><td><code> [protected]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classKalman.html#11d171dc0e0ab111c56a70f98b97b3ec">R</a></td><td><a class="el" href="classKalman.html">Kalman&lt; chmat &gt;</a></td><td><code> [protected]</code></td></tr>
@@ -67,5 +69,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classfnc.html
===================================================================
--- doc/html/classfnc.html (revision 171)
+++ doc/html/classfnc.html (revision 180)
@@ -67,5 +67,5 @@
 <li>work/git/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_0x68.html
===================================================================
--- doc/html/functions_0x68.html (revision 171)
+++ doc/html/functions_0x68.html (revision 180)
@@ -70,5 +70,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classEKFfixed-members.html
===================================================================
--- doc/html/classEKFfixed-members.html (revision 171)
+++ doc/html/classEKFfixed-members.html (revision 180)
@@ -51,7 +51,9 @@
   <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>
   <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr>
   <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>
   <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>
   <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>
+  <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &amp;rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
   <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>
   <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,5 +73,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:51 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classEKFful__unQR.html
===================================================================
--- doc/html/classEKFful__unQR.html (revision 171)
+++ doc/html/classEKFful__unQR.html (revision 180)
@@ -78,4 +78,12 @@
 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a> (const vec &amp;dt) const </td></tr>
 
+<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 &amp;dt) const " -->
+vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &amp;dt) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr>
+<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 &amp;rv)" -->
+virtual <a class="el" href="classepdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="EKFful_unQR::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " -->
 const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">_rv</a> () const </td></tr>
@@ -195,4 +203,6 @@
 <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>
 
+<p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p>
+
 </div>
 </div><p>
@@ -215,7 +225,7 @@
 <p>
 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; } 
-<p>Reimplemented in <a class="el" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>
-
-<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::MixEF()</a>.</p>
+<p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p>
+
+<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p>
 
 </div>
@@ -224,5 +234,5 @@
 <li>work/git/mixpp/bdm/estim/<a class="el" href="ekf__templ_8h-source.html">ekf_templ.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:51 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_rela.html
===================================================================
--- doc/html/functions_rela.html (revision 171)
+++ doc/html/functions_rela.html (revision 180)
@@ -42,5 +42,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/annotated.html
===================================================================
--- doc/html/annotated.html (revision 171)
+++ doc/html/annotated.html (revision 180)
@@ -34,4 +34,5 @@
   <tr><td class="indexkey"><a class="el" href="classBMEF.html">BMEF</a></td><td class="indexvalue">Estimator for Exponential family </td></tr>
   <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>
+  <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>
   <tr><td class="indexkey"><a class="el" href="classCompoundUserInfo.html">CompoundUserInfo&lt; T &gt;</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>
   <tr><td class="indexkey"><a class="el" href="classCompoundUserInfo_1_1BindedElement.html">CompoundUserInfo&lt; T &gt;::BindedElement&lt; U &gt;</a></td><td class="indexvalue">Templated class binding inner element with its XML tag and automating data transfers in both directions </td></tr>
@@ -94,5 +95,5 @@
 </table>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/merger_8h-source.html
===================================================================
--- doc/html/merger_8h-source.html (revision 171)
+++ doc/html/merger_8h-source.html (revision 180)
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
-<title>mixpp: work/git/mixpp/bdm/stat/merger.h Source File</title>
+<title>mixpp: work/git/mixpp/bdm/estim/merger.h Source File</title>
 <link href="doxygen.css" rel="stylesheet" type="text/css">
 <link href="tabs.css" rel="stylesheet" type="text/css">
@@ -15,91 +15,46 @@
     </ul>
   </div>
-<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>00001 
+<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 
 <a name="l00013"></a>00013 <span class="preprocessor">#ifndef MER_H</span>
 <a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define MER_H</span>
 <a name="l00015"></a>00015 <span class="preprocessor"></span>
 <a name="l00016"></a>00016 <span class="preprocessor">#include &lt;itpp/itbase.h&gt;</span>
-<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>
-<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>
-<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>
-<a name="l00020"></a>00020 
-<a name="l00021"></a>00021 <span class="keyword">using namespace </span>itpp;
-<a name="l00022"></a>00022 <span class="keyword">using</span> std::string;
-<a name="l00023"></a>00023 
-<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>{
-<a name="l00031"></a>00031 <span class="keyword">protected</span>:      
-<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&lt;fsqmat&gt;</a> <a class="code" href="classmerger.html#1712341746811f2844de5499817abb46" title="Additional pdf on the part in condition (if undefined);.">condpdf</a>;
-<a name="l00035"></a><a class="code" href="classmerger.html#11eb177ef6409926b2ba3b4630bceab1">00035</a>         Array&lt;ivec&gt; <a class="code" href="classmerger.html#11eb177ef6409926b2ba3b4630bceab1" title="Find potential overlaps in rv.">overlaps</a>;
-<a name="l00036"></a>00036 <span class="keyword">public</span>:
-<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&lt;mpdf*&gt; &amp;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()) {
-<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>()&gt;0) {
-<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>());
-<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>());
-<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);
-<a name="l00043"></a>00043                 }
-<a name="l00044"></a>00044                 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i=0;i&lt;<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>
-<a name="l00045"></a>00045                         ivec tmp(0);
-<a name="l00046"></a>00046                         <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j=0;j&lt;n;j++){<span class="comment">//cycle over rvinds</span>
-<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);
-<a name="l00048"></a>00048                                 tmp=concat(tmp,<span class="keywordtype">id</span>); <span class="comment">// add i to tmp if found</span>
-<a name="l00049"></a>00049                         }
-<a name="l00050"></a>00050                         <a class="code" href="classmerger.html#11eb177ef6409926b2ba3b4630bceab1" title="Find potential overlaps in rv.">overlaps</a>(i)=tmp;
-<a name="l00051"></a>00051                 }
-<a name="l00052"></a>00052         }
-<a name="l00055"></a>00055 <span class="comment">/*      vec sample(double &amp;w, const vec &amp;smp0){</span>
-<a name="l00056"></a>00056 <span class="comment">                // result</span>
-<a name="l00057"></a>00057 <span class="comment">                vec smp=smp0;</span>
-<a name="l00058"></a>00058 <span class="comment">                vec cond=condpdf.sample(); // Just like in samplecond, here it is not given!</span>
-<a name="l00059"></a>00059 <span class="comment">                // temporary</span>
-<a name="l00060"></a>00060 <span class="comment">                mat smpi=zeros(rv.count()+rvc.count(), n);</span>
-<a name="l00061"></a>00061 <span class="comment">                vec condi;</span>
-<a name="l00062"></a>00062 <span class="comment">                vec ll(n);</span>
-<a name="l00063"></a>00063 <span class="comment">                </span>
-<a name="l00064"></a>00064 <span class="comment">                // Consider arithmetic mean as a proposal density</span>
-<a name="l00065"></a>00065 <span class="comment">                ll = 0;</span>
-<a name="l00066"></a>00066 <span class="comment">                for ( int i = ( n - 1 );i &gt;= 0;i-- ) {</span>
-<a name="l00067"></a>00067 <span class="comment">                        if ( rvcinds ( i ).length() &gt; 0 ) {</span>
-<a name="l00068"></a>00068 <span class="comment">                                condi = zeros ( rvcinrv.length() + rvcinds.length() );</span>
-<a name="l00069"></a>00069 <span class="comment">                                // copy data in condition</span>
-<a name="l00070"></a>00070 <span class="comment">                                set_subvector ( condi,rvcinds ( i ), cond );</span>
-<a name="l00071"></a>00071 <span class="comment">                                // copy data in already generated sample</span>
-<a name="l00072"></a>00072 <span class="comment">                                set_subvector ( condi,rvcinrv ( i ), smp );</span>
-<a name="l00073"></a>00073 <span class="comment"></span>
-<a name="l00074"></a>00074 <span class="comment">                                mpdfs ( i )-&gt;condition ( condi );</span>
-<a name="l00075"></a>00075 <span class="comment">                        }</span>
-<a name="l00076"></a>00076 <span class="comment">                        smpi.set_col(i, epdfs ( i )-&gt;sample());</span>
-<a name="l00077"></a>00077 <span class="comment">                        // add ith likelihood contribution</span>
-<a name="l00078"></a>00078 <span class="comment">                        ll+=epdfs(i)-&gt;evalpdflog(smpi);</span>
-<a name="l00079"></a>00079 <span class="comment">                }</span>
-<a name="l00080"></a>00080 <span class="comment">                // Now lets analyze samples smpi</span>
-<a name="l00081"></a>00081 <span class="comment">                for (int i=0;i&lt;rv.count();i++){</span>
-<a name="l00082"></a>00082 <span class="comment">                        // number of components</span>
-<a name="l00083"></a>00083 <span class="comment">                        int noc = overlaps(i).length();</span>
-<a name="l00084"></a>00084 <span class="comment">                        if (noc&lt;2) { // only one sample in this dimension, take it</span>
-<a name="l00085"></a>00085 <span class="comment">                                smp(i) = smpi(i,overlaps(i)(0));</span>
-<a name="l00086"></a>00086 <span class="comment">                        }</span>
-<a name="l00087"></a>00087 <span class="comment">                        else {</span>
-<a name="l00088"></a>00088 <span class="comment">                                //pick dimension</span>
-<a name="l00089"></a>00089 <span class="comment">                                double unis = UniRNG.sample();</span>
-<a name="l00090"></a>00090 <span class="comment">                                dim = 0;</span>
-<a name="l00091"></a>00091 <span class="comment">                                while(unis&lt;(dim+1)/noc) {dim++;} // </span>
-<a name="l00092"></a>00092 <span class="comment">                                //in dim we now have randomly picked dimension</span>
-<a name="l00093"></a>00093 <span class="comment">                                smp(i) = smpi(i,overlaps(i)(dim));</span>
-<a name="l00094"></a>00094 <span class="comment">                        }</span>
-<a name="l00095"></a>00095 <span class="comment">                }</span>
-<a name="l00096"></a>00096 <span class="comment">                </span>
-<a name="l00097"></a>00097 <span class="comment">                // now we have sample how to evaluate weight?</span>
-<a name="l00098"></a>00098 <span class="comment">                return smp;</span>
-<a name="l00099"></a>00099 <span class="comment">                </span>
-<a name="l00100"></a>00100 <span class="comment">                // copied from mprod.sample</span>
-<a name="l00101"></a>00101 <span class="comment">        };*/</span>
-<a name="l00102"></a>00102 <span class="comment">//      project </span>
-<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>() {};
-<a name="l00105"></a>00105 };
-<a name="l00106"></a>00106 
-<a name="l00107"></a>00107 
-<a name="l00108"></a>00108 <span class="preprocessor">#endif // MER_H</span>
+<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>
+<a name="l00018"></a>00018 
+<a name="l00019"></a>00019 <span class="keyword">using namespace </span>itpp;
+<a name="l00020"></a>00020 <span class="keyword">using</span> std::string;
+<a name="l00021"></a>00021 
+<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> {
+<a name="l00029"></a>00029 <span class="keyword">protected</span>:
+<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>;
+<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>;
+<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>;
+<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>;
+<a name="l00038"></a>00038 <span class="keyword">public</span>:
+<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&lt;mpdf*&gt; &amp;S ) :
+<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 ) ),
+<a name="l00042"></a>00042                         <a class="code" href="classmerger.html#021d1522cea70db8545d708afd32ec2f" title="Internal mixture of EF models.">Mix</a> ( Array&lt;<a class="code" href="classBMEF.html" title="Estimator for Exponential family.">BMEF</a>*&gt; ( 0 ),vec ( 0 ) )
+<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;}
+<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;}
+<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>() {
+<a name="l00048"></a>00048                 Array&lt;vec&gt; Smps ( <a class="code" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f" title="Number of mpdfs in the composite.">n</a> );
+<a name="l00049"></a>00049                 <span class="comment">//Gibbs sampling</span>
+<a name="l00050"></a>00050                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;<a class="code" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f" title="Number of mpdfs in the composite.">n</a>;i++ ) {Smps ( i ) =zeros ( 0 );}
+<a name="l00051"></a>00051         }
+<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 );
+<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> ( &amp; ( <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 name="l00056"></a>00056 
+<a name="l00058"></a>00058         vec <a class="code" href="classmerger.html#217c65f335c603033fa09a2ecc64bc05" title="Merge log-likelihood values.">lognorm_merge</a> ( mat &amp;lW );
+<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>();}
+<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 &amp;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 );}
+<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>();}
+<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>() {};
+<a name="l00066"></a>00066 };
+<a name="l00067"></a>00067 
+<a name="l00068"></a>00068 
+<a name="l00069"></a>00069 
+<a name="l00070"></a>00070 <span class="preprocessor">#endif // MER_H</span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:45 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/demo__example_2nastaveni__regulatoru__float_8h-source.html
===================================================================
--- doc/html/demo__example_2nastaveni__regulatoru__float_8h-source.html (revision 171)
+++ doc/html/demo__example_2nastaveni__regulatoru__float_8h-source.html (revision 180)
@@ -47,5 +47,5 @@
 <a name="l00031"></a>00031 <span class="preprocessor"></span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmEF-members.html
===================================================================
--- doc/html/classmEF-members.html (revision 171)
+++ doc/html/classmEF-members.html (revision 180)
@@ -39,5 +39,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/libPF_8h-source.html
===================================================================
--- doc/html/libPF_8h-source.html (revision 171)
+++ doc/html/libPF_8h-source.html (revision 180)
@@ -190,5 +190,5 @@
 <a name="l00209"></a>00209 
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:45 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_0x77.html
===================================================================
--- doc/html/functions_0x77.html (revision 171)
+++ doc/html/functions_0x77.html (revision 180)
@@ -77,5 +77,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classEKFful__unQR-members.html
===================================================================
--- doc/html/classEKFful__unQR-members.html (revision 171)
+++ doc/html/classEKFful__unQR-members.html (revision 180)
@@ -56,7 +56,9 @@
   <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>
   <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr>
   <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>
   <tr class="memlist"><td><a class="el" href="classKalmanFull.html#86ba216243ed95bb46d80d88775d16af">operator&lt;&lt;</a>(std::ostream &amp;os, const KalmanFull &amp;kf)</td><td><a class="el" href="classKalmanFull.html">KalmanFull</a></td><td><code> [friend]</code></td></tr>
   <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>
+  <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &amp;rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
   <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>
   <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,5 +71,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:51 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmepdf-members.html
===================================================================
--- doc/html/classmepdf-members.html (revision 171)
+++ doc/html/classmepdf-members.html (revision 180)
@@ -39,5 +39,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/demo__example_2simulator_8h-source.html
===================================================================
--- doc/html/demo__example_2simulator_8h-source.html (revision 171)
+++ doc/html/demo__example_2simulator_8h-source.html (revision 180)
@@ -34,5 +34,5 @@
 <a name="l00018"></a>00018 <span class="keyword">extern</span> <span class="keywordtype">double</span> KalmanObs[4];
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_0x62.html
===================================================================
--- doc/html/functions_0x62.html (revision 171)
+++ doc/html/functions_0x62.html (revision 180)
@@ -87,6 +87,7 @@
 , <a class="el" href="classBM.html#0186270f75189677f390fe088a9947e9">BM</a>
 <li>beta
-: <a class="el" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7">eDirich</a>
-, <a class="el" href="classegamma.html#cfc5f136467488a421ab22f886323790">egamma</a>
+: <a class="el" href="classegamma.html#cfc5f136467488a421ab22f886323790">egamma</a>
+, <a class="el" href="classmerger.html#e68a72e2740007ae68545e378c7701ad">merger</a>
+, <a class="el" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7">eDirich</a>
 <li>bilinfn()
 : <a class="el" href="classbilinfn.html#c99f91d7752e131275b219df731868bd">bilinfn</a>
@@ -103,5 +104,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/itpp__ext_8h-source.html
===================================================================
--- doc/html/itpp__ext_8h-source.html (revision 171)
+++ doc/html/itpp__ext_8h-source.html (revision 180)
@@ -46,33 +46,39 @@
 <a name="l00030"></a>00030         <span class="keywordtype">void</span> set_subvector ( vec &amp;ov, <span class="keyword">const</span> ivec &amp;iv, <span class="keyword">const</span> vec &amp;v );
 <a name="l00031"></a>00031 
-<a name="l00036"></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> {
-<a name="l00037"></a>00037                 <span class="keyword">public</span>:
-<a name="l00039"></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 );
-<a name="l00041"></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;}
-<a name="l00043"></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>;
-<a name="l00045"></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(); }
-<a name="l00047"></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 );
-<a name="l00049"></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 );
-<a name="l00050"></a>00050                 <span class="keyword">protected</span>:
-<a name="l00051"></a>00051                 <span class="keyword">private</span>:
-<a name="l00053"></a>00053                         <span class="keywordtype">double</span> sample();
-<a name="l00055"></a>00055                         <span class="keywordtype">double</span> alpha;
-<a name="l00057"></a>00057                         <span class="keywordtype">double</span> beta;
-<a name="l00059"></a>00059                         Random_Generator RNG;
-<a name="l00060"></a>00060                         Normal_RNG NRNG;
-<a name="l00062"></a>00062                         <span class="keyword">inline</span> <span class="keywordtype">double</span> exp_rand() {<span class="keywordflow">return</span> -std::log ( RNG.random_01() );}
-<a name="l00063"></a>00063                         <span class="keyword">inline</span> <span class="keywordtype">double</span> unif_rand() {<span class="keywordflow">return</span> RNG.random_01();}
-<a name="l00064"></a>00064                         <span class="keyword">inline</span> <span class="keywordtype">double</span> norm_rand() {<span class="keywordflow">return</span> NRNG.sample();}
-<a name="l00065"></a>00065 
-<a name="l00066"></a>00066         };
-<a name="l00067"></a>00067 
-<a name="l00068"></a>00068         <span class="keywordtype">bool</span> qr ( <span class="keyword">const</span> mat &amp;A, mat &amp;R );
-<a name="l00069"></a>00069 
-<a name="l00070"></a>00070 }
+<a name="l00032"></a>00032         <span class="keyword">template</span>&lt;<span class="keyword">class</span> Num_T&gt; <span class="keyword">inline</span>
+<a name="l00033"></a>00033         <span class="keywordtype">void</span> set_col_part(mat &amp;M, <span class="keywordtype">int</span> c, <span class="keyword">const</span> Vec&lt;Num_T&gt; &amp;v)
+<a name="l00034"></a>00034         {
+<a name="l00035"></a>00035                 copy_vector(v.size(), v._data(), M._data() + c*M.rows());
+<a name="l00036"></a>00036         }
+<a name="l00037"></a>00037 
+<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> {
+<a name="l00043"></a>00043                 <span class="keyword">public</span>:
+<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 );
+<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;}
+<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>;
+<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(); }
+<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 );
+<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 );
+<a name="l00056"></a>00056                 <span class="keyword">protected</span>:
+<a name="l00057"></a>00057                 <span class="keyword">private</span>:
+<a name="l00059"></a>00059                         <span class="keywordtype">double</span> sample();
+<a name="l00061"></a>00061                         <span class="keywordtype">double</span> alpha;
+<a name="l00063"></a>00063                         <span class="keywordtype">double</span> beta;
+<a name="l00065"></a>00065                         Random_Generator RNG;
+<a name="l00066"></a>00066                         Normal_RNG NRNG;
+<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() );}
+<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();}
+<a name="l00070"></a>00070                         <span class="keyword">inline</span> <span class="keywordtype">double</span> norm_rand() {<span class="keywordflow">return</span> NRNG.sample();}
 <a name="l00071"></a>00071 
-<a name="l00072"></a>00072 
-<a name="l00073"></a>00073 <span class="preprocessor">#endif //ITEX_H</span>
+<a name="l00072"></a>00072         };
+<a name="l00073"></a>00073 
+<a name="l00074"></a>00074         <span class="keywordtype">bool</span> qr ( <span class="keyword">const</span> mat &amp;A, mat &amp;R );
+<a name="l00075"></a>00075 
+<a name="l00076"></a>00076 }
+<a name="l00077"></a>00077 
+<a name="l00078"></a>00078 
+<a name="l00079"></a>00079 <span class="preprocessor">#endif //ITEX_H</span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:45 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classKFcondR-members.html
===================================================================
--- doc/html/classKFcondR-members.html (revision 171)
+++ doc/html/classKFcondR-members.html (revision 180)
@@ -58,4 +58,6 @@
   <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>
   <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &amp;rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classKalman.html#9b69015c800eb93f3ee49da23a6f55d9">Q</a></td><td><a class="el" href="classKalman.html">Kalman&lt; ldmat &gt;</a></td><td><code> [protected]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classKalman.html#11d171dc0e0ab111c56a70f98b97b3ec">R</a></td><td><a class="el" href="classKalman.html">Kalman&lt; ldmat &gt;</a></td><td><code> [protected]</code></td></tr>
@@ -70,5 +72,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classEKF__unQ-members.html
===================================================================
--- doc/html/classEKF__unQ-members.html (revision 171)
+++ doc/html/classEKF__unQ-members.html (revision 180)
@@ -65,6 +65,8 @@
   <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>
   <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr>
   <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>
   <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>
+  <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &amp;rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classKalman.html#9b69015c800eb93f3ee49da23a6f55d9">Q</a></td><td><a class="el" href="classKalman.html">Kalman&lt; chmat &gt;</a></td><td><code> [protected]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classKalman.html#11d171dc0e0ab111c56a70f98b97b3ec">R</a></td><td><a class="el" href="classKalman.html">Kalman&lt; chmat &gt;</a></td><td><code> [protected]</code></td></tr>
@@ -80,5 +82,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:50 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_func_0x77.html
===================================================================
--- doc/html/functions_func_0x77.html (revision 171)
+++ doc/html/functions_func_0x77.html (revision 180)
@@ -69,5 +69,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_0x6e.html
===================================================================
--- doc/html/functions_0x6e.html (revision 171)
+++ doc/html/functions_0x6e.html (revision 180)
@@ -68,4 +68,5 @@
 , <a class="el" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149">MixEF</a>
 , <a class="el" href="classeEmp.html#8c33034de0e35f03f8bb85d3d67438fd">eEmp</a>
+, <a class="el" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f">compositepdf</a>
 <li>name()
 : <a class="el" href="classRV.html#3ae4dd6e368f814a02710636ac8e1721">RV</a>
@@ -73,4 +74,6 @@
 : <a class="el" href="classRV.html#df5d0030b277a1db2f1fd5fb79152acb">RV</a>
 , <a class="el" href="classlogger.html#39cb79e839ca8f8bb9dcbc8c5b9c7786">logger</a>
+<li>Nc
+: <a class="el" href="classmerger.html#6acf33e1c64aaaee20689725e8110f65">merger</a>
 <li>newids()
 : <a class="el" href="classRV.html#fc4a3175ff678cba7ae4109654f66ce5">RV</a>
@@ -79,4 +82,6 @@
 <li>nPsi
 : <a class="el" href="classegiw.html#c70d13d86e0d9f0acede3e1dc0368812">egiw</a>
+<li>Ns
+: <a class="el" href="classmerger.html#ce84de1824875b4262eefb640e8c6d69">merger</a>
 <li>nu
 : <a class="el" href="classARX.html#a4182c281098b2d86b62518a7493d9be">ARX</a>
@@ -84,5 +89,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classepdf__inherit__graph.map
===================================================================
--- doc/html/classepdf__inherit__graph.map (revision 171)
+++ doc/html/classepdf__inherit__graph.map (revision 180)
@@ -4,5 +4,6 @@
 <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="$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">
Index: doc/html/codingrules.html
===================================================================
--- doc/html/codingrules.html (revision 171)
+++ doc/html/codingrules.html (revision 180)
@@ -86,5 +86,5 @@
 <p>
 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>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/globals_vars.html
===================================================================
--- doc/html/globals_vars.html (revision 171)
+++ doc/html/globals_vars.html (revision 180)
@@ -42,5 +42,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:56 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:45 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_0x71.html
===================================================================
--- doc/html/functions_0x71.html (revision 171)
+++ doc/html/functions_0x71.html (revision 180)
@@ -73,5 +73,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/chmat_8h-source.html
===================================================================
--- doc/html/chmat_8h-source.html (revision 171)
+++ doc/html/chmat_8h-source.html (revision 180)
@@ -68,5 +68,5 @@
 <a name="l00083"></a>00083 <span class="preprocessor">#endif // CHMAT_H</span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:45 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/files.html
===================================================================
--- doc/html/files.html (revision 171)
+++ doc/html/files.html (revision 180)
@@ -31,4 +31,5 @@
   <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>
   <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>
+  <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>
   <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>
   <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,5 +41,4 @@
   <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>
   <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>
-  <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>
   <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>
   <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,5 +64,5 @@
 </table>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:56 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:45 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_func_0x62.html
===================================================================
--- doc/html/functions_func_0x62.html (revision 171)
+++ doc/html/functions_func_0x62.html (revision 180)
@@ -96,5 +96,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_vars.html
===================================================================
--- doc/html/functions_vars.html (revision 171)
+++ doc/html/functions_vars.html (revision 180)
@@ -91,4 +91,5 @@
 : <a class="el" href="classegamma.html#cfc5f136467488a421ab22f886323790">egamma</a>
 , <a class="el" href="classeDirich.html#15e6b65e9595eedc8a1286c6cecd36d7">eDirich</a>
+, <a class="el" href="classmerger.html#e68a72e2740007ae68545e378c7701ad">merger</a>
 </ul>
 <h3><a class="anchor" name="index_c">- c -</a></h3><ul>
@@ -98,9 +99,7 @@
 : <a class="el" href="classchmat.html#95158bb150f5e7f939168abcd577fd9c">chmat</a>
 <li>Coms
-: <a class="el" href="classmmix.html#460632c7a0afd41b7840902181a7d85f">mmix</a>
-, <a class="el" href="classemix.html#7155d827417b53fb6aa5cff1459e6eb4">emix</a>
+: <a class="el" href="classemix.html#7155d827417b53fb6aa5cff1459e6eb4">emix</a>
 , <a class="el" href="classMixEF.html#4c4a140ca4e6e71b00237b7bc754302e">MixEF</a>
-<li>condpdf
-: <a class="el" href="classmerger.html#1712341746811f2844de5499817abb46">merger</a>
+, <a class="el" href="classmmix.html#460632c7a0afd41b7840902181a7d85f">mmix</a>
 </ul>
 <h3><a class="anchor" name="index_d">- d -</a></h3><ul>
@@ -192,4 +191,8 @@
 <li>maxlen
 : <a class="el" href="classmemlog.html#4195f322897ededdac66c404b848ced3">memlog</a>
+<li>Mix
+: <a class="el" href="classmerger.html#021d1522cea70db8545d708afd32ec2f">merger</a>
+<li>mpdfs
+: <a class="el" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d">compositepdf</a>
 <li>mu
 : <a class="el" href="classKalmanFull.html#fb5aec635e2720cc5ac31bc01c18a68a">KalmanFull</a>
@@ -201,20 +204,23 @@
 , <a class="el" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149">MixEF</a>
 , <a class="el" href="classeEmp.html#8c33034de0e35f03f8bb85d3d67438fd">eEmp</a>
+, <a class="el" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f">compositepdf</a>
 <li>names
 : <a class="el" href="classRV.html#df5d0030b277a1db2f1fd5fb79152acb">RV</a>
 , <a class="el" href="classlogger.html#39cb79e839ca8f8bb9dcbc8c5b9c7786">logger</a>
+<li>Nc
+: <a class="el" href="classmerger.html#6acf33e1c64aaaee20689725e8110f65">merger</a>
 <li>nk
 : <a class="el" href="classeuni.html#63105490e946e43372d6187ad1bafdda">euni</a>
 <li>nPsi
 : <a class="el" href="classegiw.html#c70d13d86e0d9f0acede3e1dc0368812">egiw</a>
+<li>Ns
+: <a class="el" href="classmerger.html#ce84de1824875b4262eefb640e8c6d69">merger</a>
 <li>nu
-: <a class="el" href="classARX.html#a4182c281098b2d86b62518a7493d9be">ARX</a>
-, <a class="el" href="classegiw.html#4a2f130b91afe84f6d62fed289d5d453">egiw</a>
+: <a class="el" href="classegiw.html#4a2f130b91afe84f6d62fed289d5d453">egiw</a>
+, <a class="el" href="classARX.html#a4182c281098b2d86b62518a7493d9be">ARX</a>
 </ul>
 <h3><a class="anchor" name="index_o">- o -</a></h3><ul>
 <li>obs
 : <a class="el" href="classPF.html#dd0a687a4515333d6809147335854e77">PF</a>
-<li>overlaps
-: <a class="el" href="classmerger.html#11eb177ef6409926b2ba3b4630bceab1">merger</a>
 </ul>
 <h3><a class="anchor" name="index_p">- p -</a></h3><ul>
@@ -247,9 +253,10 @@
 <li>rvcinds
 : <a class="el" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6">mprod</a>
-<li>rvcinrv
-: <a class="el" href="classmprod.html#1725c7b497a27ab3c4889b846666b516">mprod</a>
+<li>rvcsinrv
+: <a class="el" href="classcompositepdf.html#3df07bb5e3ed36a3119b145043296676">compositepdf</a>
 <li>rvinds
-: <a class="el" href="classmprod.html#c8f78fbcdb4e38ecd3197d2958082497">mprod</a>
-, <a class="el" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3">eprod</a>
+: <a class="el" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3">eprod</a>
+<li>rvsinrv
+: <a class="el" href="classcompositepdf.html#4d4a8269f9faefeca8cdc251a5a29a7f">compositepdf</a>
 <li>rvu
 : <a class="el" href="classKalman.html#44a16ffd5ac1e6e39bae34fea9e1e498">Kalman&lt; sq_T &gt;</a>
@@ -302,5 +309,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classCompoundUserInfo-members.html
===================================================================
--- doc/html/classCompoundUserInfo-members.html (revision 171)
+++ doc/html/classCompoundUserInfo-members.html (revision 180)
@@ -37,5 +37,5 @@
   <tr class="memlist"><td><a class="el" href="classTypedUserInfo.html#b1bb67b76a677f0cf33e923fd9147e9a">~TypedUserInfo</a>()</td><td><a class="el" href="classTypedUserInfo.html">TypedUserInfo&lt; T &gt;</a></td><td><code> [inline, protected]</code></td></tr>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/graph_legend.html
===================================================================
--- doc/html/graph_legend.html (revision 171)
+++ doc/html/graph_legend.html (revision 180)
@@ -80,5 +80,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:56 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:45 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_func_0x6e.html
===================================================================
--- doc/html/functions_func_0x6e.html (revision 171)
+++ doc/html/functions_func_0x6e.html (revision 180)
@@ -68,5 +68,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classepdf__inherit__graph.md5
===================================================================
--- doc/html/classepdf__inherit__graph.md5 (revision 171)
+++ doc/html/classepdf__inherit__graph.md5 (revision 180)
@@ -1,1 +1,1 @@
-b93c1d3b26cd43a431d33655ca7d0993
+00b28a9d55c40d3ad05c2cc08b34812a
Index: doc/html/libDS_8h-source.html
===================================================================
--- doc/html/libDS_8h-source.html (revision 171)
+++ doc/html/libDS_8h-source.html (revision 180)
@@ -44,5 +44,5 @@
 <a name="l00047"></a>00047 <span class="preprocessor">#endif // DS_H</span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:45 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classMixEF.html
===================================================================
--- doc/html/classMixEF.html (revision 171)
+++ doc/html/classMixEF.html (revision 180)
@@ -48,9 +48,9 @@
 <tr><td></td></tr>
 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7713c2f01e97df268049821749405bc2"></a><!-- doxytag: member="MixEF::MixEF" ref="7713c2f01e97df268049821749405bc2" args="(Array&lt; BMEF * &gt; &amp;Coms0, const vec &amp;alpha0)" -->
-&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMixEF.html#7713c2f01e97df268049821749405bc2">MixEF</a> (Array&lt; <a class="el" href="classBMEF.html">BMEF</a> * &gt; &amp;Coms0, const vec &amp;alpha0)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="509ac467674c39af46aba42297528aad"></a><!-- doxytag: member="MixEF::MixEF" ref="509ac467674c39af46aba42297528aad" args="(const Array&lt; BMEF * &gt; &amp;Coms0, const vec &amp;alpha0)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMixEF.html#509ac467674c39af46aba42297528aad">MixEF</a> (const Array&lt; <a class="el" href="classBMEF.html">BMEF</a> * &gt; &amp;Coms0, const vec &amp;alpha0)</td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Full constructor. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</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 &amp;Data, int c=5)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</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 &amp;Data, int c=5)</td></tr>
 
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d520fb534aa43f3084ff1568ffe7573d"></a><!-- doxytag: member="MixEF::bayes" ref="d520fb534aa43f3084ff1568ffe7573d" args="(const vec &amp;dt)" -->
@@ -72,4 +72,12 @@
 
 <tr><td class="mdescLeft">&nbsp;</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>
+<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 &amp;dt) const " -->
+vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &amp;dt) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="MixEF::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &amp;rv)" -->
+virtual <a class="el" href="classepdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="MixEF::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " -->
 const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">_rv</a> () const </td></tr>
@@ -130,11 +138,11 @@
 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>
 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>
-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 &amp; Destructor Documentation</h2>
-<a class="anchor" name="8be6cf2d9bb0d86e01e9470720515ae6"></a><!-- doxytag: member="MixEF::MixEF" ref="8be6cf2d9bb0d86e01e9470720515ae6" args="(BMEF *Com0, const mat &amp;Data, int c=5)" -->
+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>
+<a class="anchor" name="73a782d2f464c830bbdbb03d34c6d63e"></a><!-- doxytag: member="MixEF::init" ref="73a782d2f464c830bbdbb03d34c6d63e" args="(BMEF *Com0, const mat &amp;Data, int c=5)" -->
 <div class="memitem">
 <div class="memproto">
       <table class="memname">
         <tr>
-          <td class="memname">MixEF::MixEF           </td>
+          <td class="memname">void MixEF::init           </td>
           <td>(</td>
           <td class="paramtype"><a class="el" href="classBMEF.html">BMEF</a> *&nbsp;</td>
@@ -163,5 +171,5 @@
 
 <p>
-Constructor Initializing the mixture by a random pick of centroids from data <dl compact><dt><b>Parameters:</b></dt><dd>
+Initializing the mixture by a random pick of centroids from data <dl compact><dt><b>Parameters:</b></dt><dd>
   <table border="0" cellspacing="2" cellpadding="0">
     <tr><td valign="top"></td><td valign="top"><em>Com0</em>&nbsp;</td><td>Initial component - necessary to determine its type. </td></tr>
@@ -171,9 +179,10 @@
 </dl>
 
-<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>
+<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>
+
+<p>Referenced by <a class="el" href="merger_8cpp-source.html#l00023">merger::merge()</a>.</p>
 
 </div>
 </div><p>
-<hr><h2>Member Function Documentation</h2>
 <a class="anchor" name="424ca64f36d4e41de7a7e7ae921d35ea"></a><!-- doxytag: member="MixEF::logpred" ref="424ca64f36d4e41de7a7e7ae921d35ea" args="(const vec &amp;dt) const " -->
 <div class="memitem">
@@ -196,5 +205,7 @@
 <p>Reimplemented from <a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">BM</a>.</p>
 
-<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>
+<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>
+
+<p>Referenced by <a class="el" href="merger_8cpp-source.html#l00023">merger::merge()</a>.</p>
 
 </div>
@@ -218,7 +229,7 @@
 <p>
 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; } 
-<p>Reimplemented in <a class="el" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>
-
-<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF()</a>.</p>
+<p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p>
+
+<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">init()</a>.</p>
 
 </div>
@@ -227,5 +238,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:54 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_func_0x71.html
===================================================================
--- doc/html/functions_func_0x71.html (revision 171)
+++ doc/html/functions_func_0x71.html (revision 180)
@@ -69,5 +69,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/globals.html
===================================================================
--- doc/html/globals.html (revision 171)
+++ doc/html/globals.html (revision 180)
@@ -52,5 +52,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:56 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:45 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classBM.html
===================================================================
--- doc/html/classBM.html (revision 171)
+++ doc/html/classBM.html (revision 180)
@@ -69,4 +69,12 @@
 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a> (const vec &amp;dt) const </td></tr>
 
+<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 &amp;dt) const " -->
+vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &amp;dt) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="BM::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &amp;rv)" -->
+virtual <a class="el" href="classepdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ca0f02b3b4144e0895cc14f7e0374bdd"></a><!-- doxytag: member="BM::~BM" ref="ca0f02b3b4144e0895cc14f7e0374bdd" args="()" -->
 virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#ca0f02b3b4144e0895cc14f7e0374bdd">~BM</a> ()</td></tr>
@@ -132,5 +140,5 @@
 <p>Implemented in <a class="el" href="classARX.html#ba82c956ca893826811aefe1e4af465d">ARX</a>, <a class="el" href="classKalman.html#7750ffd73f261828a32c18aaeb65c75c">Kalman&lt; sq_T &gt;</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&lt; sq_T &gt;</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&lt; BM_T &gt;</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&lt; ldmat &gt;</a>, <a class="el" href="classKalman.html#7750ffd73f261828a32c18aaeb65c75c">Kalman&lt; chmat &gt;</a>, and <a class="el" href="classKalman.html#7750ffd73f261828a32c18aaeb65c75c">Kalman&lt; fsqmat &gt;</a>.</p>
 
-<p>Referenced by <a class="el" href="libBM_8cpp-source.html#l00185">bayesB()</a>.</p>
+<p>Referenced by <a class="el" href="libBM_8cpp-source.html#l00218">bayesB()</a>.</p>
 
 </div>
@@ -156,4 +164,6 @@
 <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>
 
+<p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">logpred_m()</a>.</p>
+
 </div>
 </div><p>
@@ -176,7 +186,7 @@
 <p>
 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; } 
-<p>Reimplemented in <a class="el" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>
-
-<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::MixEF()</a>.</p>
+<p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p>
+
+<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p>
 
 </div>
@@ -185,5 +195,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/libEF_8h__dep__incl.map
===================================================================
--- doc/html/libEF_8h__dep__incl.map (revision 171)
+++ doc/html/libEF_8h__dep__incl.map (revision 180)
@@ -1,11 +1,11 @@
-<area shape="rect" href="$arx_8h.html" title="Bayesian Filtering for generalized autoregressive (ARX) model." alt="" coords="273,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="$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="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">
+<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">
Index: doc/html/classMixEF-members.html
===================================================================
--- doc/html/classMixEF-members.html (revision 171)
+++ doc/html/classMixEF-members.html (revision 180)
@@ -38,9 +38,12 @@
   <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>
   <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>
+  <tr class="memlist"><td><a class="el" href="classMixEF.html#73a782d2f464c830bbdbb03d34c6d63e">init</a>(BMEF *Com0, const mat &amp;Data, int c=5)</td><td><a class="el" href="classMixEF.html">MixEF</a></td><td></td></tr>
   <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>
   <tr class="memlist"><td><a class="el" href="classMixEF.html#424ca64f36d4e41de7a7e7ae921d35ea">logpred</a>(const vec &amp;dt) const </td><td><a class="el" href="classMixEF.html">MixEF</a></td><td><code> [virtual]</code></td></tr>
-  <tr class="memlist"><td><a class="el" href="classMixEF.html#7713c2f01e97df268049821749405bc2">MixEF</a>(Array&lt; BMEF * &gt; &amp;Coms0, const vec &amp;alpha0)</td><td><a class="el" href="classMixEF.html">MixEF</a></td><td><code> [inline]</code></td></tr>
-  <tr class="memlist"><td><a class="el" href="classMixEF.html#8be6cf2d9bb0d86e01e9470720515ae6">MixEF</a>(BMEF *Com0, const mat &amp;Data, int c=5)</td><td><a class="el" href="classMixEF.html">MixEF</a></td><td></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classMixEF.html#509ac467674c39af46aba42297528aad">MixEF</a>(const Array&lt; BMEF * &gt; &amp;Coms0, const vec &amp;alpha0)</td><td><a class="el" href="classMixEF.html">MixEF</a></td><td><code> [inline]</code></td></tr>
+  <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>
   <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>
+  <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &amp;rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
   <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>
   <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,5 +52,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:54 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/libKF_8h.html
===================================================================
--- doc/html/libKF_8h.html (revision 171)
+++ doc/html/libKF_8h.html (revision 180)
@@ -77,5 +77,5 @@
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
 Using IT++ for numerical operations ----------------------------------- </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classCompoundUserInfo_1_1BindedElement-members.html
===================================================================
--- doc/html/classCompoundUserInfo_1_1BindedElement-members.html (revision 171)
+++ doc/html/classCompoundUserInfo_1_1BindedElement-members.html (revision 180)
@@ -36,5 +36,5 @@
   <tr bgcolor="#f0f0f0"><td><b>~BindedElement</b>() (defined in <a class="el" href="classCompoundUserInfo_1_1BindedElement.html">CompoundUserInfo&lt; T &gt;::BindedElement&lt; U &gt;</a>)</td><td><a class="el" href="classCompoundUserInfo_1_1BindedElement.html">CompoundUserInfo&lt; T &gt;::BindedElement&lt; U &gt;</a></td><td><code> [inline]</code></td></tr>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classKFcondQR.html
===================================================================
--- doc/html/classKFcondQR.html (revision 171)
+++ doc/html/classKFcondQR.html (revision 180)
@@ -86,4 +86,12 @@
 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a> (const vec &amp;dt) const </td></tr>
 
+<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 &amp;dt) const " -->
+vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &amp;dt) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="KFcondQR::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &amp;rv)" -->
+virtual <a class="el" href="classepdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="KFcondQR::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " -->
 const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">_rv</a> () const </td></tr>
@@ -216,4 +224,6 @@
 <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>
 
+<p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p>
+
 </div>
 </div><p>
@@ -236,7 +246,7 @@
 <p>
 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; } 
-<p>Reimplemented in <a class="el" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>
-
-<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::MixEF()</a>.</p>
+<p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p>
+
+<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p>
 
 </div>
@@ -245,5 +255,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_0x69.html
===================================================================
--- doc/html/functions_0x69.html (revision 171)
+++ doc/html/functions_0x69.html (revision 180)
@@ -71,16 +71,18 @@
 : <a class="el" href="classmemlog.html#3410b4c002636508c43ddcba8d394520">memlog</a>
 <li>init()
-: <a class="el" href="classmemlog.html#b081ef5acb4816e6b5fcb56c19cc7e47">memlog</a>
+: <a class="el" href="classmerger.html#02d2a445e44a87f37ee3a2b9b40cffd1">merger</a>
+, <a class="el" href="classMixEF.html#73a782d2f464c830bbdbb03d34c6d63e">MixEF</a>
+, <a class="el" href="classmemlog.html#b081ef5acb4816e6b5fcb56c19cc7e47">memlog</a>
 , <a class="el" href="classdirfilelog.html#afeaebe003110f9db1ac43edf8e53a92">dirfilelog</a>
 <li>instance
 : <a class="el" href="classTypedUserInfo.html#c7ad10a9ff002383518155c965ade85c">TypedUserInfo&lt; T &gt;</a>
 <li>inv()
-: <a class="el" href="classfsqmat.html#9fa853e1ca28f2a1a1c43377e798ecb1">fsqmat</a>
+: <a class="el" href="classchmat.html#5ce4e21a9012a4e98c1f0ed1ca5669bd">chmat</a>
+, <a class="el" href="classfsqmat.html#9fa853e1ca28f2a1a1c43377e798ecb1">fsqmat</a>
 , <a class="el" href="classldmat.html#2c160cb123c1102face7a50ec566a031">ldmat</a>
-, <a class="el" href="classchmat.html#5ce4e21a9012a4e98c1f0ed1ca5669bd">chmat</a>
 <li>invqform()
 : <a class="el" href="classldmat.html#d876c5f83e02b3e809b35c9de5068f14">ldmat</a>
+, <a class="el" href="classsqmat.html#6230e8e8a9341866aaa0ce008691aac2">sqmat</a>
 , <a class="el" href="classfsqmat.html#58075da64ddadd4df40654c35b928c6f">fsqmat</a>
-, <a class="el" href="classsqmat.html#6230e8e8a9341866aaa0ce008691aac2">sqmat</a>
 , <a class="el" href="classchmat.html#b49427cff186c62f5df3724e5d2c34b4">chmat</a>
 <li>itsave()
@@ -88,5 +90,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/loggers_8h-source.html
===================================================================
--- doc/html/loggers_8h-source.html (revision 171)
+++ doc/html/loggers_8h-source.html (revision 180)
@@ -88,5 +88,5 @@
 <a name="l00126"></a>00126 <span class="preprocessor">#endif // LGR_H</span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:45 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/ekf__example_2nastaveni__regulatoru__float_8h-source.html
===================================================================
--- doc/html/ekf__example_2nastaveni__regulatoru__float_8h-source.html (revision 171)
+++ doc/html/ekf__example_2nastaveni__regulatoru__float_8h-source.html (revision 180)
@@ -81,5 +81,5 @@
 <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>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classeEmp-members.html
===================================================================
--- doc/html/classeEmp-members.html (revision 171)
+++ doc/html/classeEmp-members.html (revision 180)
@@ -34,5 +34,5 @@
   <tr class="memlist"><td><a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">eval</a>(const vec &amp;val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classeEmp.html#23e7358995400865ad2e278945922fb3">evalpdflog</a>(const vec &amp;val) const </td><td><a class="el" href="classeEmp.html">eEmp</a></td><td><code> [inline, virtual]</code></td></tr>
-  <tr class="memlist"><td><a class="el" href="classepdf.html#6af383b6f1c6ea6fc5f6724dd03d8877">epdf::evalpdflog</a>(const mat &amp;Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &amp;Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
   <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>
   <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,9 +42,10 @@
   <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>
   <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>
-  <tr class="memlist"><td><a class="el" href="classeEmp.html#6606a656c1b28114f7384c25aaf80e8d">set_parameters</a>(const vec &amp;w0, epdf *pdf0)</td><td><a class="el" href="classeEmp.html">eEmp</a></td><td></td></tr>
+  <tr class="memlist"><td><a class="el" href="classeEmp.html#eab03bd3381aaea11ce34d5a26556353">set_parameters</a>(const vec &amp;w0, const epdf *pdf0)</td><td><a class="el" href="classeEmp.html">eEmp</a></td><td></td></tr>
+  <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>
   <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>
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:50 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classegamma.html
===================================================================
--- doc/html/classegamma.html (revision 171)
+++ doc/html/classegamma.html (revision 180)
@@ -100,4 +100,8 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr>
+<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 &amp;Val) const " -->
+virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &amp;Val) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ca0d32aabb4cbba347e0c37fe8607562"></a><!-- doxytag: member="egamma::_rv" ref="ca0d32aabb4cbba347e0c37fe8607562" args="() const " -->
 const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562">_rv</a> () const </td></tr>
@@ -131,5 +135,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:50 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/inherit__graph__4.map
===================================================================
--- doc/html/inherit__graph__4.map (revision 171)
+++ doc/html/inherit__graph__4.map (revision 180)
@@ -1,13 +1,8 @@
-<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&#45;inverse&#45;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\&lt; chmat \&gt;" alt="" coords="213,208,347,235">
-<area shape="rect" href="$classenorm.html" title="enorm\&lt; fsqmat \&gt;" alt="" coords="211,259,349,285">
-<area shape="rect" href="$classenorm.html" title="enorm\&lt; ldmat \&gt;" alt="" coords="215,309,345,336">
+<area shape="rect" href="$classfnc.html" title="Class representing function &#160;of variable &#160;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">
Index: doc/html/classchmat.html
===================================================================
--- doc/html/classchmat.html (revision 171)
+++ doc/html/classchmat.html (revision 180)
@@ -302,5 +302,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classlinfn.html
===================================================================
--- doc/html/classlinfn.html (revision 171)
+++ doc/html/classlinfn.html (revision 180)
@@ -74,5 +74,5 @@
 <li>work/git/mixpp/bdm/stat/<a class="el" href="libFN_8h-source.html">libFN.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/libEF_8h__dep__incl.md5
===================================================================
--- doc/html/libEF_8h__dep__incl.md5 (revision 171)
+++ doc/html/libEF_8h__dep__incl.md5 (revision 180)
@@ -1,1 +1,1 @@
-40e2cf10b2e61e381a46d5d249f18eeb
+27ed66889d1f3674ed4f9e7654e42546
Index: doc/html/functions_0x78.html
===================================================================
--- doc/html/functions_0x78.html (revision 171)
+++ doc/html/functions_0x78.html (revision 180)
@@ -70,5 +70,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/globals_func.html
===================================================================
--- doc/html/globals_func.html (revision 171)
+++ doc/html/globals_func.html (revision 180)
@@ -44,5 +44,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:56 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:45 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_func_0x69.html
===================================================================
--- doc/html/functions_func_0x69.html (revision 171)
+++ doc/html/functions_func_0x69.html (revision 180)
@@ -65,20 +65,22 @@
 : <a class="el" href="classRV.html#4a0069bc69f5a98d7ce9ed59077f2e6c">RV</a>
 <li>init()
-: <a class="el" href="classmemlog.html#b081ef5acb4816e6b5fcb56c19cc7e47">memlog</a>
+: <a class="el" href="classmerger.html#02d2a445e44a87f37ee3a2b9b40cffd1">merger</a>
+, <a class="el" href="classmemlog.html#b081ef5acb4816e6b5fcb56c19cc7e47">memlog</a>
 , <a class="el" href="classdirfilelog.html#afeaebe003110f9db1ac43edf8e53a92">dirfilelog</a>
+, <a class="el" href="classMixEF.html#73a782d2f464c830bbdbb03d34c6d63e">MixEF</a>
 <li>inv()
-: <a class="el" href="classchmat.html#5ce4e21a9012a4e98c1f0ed1ca5669bd">chmat</a>
+: <a class="el" href="classldmat.html#2c160cb123c1102face7a50ec566a031">ldmat</a>
+, <a class="el" href="classchmat.html#5ce4e21a9012a4e98c1f0ed1ca5669bd">chmat</a>
 , <a class="el" href="classfsqmat.html#9fa853e1ca28f2a1a1c43377e798ecb1">fsqmat</a>
-, <a class="el" href="classldmat.html#2c160cb123c1102face7a50ec566a031">ldmat</a>
 <li>invqform()
-: <a class="el" href="classldmat.html#d876c5f83e02b3e809b35c9de5068f14">ldmat</a>
+: <a class="el" href="classchmat.html#b49427cff186c62f5df3724e5d2c34b4">chmat</a>
+, <a class="el" href="classldmat.html#d876c5f83e02b3e809b35c9de5068f14">ldmat</a>
 , <a class="el" href="classfsqmat.html#58075da64ddadd4df40654c35b928c6f">fsqmat</a>
 , <a class="el" href="classsqmat.html#6230e8e8a9341866aaa0ce008691aac2">sqmat</a>
-, <a class="el" href="classchmat.html#b49427cff186c62f5df3724e5d2c34b4">chmat</a>
 <li>itsave()
 : <a class="el" href="classmemlog.html#65571ebbb16577b5211adbb27baf769c">memlog</a>
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classitpp_1_1Gamma__RNG.html
===================================================================
--- doc/html/classitpp_1_1Gamma__RNG.html (revision 171)
+++ doc/html/classitpp_1_1Gamma__RNG.html (revision 180)
@@ -65,5 +65,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:56 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classchmat-members.html
===================================================================
--- doc/html/classchmat-members.html (revision 171)
+++ doc/html/classchmat-members.html (revision 180)
@@ -55,5 +55,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/nastaveni__regulatoru__float_8h-source.html
===================================================================
--- doc/html/nastaveni__regulatoru__float_8h-source.html (revision 171)
+++ doc/html/nastaveni__regulatoru__float_8h-source.html (revision 180)
@@ -47,5 +47,5 @@
 <a name="l00031"></a>00031 <span class="preprocessor"></span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_func.html
===================================================================
--- doc/html/functions_func.html (revision 171)
+++ doc/html/functions_func.html (revision 180)
@@ -69,5 +69,5 @@
 : <a class="el" href="classchmat.html#9c50d31c999d85d8e9d8cf2b69b6ac8c">chmat</a>
 <li>_copy_()
-: <a class="el" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc">ARX</a>
+: <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>
 , <a class="el" href="classBM.html#eb58c81d6a7b75b05fc6f276eed78887">BM</a>
 <li>_D()
@@ -123,5 +123,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/inherit__graph__4.md5
===================================================================
--- doc/html/inherit__graph__4.md5 (revision 171)
+++ doc/html/inherit__graph__4.md5 (revision 180)
@@ -1,1 +1,1 @@
-1a19fc85ac4142aa016801054bb90d3d
+e444d990850db412317a9c0e33514d49
Index: doc/html/functions_0x63.html
===================================================================
--- doc/html/functions_0x63.html (revision 171)
+++ doc/html/functions_0x63.html (revision 180)
@@ -83,18 +83,17 @@
 , <a class="el" href="classmmix.html#460632c7a0afd41b7840902181a7d85f">mmix</a>
 <li>condition()
-: <a class="el" href="classKFcondQR.html#c9ecf292a85327aa6309c9fd70ceb606">KFcondQR</a>
+: <a class="el" href="classBMcond.html#3543cfe274c35f9033c24d8036a96c4d">BMcond</a>
+, <a class="el" href="classmmix.html#1a66629ec5c2b6f4740606cf737f0193">mmix</a>
+, <a class="el" href="classEKF__unQ.html#cd06a8c662da244cf61bb5bd39688c99">EKF_unQ</a>
 , <a class="el" href="classmlnorm.html#5232fc7e305eceab4e2bd6a8daa44195">mlnorm&lt; sq_T &gt;</a>
 , <a class="el" href="classEKF__unQ.html#cd06a8c662da244cf61bb5bd39688c99">EKF_unQ</a>
+, <a class="el" href="classmgamma__fix.html#6ea3931eec7b7da7b693e45981052460">mgamma_fix</a>
+, <a class="el" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83">mpdf</a>
+, <a class="el" href="classEKFful__unQR.html#b586e534c8a8d219561b0c020329d412">EKFful_unQR</a>
+, <a class="el" href="classEKFfixed.html#c7fee79e75ad7f0c0e96c5a322cbf44e">EKFfixed</a>
+, <a class="el" href="classKFcondR.html#8c0721e47879bb8840d829db7a174a7f">KFcondR</a>
+, <a class="el" href="classEKF__unQ.html#cd06a8c662da244cf61bb5bd39688c99">EKF_unQ</a>
 , <a class="el" href="classmgamma.html#a61094c9f7a2d64ea77b130cbc031f97">mgamma</a>
-, <a class="el" href="classEKFful__unQR.html#b586e534c8a8d219561b0c020329d412">EKFful_unQR</a>
-, <a class="el" href="classEKF__unQ.html#cd06a8c662da244cf61bb5bd39688c99">EKF_unQ</a>
-, <a class="el" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83">mpdf</a>
-, <a class="el" href="classKFcondR.html#8c0721e47879bb8840d829db7a174a7f">KFcondR</a>
-, <a class="el" href="classmgamma__fix.html#6ea3931eec7b7da7b693e45981052460">mgamma_fix</a>
-, <a class="el" href="classmmix.html#1a66629ec5c2b6f4740606cf737f0193">mmix</a>
-, <a class="el" href="classEKFfixed.html#c7fee79e75ad7f0c0e96c5a322cbf44e">EKFfixed</a>
-, <a class="el" href="classBMcond.html#3543cfe274c35f9033c24d8036a96c4d">BMcond</a>
-<li>condpdf
-: <a class="el" href="classmerger.html#1712341746811f2844de5499817abb46">merger</a>
+, <a class="el" href="classKFcondQR.html#c9ecf292a85327aa6309c9fd70ceb606">KFcondQR</a>
 <li>constfn()
 : <a class="el" href="classconstfn.html#d08acd7fac0ef3edfa59bbe48403f2bc">constfn</a>
@@ -103,5 +102,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/ekf__obj_8h-source.html
===================================================================
--- doc/html/ekf__obj_8h-source.html (revision 171)
+++ doc/html/ekf__obj_8h-source.html (revision 180)
@@ -99,5 +99,5 @@
 <a name="l00102"></a>00102 
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classitpp_1_1Gamma__RNG-members.html
===================================================================
--- doc/html/classitpp_1_1Gamma__RNG-members.html (revision 171)
+++ doc/html/classitpp_1_1Gamma__RNG-members.html (revision 180)
@@ -32,5 +32,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:56 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classsqmat-members.html
===================================================================
--- doc/html/classsqmat-members.html (revision 171)
+++ doc/html/classsqmat-members.html (revision 180)
@@ -40,5 +40,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:56 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmemlog.html
===================================================================
--- doc/html/classmemlog.html (revision 171)
+++ doc/html/classmemlog.html (revision 180)
@@ -104,5 +104,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmerger.html
===================================================================
--- doc/html/classmerger.html (revision 171)
+++ doc/html/classmerger.html (revision 180)
@@ -24,5 +24,5 @@
 </div>
 <div class="contents">
-<h1>merger Class Reference</h1><!-- doxytag: class="merger" --><!-- doxytag: inherits="mprod" -->Function for general combination of pdfs.  
+<h1>merger Class Reference</h1><!-- doxytag: class="merger" --><!-- doxytag: inherits="compositepdf,epdf" -->Function for general combination of pdfs.  
 <a href="#_details">More...</a>
 <p>
@@ -34,5 +34,5 @@
 <p><center><img src="classmerger__inherit__graph.png" border="0" usemap="#merger__inherit__map" alt="Inheritance graph"></center>
 <map name="merger__inherit__map">
-<area shape="rect" href="classmprod.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>
+<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>
 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
 <div class="dynheader">
@@ -41,5 +41,5 @@
 <p><center><img src="classmerger__coll__graph.png" border="0" usemap="#merger__coll__map" alt="Collaboration graph"></center>
 <map name="merger__coll__map">
-<area shape="rect" href="classmprod.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\&lt; fsqmat \&gt;" 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&#45;root form..." alt="" coords="263,204,324,231"></map>
+<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>
 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
 
@@ -48,97 +48,126 @@
 <tr><td></td></tr>
 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1a6a721294321c2e412ca0084c636b69"></a><!-- doxytag: member="merger::merger" ref="1a6a721294321c2e412ca0084c636b69" args="(const Array&lt; mpdf * &gt; &amp;in_sources)" -->
-&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#1a6a721294321c2e412ca0084c636b69">merger</a> (const Array&lt; <a class="el" href="classmpdf.html">mpdf</a> * &gt; &amp;in_sources)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3f9a955329eab65026e8322e9027d469"></a><!-- doxytag: member="merger::merger" ref="3f9a955329eab65026e8322e9027d469" args="(const Array&lt; mpdf * &gt; &amp;S)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#3f9a955329eab65026e8322e9027d469">merger</a> (const Array&lt; <a class="el" href="classmpdf.html">mpdf</a> * &gt; &amp;S)</td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#51e425ee1dd46d73353526e6a1c24ca3">~merger</a> ()</td></tr>
+<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)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#79420e251308df4502c834171d518ad9">set_parameters</a> (double beta0, int Ns0, int Nc0)</td></tr>
 
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">for future use  <a href="#51e425ee1dd46d73353526e6a1c24ca3"></a><br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c15df5d0c7bb9dc82dd78f037b2550a8"></a><!-- doxytag: member="merger::evalpdflog" ref="c15df5d0c7bb9dc82dd78f037b2550a8" args="(const vec &amp;val) const " -->
-double&nbsp;</td><td class="memItemRight" valign="bottom"><b>evalpdflog</b> (const vec &amp;val) const </td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set internal parameters used in approximation. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="02d2a445e44a87f37ee3a2b9b40cffd1"></a><!-- doxytag: member="merger::init" ref="02d2a445e44a87f37ee3a2b9b40cffd1" args="()" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#02d2a445e44a87f37ee3a2b9b40cffd1">init</a> ()</td></tr>
 
-<tr><td class="memItemLeft" nowrap align="right" valign="top">vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">samplecond</a> (const vec &amp;cond, double &amp;ll)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</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>
+<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)" -->
+void&nbsp;</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>
 
-<tr><td class="mdescLeft">&nbsp;</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>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmprod.html#e171c40e210539c2af01d6237785620b">samplecond</a> (const vec &amp;cond, vec &amp;ll, int N)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a mixture density using known proposal. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bc23accc77ec766bce7202934e2c180c"></a><!-- doxytag: member="merger::merge" ref="bc23accc77ec766bce7202934e2c180c" args="()" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#bc23accc77ec766bce7202934e2c180c">merge</a> ()</td></tr>
 
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns.  <a href="#e171c40e210539c2af01d6237785620b"></a><br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0f95a0cc6ab40611f46804682446ed83"></a><!-- doxytag: member="merger::condition" ref="0f95a0cc6ab40611f46804682446ed83" args="(const vec &amp;cond)" -->
-virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83">condition</a> (const vec &amp;cond)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</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>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="217c65f335c603033fa09a2ecc64bc05"></a><!-- doxytag: member="merger::lognorm_merge" ref="217c65f335c603033fa09a2ecc64bc05" args="(mat &amp;lW)" -->
+vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#217c65f335c603033fa09a2ecc64bc05">lognorm_merge</a> (mat &amp;lW)</td></tr>
 
-<tr><td class="mdescLeft">&nbsp;</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>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="80b738ece5bd4f8c4edaee4b38906f91"></a><!-- doxytag: member="merger::evalcond" ref="80b738ece5bd4f8c4edaee4b38906f91" args="(const vec &amp;dt, const vec &amp;cond)" -->
-virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#80b738ece5bd4f8c4edaee4b38906f91">evalcond</a> (const vec &amp;dt, const vec &amp;cond)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Merge log-likelihood values. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#379198c3d2063bfa63f5d1245a2511ba">sample</a> () const </td></tr>
 
-<tr><td class="mdescLeft">&nbsp;</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>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ec9c850305984582548e8deb64f0ffe8"></a><!-- doxytag: member="merger::_rvc" ref="ec9c850305984582548e8deb64f0ffe8" args="()" -->
-<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#ec9c850305984582548e8deb64f0ffe8">_rvc</a> ()</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8c37688902b1a1e9fa32edc5709e5a00"></a><!-- doxytag: member="merger::evalpdflog" ref="8c37688902b1a1e9fa32edc5709e5a00" args="(const vec &amp;dt) const " -->
+double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#8c37688902b1a1e9fa32edc5709e5a00">evalpdflog</a> (const vec &amp;dt) const </td></tr>
 
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1e71ad4c66d5884c82d4a3b06b42fe32"></a><!-- doxytag: member="merger::_rv" ref="1e71ad4c66d5884c82d4a3b06b42fe32" args="()" -->
-<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#1e71ad4c66d5884c82d4a3b06b42fe32">_rv</a> ()</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of argument <code>val</code>. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3a46999cd77047d5d4ac6c1cb735a83e"></a><!-- doxytag: member="merger::mean" ref="3a46999cd77047d5d4ac6c1cb735a83e" args="() const " -->
+vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#3a46999cd77047d5d4ac6c1cb735a83e">mean</a> () const </td></tr>
 
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e17780ee5b2cfe05922a6c56af1462f8"></a><!-- doxytag: member="merger::_epdf" ref="e17780ee5b2cfe05922a6c56af1462f8" args="()" -->
-<a class="el" href="classepdf.html">epdf</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#e17780ee5b2cfe05922a6c56af1462f8">_epdf</a> ()</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return expected value <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="51e425ee1dd46d73353526e6a1c24ca3"></a><!-- doxytag: member="merger::~merger" ref="51e425ee1dd46d73353526e6a1c24ca3" args="()" -->
+virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#51e425ee1dd46d73353526e6a1c24ca3">~merger</a> ()</td></tr>
 
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">for future use <br></td></tr>
+<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)" -->
+<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>getrv</b> (bool checkoverlap=false)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5a4479785c1fdb2cc351fbea07b899ac"></a><!-- doxytag: member="merger::setrvc" ref="5a4479785c1fdb2cc351fbea07b899ac" args="(const RV &amp;rv, RV &amp;rvc)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setrvc</b> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">rv</a>, <a class="el" href="classRV.html">RV</a> &amp;rvc)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="08958c8f76d65de94ecc37b8d90bc77a"></a><!-- doxytag: member="merger::setindices" ref="08958c8f76d65de94ecc37b8d90bc77a" args="(const RV &amp;rv)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setindices</b> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">rv</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3bd4ada95f381ea6c4cff2dc86e957c4"></a><!-- doxytag: member="merger::setrvcinrv" ref="3bd4ada95f381ea6c4cff2dc86e957c4" args="(const RV &amp;rvc, Array&lt; ivec &gt; &amp;rvcind)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setrvcinrv</b> (const <a class="el" href="classRV.html">RV</a> &amp;rvc, Array&lt; ivec &gt; &amp;rvcind)</td></tr>
+
+<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 " -->
+virtual mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#54d7dd53a641b618771cd9bee135181f">sampleN</a> (int N) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns N samples from density <img class="formulaInl" alt="$epdf(rv)$" src="form_59.png">. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3ea597362e11a0040fe7c990269d072c"></a><!-- doxytag: member="merger::eval" ref="3ea597362e11a0040fe7c990269d072c" args="(const vec &amp;val) const " -->
+virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">eval</a> (const vec &amp;val) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr>
+<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 &amp;Val) const " -->
+virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &amp;Val) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ca0d32aabb4cbba347e0c37fe8607562"></a><!-- doxytag: member="merger::_rv" ref="ca0d32aabb4cbba347e0c37fe8607562" args="() const " -->
+const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562">_rv</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function, possibly dangerous! <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7fb94ce90d1ac7077d29f7d6a6c3e0a5"></a><!-- doxytag: member="merger::_renewrv" ref="7fb94ce90d1ac7077d29f7d6a6c3e0a5" args="(const RV &amp;in_rv)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#7fb94ce90d1ac7077d29f7d6a6c3e0a5">_renewrv</a> (const <a class="el" href="classRV.html">RV</a> &amp;in_rv)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">modifier function - useful when copying epdfs <br></td></tr>
 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1712341746811f2844de5499817abb46"></a><!-- doxytag: member="merger::condpdf" ref="1712341746811f2844de5499817abb46" args="" -->
-<a class="el" href="classenorm.html">enorm</a>&lt; <a class="el" href="classfsqmat.html">fsqmat</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#1712341746811f2844de5499817abb46">condpdf</a></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="021d1522cea70db8545d708afd32ec2f"></a><!-- doxytag: member="merger::Mix" ref="021d1522cea70db8545d708afd32ec2f" args="" -->
+<a class="el" href="classMixEF.html">MixEF</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#021d1522cea70db8545d708afd32ec2f">Mix</a></td></tr>
 
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Additional pdf on the part in condition (if undefined);. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="11eb177ef6409926b2ba3b4630bceab1"></a><!-- doxytag: member="merger::overlaps" ref="11eb177ef6409926b2ba3b4630bceab1" args="" -->
-Array&lt; ivec &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#11eb177ef6409926b2ba3b4630bceab1">overlaps</a></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal mixture of EF models. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ce84de1824875b4262eefb640e8c6d69"></a><!-- doxytag: member="merger::Ns" ref="ce84de1824875b4262eefb640e8c6d69" args="" -->
+int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#ce84de1824875b4262eefb640e8c6d69">Ns</a></td></tr>
 
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Find potential overlaps in rv. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7dcf1dde4a220f8c7b97ed987bff6c1f"></a><!-- doxytag: member="merger::n" ref="7dcf1dde4a220f8c7b97ed987bff6c1f" args="" -->
-int&nbsp;</td><td class="memItemRight" valign="bottom"><b>n</b></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of samples used in approximation. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6acf33e1c64aaaee20689725e8110f65"></a><!-- doxytag: member="merger::Nc" ref="6acf33e1c64aaaee20689725e8110f65" args="" -->
+int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#6acf33e1c64aaaee20689725e8110f65">Nc</a></td></tr>
 
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0883ce383e8475546df138719918f70e"></a><!-- doxytag: member="merger::epdfs" ref="0883ce383e8475546df138719918f70e" args="" -->
-Array&lt; <a class="el" href="classepdf.html">epdf</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>epdfs</b></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of components in a mixture. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e68a72e2740007ae68545e378c7701ad"></a><!-- doxytag: member="merger::beta" ref="e68a72e2740007ae68545e378c7701ad" args="" -->
+double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmerger.html#e68a72e2740007ae68545e378c7701ad">beta</a></td></tr>
 
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2389c7585ac5d0d79587625186818889"></a><!-- doxytag: member="merger::mpdfs" ref="2389c7585ac5d0d79587625186818889" args="" -->
-Array&lt; <a class="el" href="classmpdf.html">mpdf</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>mpdfs</b></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Prior on the log-normal merging model. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c1646fe41ff5934d010e54ccaa46133f"></a><!-- doxytag: member="merger::n" ref="c1646fe41ff5934d010e54ccaa46133f" args="" -->
+int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f">n</a></td></tr>
 
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c8f78fbcdb4e38ecd3197d2958082497"></a><!-- doxytag: member="merger::rvinds" ref="c8f78fbcdb4e38ecd3197d2958082497" args="" -->
-Array&lt; ivec &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmprod.html#c8f78fbcdb4e38ecd3197d2958082497">rvinds</a></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of mpdfs in the composite. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="637877061b917a16a0421bb5c4cd480d"></a><!-- doxytag: member="merger::mpdfs" ref="637877061b917a16a0421bb5c4cd480d" args="" -->
+Array&lt; <a class="el" href="classmpdf.html">mpdf</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d">mpdfs</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Elements of composition. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4d4a8269f9faefeca8cdc251a5a29a7f"></a><!-- doxytag: member="merger::rvsinrv" ref="4d4a8269f9faefeca8cdc251a5a29a7f" args="" -->
+Array&lt; ivec &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcompositepdf.html#4d4a8269f9faefeca8cdc251a5a29a7f">rvsinrv</a></td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indeces of rvs in common rv. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1725c7b497a27ab3c4889b846666b516"></a><!-- doxytag: member="merger::rvcinrv" ref="1725c7b497a27ab3c4889b846666b516" args="" -->
-Array&lt; ivec &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmprod.html#1725c7b497a27ab3c4889b846666b516">rvcinrv</a></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3df07bb5e3ed36a3119b145043296676"></a><!-- doxytag: member="merger::rvcsinrv" ref="3df07bb5e3ed36a3119b145043296676" args="" -->
+Array&lt; ivec &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcompositepdf.html#3df07bb5e3ed36a3119b145043296676">rvcsinrv</a></td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indeces of rvc in common rv. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cc85192d8abc01832937ed8b62e363a6"></a><!-- doxytag: member="merger::rvcinds" ref="cc85192d8abc01832937ed8b62e363a6" args="" -->
-Array&lt; ivec &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6">rvcinds</a></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="74da992e3f5d598da8850b646b79b9d9"></a><!-- doxytag: member="merger::rv" ref="74da992e3f5d598da8850b646b79b9d9" args="" -->
+<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">rv</a></td></tr>
 
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indeces of rvc in common rvc. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f6687c07ff07d47812dd565368ca59eb"></a><!-- doxytag: member="merger::rv" ref="f6687c07ff07d47812dd565368ca59eb" args="" -->
-<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">rv</a></td></tr>
-
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">modeled random variable <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="acb7dda792b3cd5576f39fa3129abbab"></a><!-- doxytag: member="merger::rvc" ref="acb7dda792b3cd5576f39fa3129abbab" args="" -->
-<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab">rvc</a></td></tr>
-
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">random variable in condition <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7aa894208a32f3487827df6d5054424c"></a><!-- doxytag: member="merger::ep" ref="7aa894208a32f3487827df6d5054424c" args="" -->
-<a class="el" href="classepdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#7aa894208a32f3487827df6d5054424c">ep</a></td></tr>
-
-<tr><td class="mdescLeft">&nbsp;</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>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Identified of the random variable. <br></td></tr>
 </table>
 <hr><a name="_details"></a><h2>Detailed Description</h2>
 Function for general combination of pdfs. 
 <p>
-Parent of simple arithmentic or geometric combinations <hr><h2>Constructor &amp; Destructor Documentation</h2>
-<a class="anchor" name="51e425ee1dd46d73353526e6a1c24ca3"></a><!-- doxytag: member="merger::~merger" ref="51e425ee1dd46d73353526e6a1c24ca3" args="()" -->
+Mixtures of Gaussian densities are used internally. Switching to other densities should be trivial. <hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="379198c3d2063bfa63f5d1245a2511ba"></a><!-- doxytag: member="merger::sample" ref="379198c3d2063bfa63f5d1245a2511ba" args="() const " -->
 <div class="memitem">
 <div class="memproto">
       <table class="memname">
         <tr>
-          <td class="memname">virtual merger::~merger           </td>
+          <td class="memname">vec merger::sample           </td>
           <td>(</td>
           <td class="paramname">          </td>
           <td>&nbsp;)&nbsp;</td>
-          <td><code> [inline, virtual]</code></td>
+          <td> const<code> [inline, virtual]</code></td>
         </tr>
       </table>
@@ -147,105 +176,15 @@
 
 <p>
-for future use 
-<p>
 sample from merged density weight w is a 
-</div>
-</div><p>
-<hr><h2>Member Function Documentation</h2>
-<a class="anchor" name="a48887eb8738a9e5550bfc38eb8e9d68"></a><!-- doxytag: member="merger::samplecond" ref="a48887eb8738a9e5550bfc38eb8e9d68" args="(const vec &amp;cond, double &amp;ll)" -->
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">vec mprod::samplecond           </td>
-          <td>(</td>
-          <td class="paramtype">const vec &amp;&nbsp;</td>
-          <td class="paramname"> <em>cond</em>, </td>
-        </tr>
-        <tr>
-          <td class="paramkey"></td>
-          <td></td>
-          <td class="paramtype">double &amp;&nbsp;</td>
-          <td class="paramname"> <em>ll</em></td><td>&nbsp;</td>
-        </tr>
-        <tr>
-          <td></td>
-          <td>)</td>
-          <td></td><td></td><td><code> [inline, virtual, inherited]</code></td>
-        </tr>
-      </table>
-</div>
-<div class="memdoc">
+<p>Implements <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf</a>.</p>
 
-<p>
-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>. 
-<p>
-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>
-  <table border="0" cellspacing="2" cellpadding="0">
-    <tr><td valign="top"></td><td valign="top"><em>cond</em>&nbsp;</td><td>is numeric value of <code>rv</code> </td></tr>
-    <tr><td valign="top"></td><td valign="top"><em>ll</em>&nbsp;</td><td>is a return value of log-likelihood of the sample. </td></tr>
-  </table>
-</dl>
-
-<p>Reimplemented from <a class="el" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b">mpdf</a>.</p>
-
-<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>
-
-<p>Referenced by <a class="el" href="emix_8h-source.html#l00128">mprod::samplecond()</a>.</p>
+<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>
 
 </div>
 </div><p>
-<a class="anchor" name="e171c40e210539c2af01d6237785620b"></a><!-- doxytag: member="merger::samplecond" ref="e171c40e210539c2af01d6237785620b" args="(const vec &amp;cond, vec &amp;ll, int N)" -->
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">mat mprod::samplecond           </td>
-          <td>(</td>
-          <td class="paramtype">const vec &amp;&nbsp;</td>
-          <td class="paramname"> <em>cond</em>, </td>
-        </tr>
-        <tr>
-          <td class="paramkey"></td>
-          <td></td>
-          <td class="paramtype">vec &amp;&nbsp;</td>
-          <td class="paramname"> <em>ll</em>, </td>
-        </tr>
-        <tr>
-          <td class="paramkey"></td>
-          <td></td>
-          <td class="paramtype">int&nbsp;</td>
-          <td class="paramname"> <em>N</em></td><td>&nbsp;</td>
-        </tr>
-        <tr>
-          <td></td>
-          <td>)</td>
-          <td></td><td></td><td><code> [inline, virtual, inherited]</code></td>
-        </tr>
-      </table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<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>
 </div>
-<div class="memdoc">
-
-<p>
-Returns. 
-<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
-  <table border="0" cellspacing="2" cellpadding="0">
-    <tr><td valign="top"></td><td valign="top"><em>N</em>&nbsp;</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>
-    <tr><td valign="top"></td><td valign="top"><em>cond</em>&nbsp;</td><td>is numeric value of <code>rv</code> </td></tr>
-    <tr><td valign="top"></td><td valign="top"><em>ll</em>&nbsp;</td><td>is a return value of log-likelihood of the sample. </td></tr>
-  </table>
-</dl>
-
-<p>Reimplemented from <a class="el" href="classmpdf.html#0e37163660f93df2a4d723cedb1da89c">mpdf</a>.</p>
-
-<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>
-
-</div>
-</div><p>
-<hr>The documentation for this class was generated from the following file:<ul>
-<li>work/git/mixpp/bdm/stat/<a class="el" href="merger_8h-source.html">merger.h</a></ul>
-</div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmprod.html
===================================================================
--- doc/html/classmprod.html (revision 171)
+++ doc/html/classmprod.html (revision 180)
@@ -24,5 +24,5 @@
 </div>
 <div class="contents">
-<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>.  
+<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>.  
 <a href="#_details">More...</a>
 <p>
@@ -34,5 +34,5 @@
 <p><center><img src="classmprod__inherit__graph.png" border="0" usemap="#mprod__inherit__map" alt="Inheritance graph"></center>
 <map name="mprod__inherit__map">
-<area shape="rect" href="classmerger.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>
+<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>
 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
 <div class="dynheader">
@@ -41,5 +41,5 @@
 <p><center><img src="classmprod__coll__graph.png" border="0" usemap="#mprod__coll__map" alt="Collaboration graph"></center>
 <map name="mprod__coll__map">
-<area shape="rect" href="classmpdf.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>
+<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>
 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
 
@@ -48,6 +48,6 @@
 <tr><td></td></tr>
 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="37f028561c45ce5fd3a1351a911e31dc"></a><!-- doxytag: member="mprod::mprod" ref="37f028561c45ce5fd3a1351a911e31dc" args="(Array&lt; mpdf * &gt; mFacs, bool overlap=false)" -->
-&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmprod.html#37f028561c45ce5fd3a1351a911e31dc">mprod</a> (Array&lt; <a class="el" href="classmpdf.html">mpdf</a> * &gt; mFacs, bool overlap=false)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="419b303581a91ad85200bdcb4b3186f4"></a><!-- doxytag: member="mprod::mprod" ref="419b303581a91ad85200bdcb4b3186f4" args="(Array&lt; mpdf * &gt; mFacs)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmprod.html#419b303581a91ad85200bdcb4b3186f4">mprod</a> (Array&lt; <a class="el" href="classmpdf.html">mpdf</a> * &gt; mFacs)</td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</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,4 +61,16 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns.  <a href="#e171c40e210539c2af01d6237785620b"></a><br></td></tr>
+<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)" -->
+<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>getrv</b> (bool checkoverlap=false)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5a4479785c1fdb2cc351fbea07b899ac"></a><!-- doxytag: member="mprod::setrvc" ref="5a4479785c1fdb2cc351fbea07b899ac" args="(const RV &amp;rv, RV &amp;rvc)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setrvc</b> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">rv</a>, <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab">rvc</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="08958c8f76d65de94ecc37b8d90bc77a"></a><!-- doxytag: member="mprod::setindices" ref="08958c8f76d65de94ecc37b8d90bc77a" args="(const RV &amp;rv)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setindices</b> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">rv</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3bd4ada95f381ea6c4cff2dc86e957c4"></a><!-- doxytag: member="mprod::setrvcinrv" ref="3bd4ada95f381ea6c4cff2dc86e957c4" args="(const RV &amp;rvc, Array&lt; ivec &gt; &amp;rvcind)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setrvcinrv</b> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab">rvc</a>, Array&lt; ivec &gt; &amp;rvcind)</td></tr>
+
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0f95a0cc6ab40611f46804682446ed83"></a><!-- doxytag: member="mprod::condition" ref="0f95a0cc6ab40611f46804682446ed83" args="(const vec &amp;cond)" -->
 virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83">condition</a> (const vec &amp;cond)</td></tr>
@@ -82,25 +94,27 @@
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7dcf1dde4a220f8c7b97ed987bff6c1f"></a><!-- doxytag: member="mprod::n" ref="7dcf1dde4a220f8c7b97ed987bff6c1f" args="" -->
-int&nbsp;</td><td class="memItemRight" valign="bottom"><b>n</b></td></tr>
-
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0883ce383e8475546df138719918f70e"></a><!-- doxytag: member="mprod::epdfs" ref="0883ce383e8475546df138719918f70e" args="" -->
 Array&lt; <a class="el" href="classepdf.html">epdf</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>epdfs</b></td></tr>
 
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2389c7585ac5d0d79587625186818889"></a><!-- doxytag: member="mprod::mpdfs" ref="2389c7585ac5d0d79587625186818889" args="" -->
-Array&lt; <a class="el" href="classmpdf.html">mpdf</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>mpdfs</b></td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c8f78fbcdb4e38ecd3197d2958082497"></a><!-- doxytag: member="mprod::rvinds" ref="c8f78fbcdb4e38ecd3197d2958082497" args="" -->
-Array&lt; ivec &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmprod.html#c8f78fbcdb4e38ecd3197d2958082497">rvinds</a></td></tr>
-
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indeces of rvs in common rv. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1725c7b497a27ab3c4889b846666b516"></a><!-- doxytag: member="mprod::rvcinrv" ref="1725c7b497a27ab3c4889b846666b516" args="" -->
-Array&lt; ivec &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmprod.html#1725c7b497a27ab3c4889b846666b516">rvcinrv</a></td></tr>
-
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indeces of rvc in common rv. <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cc85192d8abc01832937ed8b62e363a6"></a><!-- doxytag: member="mprod::rvcinds" ref="cc85192d8abc01832937ed8b62e363a6" args="" -->
 Array&lt; ivec &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6">rvcinds</a></td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indeces of rvc in common rvc. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c1646fe41ff5934d010e54ccaa46133f"></a><!-- doxytag: member="mprod::n" ref="c1646fe41ff5934d010e54ccaa46133f" args="" -->
+int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f">n</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of mpdfs in the composite. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="637877061b917a16a0421bb5c4cd480d"></a><!-- doxytag: member="mprod::mpdfs" ref="637877061b917a16a0421bb5c4cd480d" args="" -->
+Array&lt; <a class="el" href="classmpdf.html">mpdf</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d">mpdfs</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Elements of composition. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4d4a8269f9faefeca8cdc251a5a29a7f"></a><!-- doxytag: member="mprod::rvsinrv" ref="4d4a8269f9faefeca8cdc251a5a29a7f" args="" -->
+Array&lt; ivec &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcompositepdf.html#4d4a8269f9faefeca8cdc251a5a29a7f">rvsinrv</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indeces of rvs in common rv. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3df07bb5e3ed36a3119b145043296676"></a><!-- doxytag: member="mprod::rvcsinrv" ref="3df07bb5e3ed36a3119b145043296676" args="" -->
+Array&lt; ivec &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcompositepdf.html#3df07bb5e3ed36a3119b145043296676">rvcsinrv</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indeces of rvc in common rv. <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f6687c07ff07d47812dd565368ca59eb"></a><!-- doxytag: member="mprod::rv" ref="f6687c07ff07d47812dd565368ca59eb" args="" -->
 <a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">rv</a></td></tr>
@@ -157,7 +171,7 @@
 <p>Reimplemented from <a class="el" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b">mpdf</a>.</p>
 
-<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">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>
-
-<p>Referenced by <a class="el" href="emix_8h-source.html#l00128">samplecond()</a>.</p>
+<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>
+
+<p>Referenced by <a class="el" href="emix_8h-source.html#l00121">samplecond()</a>.</p>
 
 </div>
@@ -207,12 +221,12 @@
 <p>Reimplemented from <a class="el" href="classmpdf.html#0e37163660f93df2a4d723cedb1da89c">mpdf</a>.</p>
 
-<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">samplecond()</a>.</p>
+<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>
 
 </div>
 </div><p>
-<hr>The documentation for this class was generated from the following files:<ul>
-<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>
-</div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:54 2008 for mixpp by&nbsp;
+<hr>The documentation for this class was generated from the following file:<ul>
+<li>work/git/mixpp/bdm/stat/<a class="el" href="emix_8h-source.html">emix.h</a></ul>
+</div>
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/index.html
===================================================================
--- doc/html/index.html (revision 171)
+++ doc/html/index.html (revision 180)
@@ -44,5 +44,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:45 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classegiw-members.html
===================================================================
--- doc/html/classegiw-members.html (revision 171)
+++ doc/html/classegiw-members.html (revision 180)
@@ -38,4 +38,5 @@
   <tr class="memlist"><td><a class="el" href="classeEF.html#6466e8d4aa9dd64698ed288cbb1afc03">evalpdflog</a>(const vec &amp;val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">evalpdflog</a>(const mat &amp;Val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &amp;Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classegiw.html#2ab1e525d692be8272a6f383d60b94cd">evalpdflog_nn</a>(const vec &amp;val) const </td><td><a class="el" href="classegiw.html">egiw</a></td><td><code> [virtual]</code></td></tr>
   <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,5 +53,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:50 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_func_0x78.html
===================================================================
--- doc/html/functions_func_0x78.html (revision 171)
+++ doc/html/functions_func_0x78.html (revision 180)
@@ -66,5 +66,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_0x6f.html
===================================================================
--- doc/html/functions_0x6f.html (revision 171)
+++ doc/html/functions_0x6f.html (revision 180)
@@ -71,5 +71,5 @@
 : <a class="el" href="classitpp_1_1Gamma__RNG.html#d407bbcda8a39e3f07cac3fdf58ca430">itpp::Gamma_RNG</a>
 , <a class="el" href="classeprod.html#c049331d8b1ec7e4c088cf0cc6d47f3f">eprod</a>
-, <a class="el" href="classRV.html#65e5b820e482caff7f284d11898ef64f">RV</a>
+, <a class="el" href="classRV.html#248dfb2387976db2658489347669278c">RV</a>
 <li>operator*=()
 : <a class="el" href="classfsqmat.html#af800e7b2146da5e60897255dde80059">fsqmat</a>
@@ -84,18 +84,16 @@
 , <a class="el" href="classfsqmat.html#e976bc9d899961e1d2087b0630ed33b7">fsqmat</a>
 <li>operator&lt;&lt;
-: <a class="el" href="classKalmanFull.html#86ba216243ed95bb46d80d88775d16af">KalmanFull</a>
+: <a class="el" href="classldmat.html#eaaa0baa6026b84cfcbced41c84599d1">ldmat</a>
 , <a class="el" href="classfsqmat.html#e06aba54d61e807b41bd68b5ee6ac22f">fsqmat</a>
-, <a class="el" href="classldmat.html#eaaa0baa6026b84cfcbced41c84599d1">ldmat</a>
+, <a class="el" href="classKalmanFull.html#86ba216243ed95bb46d80d88775d16af">KalmanFull</a>
 , <a class="el" href="classRV.html#cad6f15535d10437f6690cb4492176a8">RV</a>
 <li>opupdt()
-: <a class="el" href="classfsqmat.html#b36530e155667fe9f1bd58394e50c65a">fsqmat</a>
-, <a class="el" href="classldmat.html#0f0f6e083e6d947cf58097ffce3ccd1a">ldmat</a>
+: <a class="el" href="classldmat.html#0f0f6e083e6d947cf58097ffce3ccd1a">ldmat</a>
 , <a class="el" href="classchmat.html#bbc2d98d7455b1f38828907d442836bf">chmat</a>
+, <a class="el" href="classfsqmat.html#b36530e155667fe9f1bd58394e50c65a">fsqmat</a>
 , <a class="el" href="classsqmat.html#b223484796661f2dadb5607a86ce0581">sqmat</a>
-<li>overlaps
-: <a class="el" href="classmerger.html#11eb177ef6409926b2ba3b4630bceab1">merger</a>
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/simulator_8h-source.html
===================================================================
--- doc/html/simulator_8h-source.html (revision 171)
+++ doc/html/simulator_8h-source.html (revision 180)
@@ -40,5 +40,5 @@
 <a name="l00024"></a>00024 <span class="keyword">extern</span> <span class="keywordtype">double</span> KalmanObs[10];
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classdiffbifn-members.html
===================================================================
--- doc/html/classdiffbifn-members.html (revision 171)
+++ doc/html/classdiffbifn-members.html (revision 180)
@@ -41,5 +41,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/inherits.html
===================================================================
--- doc/html/inherits.html (revision 171)
+++ doc/html/inherits.html (revision 180)
@@ -39,37 +39,34 @@
 <map name="DS_map">
 <area shape="rect" href="classDS.html" title="Abstract class for discrete&#45;time sources of data." alt="" coords="5,5,45,32"><area shape="rect" href="classMemDS.html" title="Class representing off&#45;line data stored in memory." alt="" coords="93,5,165,32"></map></td></tr>
-<tr><td><img src="inherit__graph__4.png" border="0" alt="" usemap="#epdf_map">
-<map name="epdf_map">
-<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&#45;inverse&#45;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\&lt; chmat \&gt;" alt="" coords="213,208,347,235"><area shape="rect" href="classenorm.html" title="enorm\&lt; fsqmat \&gt;" alt="" coords="211,259,349,285"><area shape="rect" href="classenorm.html" title="enorm\&lt; ldmat \&gt;" alt="" coords="215,309,345,336"></map></td></tr>
-<tr><td><img src="inherit__graph__5.png" border="0" alt="" usemap="#fnc_map">
+<tr><td><img src="inherit__graph__4.png" border="0" alt="" usemap="#fnc_map">
 <map name="fnc_map">
 <area shape="rect" href="classfnc.html" title="Class representing function &#160;of variable &#160;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>
-<tr><td><img src="inherit__graph__6.png" border="0" alt="" usemap="#itpp_1_1Gamma__RNG_map">
+<tr><td><img src="inherit__graph__5.png" border="0" alt="" usemap="#itpp_1_1Gamma__RNG_map">
 <map name="itpp_1_1Gamma__RNG_map">
 <area shape="rect" href="classitpp_1_1Gamma__RNG.html" title="Gamma distribution." alt="" coords="7,5,145,32"></map></td></tr>
-<tr><td><img src="inherit__graph__7.png" border="0" alt="" usemap="#KalmanFull_map">
+<tr><td><img src="inherit__graph__6.png" border="0" alt="" usemap="#KalmanFull_map">
 <map name="KalmanFull_map">
 <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\&lt; chmat \&gt;" alt="" coords="147,19,285,45"><area shape="rect" href="classKalman.html" title="Kalman\&lt; fsqmat \&gt;" alt="" coords="144,95,288,121"><area shape="rect" href="classKalman.html" title="Kalman\&lt; ldmat \&gt;" 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>
-<tr><td><img src="inherit__graph__8.png" border="0" alt="" usemap="#logger_map">
+<tr><td><img src="inherit__graph__7.png" border="0" alt="" usemap="#logger_map">
 <map name="logger_map">
 <area shape="rect" href="classlogger.html" title="Class for storing results (and semi&#45;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>
-<tr><td><img src="inherit__graph__9.png" border="0" alt="" usemap="#mpdf_map">
+<tr><td><img src="inherit__graph__8.png" border="0" alt="" usemap="#mpdf_map">
 <map name="mpdf_map">
-<area shape="rect" href="classmpdf.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>
-<tr><td><img src="inherit__graph__10.png" border="0" alt="" usemap="#RootElement_map">
+<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&#45;inverse&#45;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\&lt; chmat \&gt;" alt="" coords="283,360,416,387"><area shape="rect" href="classenorm.html" title="enorm\&lt; fsqmat \&gt;" alt="" coords="280,56,419,83"><area shape="rect" href="classenorm.html" title="enorm\&lt; ldmat \&gt;" 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>
+<tr><td><img src="inherit__graph__9.png" border="0" alt="" usemap="#RootElement_map">
 <map name="RootElement_map">
 <area shape="rect" href="classRootElement.html" title="This class serves to load and/or save DOMElements into/from files stored on a hard&#45;disk..." alt="" coords="7,5,108,32"></map></td></tr>
-<tr><td><img src="inherit__graph__11.png" border="0" alt="" usemap="#RV_map">
+<tr><td><img src="inherit__graph__10.png" border="0" alt="" usemap="#RV_map">
 <map name="RV_map">
 <area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="7,5,44,32"></map></td></tr>
-<tr><td><img src="inherit__graph__12.png" border="0" alt="" usemap="#sqmat_map">
+<tr><td><img src="inherit__graph__11.png" border="0" alt="" usemap="#sqmat_map">
 <map name="sqmat_map">
 <area shape="rect" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square&#45;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>
-<tr><td><img src="inherit__graph__13.png" border="0" alt="" usemap="#str_map">
+<tr><td><img src="inherit__graph__12.png" border="0" alt="" usemap="#str_map">
 <map name="str_map">
 <area shape="rect" href="classstr.html" title="Structure of RV (used internally)." alt="" coords="7,5,44,32"></map></td></tr>
 </table>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:56 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classeprod-members.html
===================================================================
--- doc/html/classeprod-members.html (revision 171)
+++ doc/html/classeprod-members.html (revision 180)
@@ -33,5 +33,5 @@
   <tr class="memlist"><td><a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">eval</a>(const vec &amp;val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classeprod.html#5adef154e3655a872c284b02635b8b35">evalpdflog</a>(const vec &amp;val) const </td><td><a class="el" href="classeprod.html">eprod</a></td><td><code> [inline, virtual]</code></td></tr>
-  <tr class="memlist"><td><a class="el" href="classepdf.html#6af383b6f1c6ea6fc5f6724dd03d8877">epdf::evalpdflog</a>(const mat &amp;Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &amp;Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
   <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>
   <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,5 +42,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_0x72.html
===================================================================
--- doc/html/functions_0x72.html (revision 171)
+++ doc/html/functions_0x72.html (revision 180)
@@ -79,14 +79,15 @@
 : <a class="el" href="classsqmat.html#071e80ced9cc3b8cbb360fa7462eb646">sqmat</a>
 , <a class="el" href="classldmat.html#96dfb21865db4f5bd36fa70f9b0b1163">ldmat</a>
+<li>RV()
+: <a class="el" href="classRV.html#6a22f5c06d6403870d4e414b1993bf9e">RV</a>
+<li>rv
+: <a class="el" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">epdf</a>
+, <a class="el" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">mpdf</a>
+<li>RV()
+: <a class="el" href="classRV.html#261702f85831392d7d67e2bcf0b69960">RV</a>
 <li>rv
 : <a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">BM</a>
 <li>RV()
 : <a class="el" href="classRV.html#bedfd8d197f0a7ac28a4d412dfc5b8af">RV</a>
-<li>rv
-: <a class="el" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">mpdf</a>
-<li>RV()
-: <a class="el" href="classRV.html#261702f85831392d7d67e2bcf0b69960">RV</a>
-<li>rv
-: <a class="el" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">epdf</a>
 <li>rvc
 : <a class="el" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab">mpdf</a>
@@ -94,9 +95,10 @@
 <li>rvcinds
 : <a class="el" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6">mprod</a>
-<li>rvcinrv
-: <a class="el" href="classmprod.html#1725c7b497a27ab3c4889b846666b516">mprod</a>
+<li>rvcsinrv
+: <a class="el" href="classcompositepdf.html#3df07bb5e3ed36a3119b145043296676">compositepdf</a>
 <li>rvinds
-: <a class="el" href="classmprod.html#c8f78fbcdb4e38ecd3197d2958082497">mprod</a>
-, <a class="el" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3">eprod</a>
+: <a class="el" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3">eprod</a>
+<li>rvsinrv
+: <a class="el" href="classcompositepdf.html#4d4a8269f9faefeca8cdc251a5a29a7f">compositepdf</a>
 <li>rvu
 : <a class="el" href="classKalman.html#44a16ffd5ac1e6e39bae34fea9e1e498">Kalman&lt; sq_T &gt;</a>
@@ -108,5 +110,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmEF.html
===================================================================
--- doc/html/classmEF.html (revision 171)
+++ doc/html/classmEF.html (revision 180)
@@ -133,5 +133,5 @@
 <p>Reimplemented in <a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">mprod</a>.</p>
 
-<p>References <a class="el" href="libBM_8h-source.html#l00207">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>
+<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>
 
 <p>Referenced by <a class="el" href="libPF_8h-source.html#l00137">MPF&lt; BM_T &gt;::bayes()</a>, and <a class="el" href="libPF_8cpp-source.html#l00007">PF::bayes()</a>.</p>
@@ -183,5 +183,5 @@
 <p>Reimplemented in <a class="el" href="classmprod.html#e171c40e210539c2af01d6237785620b">mprod</a>.</p>
 
-<p>References <a class="el" href="libBM_8h-source.html#l00207">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>
+<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>
 
 </div>
@@ -190,5 +190,5 @@
 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmemlog-members.html
===================================================================
--- doc/html/classmemlog-members.html (revision 171)
+++ doc/html/classmemlog-members.html (revision 180)
@@ -40,5 +40,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/ekf__templ_8h-source.html
===================================================================
--- doc/html/ekf__templ_8h-source.html (revision 171)
+++ doc/html/ekf__templ_8h-source.html (revision 180)
@@ -35,5 +35,5 @@
 <a name="l00032"></a>00032 <span class="preprocessor">#endif //EKF_TEMP_H</span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:45 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_func_0x63.html
===================================================================
--- doc/html/functions_func_0x63.html (revision 171)
+++ doc/html/functions_func_0x63.html (revision 180)
@@ -92,5 +92,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classKalmanFull-members.html
===================================================================
--- doc/html/classKalmanFull-members.html (revision 171)
+++ doc/html/classKalmanFull-members.html (revision 180)
@@ -47,5 +47,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classbilinfn.html
===================================================================
--- doc/html/classbilinfn.html (revision 171)
+++ doc/html/classbilinfn.html (revision 180)
@@ -215,5 +215,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmerger__coll__graph.map
===================================================================
--- doc/html/classmerger__coll__graph.map (revision 171)
+++ doc/html/classmerger__coll__graph.map (revision 180)
@@ -1,9 +1,10 @@
-<area shape="rect" href="$classmprod.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\&lt; fsqmat \&gt;" 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&#45;root form..." alt="" coords="263,204,324,231">
+<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">
Index: doc/html/classmprod__coll__graph.map
===================================================================
--- doc/html/classmprod__coll__graph.map (revision 171)
+++ doc/html/classmprod__coll__graph.map (revision 180)
@@ -1,3 +1,4 @@
-<area shape="rect" href="$classmpdf.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">
+<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">
Index: doc/html/functions_0x7e.html
===================================================================
--- doc/html/functions_0x7e.html (revision 171)
+++ doc/html/functions_0x7e.html (revision 180)
@@ -90,5 +90,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classeEF-members.html
===================================================================
--- doc/html/classeEF-members.html (revision 171)
+++ doc/html/classeEF-members.html (revision 180)
@@ -34,4 +34,5 @@
   <tr class="memlist"><td><a class="el" href="classeEF.html#6466e8d4aa9dd64698ed288cbb1afc03">evalpdflog</a>(const vec &amp;val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">evalpdflog</a>(const mat &amp;Val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &amp;Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classeEF.html#48cdd33d0e20d1a1aa45683c956bc61c">evalpdflog_nn</a>(const vec &amp;val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr>
   <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,5 +44,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:50 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmepdf.html
===================================================================
--- doc/html/classmepdf.html (revision 171)
+++ doc/html/classmepdf.html (revision 180)
@@ -133,5 +133,5 @@
 <p>Reimplemented in <a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">mprod</a>.</p>
 
-<p>References <a class="el" href="libBM_8h-source.html#l00207">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>
+<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>
 
 <p>Referenced by <a class="el" href="libPF_8h-source.html#l00137">MPF&lt; BM_T &gt;::bayes()</a>, and <a class="el" href="libPF_8cpp-source.html#l00007">PF::bayes()</a>.</p>
@@ -183,5 +183,5 @@
 <p>Reimplemented in <a class="el" href="classmprod.html#e171c40e210539c2af01d6237785620b">mprod</a>.</p>
 
-<p>References <a class="el" href="libBM_8h-source.html#l00207">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>
+<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>
 
 </div>
@@ -190,5 +190,5 @@
 <li>work/git/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:41 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classeDirich-members.html
===================================================================
--- doc/html/classeDirich-members.html (revision 171)
+++ doc/html/classeDirich-members.html (revision 180)
@@ -38,4 +38,5 @@
   <tr class="memlist"><td><a class="el" href="classeEF.html#6466e8d4aa9dd64698ed288cbb1afc03">evalpdflog</a>(const vec &amp;val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">evalpdflog</a>(const mat &amp;Val) const </td><td><a class="el" href="classeEF.html">eEF</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &amp;Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classeDirich.html#688a24f04be6d80d4769cf0e4ded7acc">evalpdflog_nn</a>(const vec &amp;val) const </td><td><a class="el" href="classeDirich.html">eDirich</a></td><td><code> [inline, virtual]</code></td></tr>
   <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,7 +46,8 @@
   <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>
   <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>
+  <tr class="memlist"><td><a class="el" href="classeDirich.html#c842acb2e1cce5cc9000769ff06c086d">set_parameters</a>(const vec &amp;beta0)</td><td><a class="el" href="classeDirich.html">eDirich</a></td><td><code> [inline]</code></td></tr>
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classeuni.html
===================================================================
--- doc/html/classeuni.html (revision 171)
+++ doc/html/classeuni.html (revision 180)
@@ -76,6 +76,6 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns N samples from density <img class="formulaInl" alt="$epdf(rv)$" src="form_59.png">. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6af383b6f1c6ea6fc5f6724dd03d8877"></a><!-- doxytag: member="euni::evalpdflog" ref="6af383b6f1c6ea6fc5f6724dd03d8877" args="(const mat &amp;Val) const " -->
-virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#6af383b6f1c6ea6fc5f6724dd03d8877">evalpdflog</a> (const mat &amp;Val) const </td></tr>
+<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 &amp;Val) const " -->
+virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &amp;Val) const </td></tr>
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr>
@@ -118,5 +118,5 @@
 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_func_0x6f.html
===================================================================
--- doc/html/functions_func_0x6f.html (revision 171)
+++ doc/html/functions_func_0x6f.html (revision 180)
@@ -68,5 +68,5 @@
 , <a class="el" href="classeprod.html#c049331d8b1ec7e4c088cf0cc6d47f3f">eprod</a>
 , <a class="el" href="classitpp_1_1Gamma__RNG.html#d407bbcda8a39e3f07cac3fdf58ca430">itpp::Gamma_RNG</a>
-, <a class="el" href="classRV.html#65e5b820e482caff7f284d11898ef64f">RV</a>
+, <a class="el" href="classRV.html#248dfb2387976db2658489347669278c">RV</a>
 <li>operator*=()
 : <a class="el" href="classldmat.html#875b7e6dcf73ae7001329099019fdb1d">ldmat</a>
@@ -87,5 +87,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_func_0x72.html
===================================================================
--- doc/html/functions_func_0x72.html (revision 171)
+++ doc/html/functions_func_0x72.html (revision 180)
@@ -76,5 +76,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/ekf__example_2regulace_8h-source.html
===================================================================
--- doc/html/ekf__example_2regulace_8h-source.html (revision 171)
+++ doc/html/ekf__example_2regulace_8h-source.html (revision 180)
@@ -33,5 +33,5 @@
 <a name="l00017"></a>00017 <span class="comment">// Idw_urm, Urmf, Iqw_reg </span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/globals_enum.html
===================================================================
--- doc/html/globals_enum.html (revision 171)
+++ doc/html/globals_enum.html (revision 180)
@@ -38,5 +38,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:56 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:45 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classMPF.html
===================================================================
--- doc/html/classMPF.html (revision 171)
+++ doc/html/classMPF.html (revision 180)
@@ -69,4 +69,12 @@
 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a> (const vec &amp;dt) const </td></tr>
 
+<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 &amp;dt) const " -->
+vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &amp;dt) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="MPF::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &amp;rv)" -->
+virtual <a class="el" href="classepdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="MPF::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " -->
 const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">_rv</a> () const </td></tr>
@@ -165,5 +173,5 @@
 <p>Reimplemented from <a class="el" href="classPF.html#64f636bbd63bea9efd778214e6b631d3">PF</a>.</p>
 
-<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#l00196">mpdf::samplecond()</a>.</p>
+<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>
 
 </div>
@@ -189,4 +197,6 @@
 <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>
 
+<p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p>
+
 </div>
 </div><p>
@@ -209,7 +219,7 @@
 <p>
 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; } 
-<p>Reimplemented in <a class="el" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>
-
-<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::MixEF()</a>.</p>
+<p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p>
+
+<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p>
 
 </div>
@@ -218,5 +228,5 @@
 <li>work/git/mixpp/bdm/estim/<a class="el" href="libPF_8h-source.html">libPF.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:54 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classEKF__unQ.html
===================================================================
--- doc/html/classEKF__unQ.html (revision 171)
+++ doc/html/classEKF__unQ.html (revision 180)
@@ -107,4 +107,12 @@
 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a> (const vec &amp;dt) const </td></tr>
 
+<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 &amp;dt) const " -->
+vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &amp;dt) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr>
+<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 &amp;rv)" -->
+virtual <a class="el" href="classepdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="EKF_unQ::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " -->
 const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">_rv</a> () const </td></tr>
@@ -245,4 +253,6 @@
 <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>
 
+<p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p>
+
 </div>
 </div><p>
@@ -265,7 +275,7 @@
 <p>
 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; } 
-<p>Reimplemented in <a class="el" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>
-
-<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::MixEF()</a>.</p>
+<p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p>
+
+<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p>
 
 </div>
@@ -274,5 +284,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:50 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classeuni-members.html
===================================================================
--- doc/html/classeuni-members.html (revision 171)
+++ doc/html/classeuni-members.html (revision 180)
@@ -33,5 +33,5 @@
   <tr class="memlist"><td><a class="el" href="classeuni.html#2723d4992900b5c5495bfa03628195ed">eval</a>(const vec &amp;val) const </td><td><a class="el" href="classeuni.html">euni</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classeuni.html#06af95d514a6623ad4688bd2ad50ad71">evalpdflog</a>(const vec &amp;val) const </td><td><a class="el" href="classeuni.html">euni</a></td><td><code> [inline, virtual]</code></td></tr>
-  <tr class="memlist"><td><a class="el" href="classepdf.html#6af383b6f1c6ea6fc5f6724dd03d8877">epdf::evalpdflog</a>(const mat &amp;Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &amp;Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
   <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>
   <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,5 +45,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/inherit__graph__5.map
===================================================================
--- doc/html/inherit__graph__5.map (revision 162)
+++ doc/html/inherit__graph__5.map (revision 180)
@@ -1,8 +1,1 @@
-<area shape="rect" href="$classfnc.html" title="Class representing function &#160;of variable &#160;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">
+<area shape="rect" href="$classitpp_1_1Gamma__RNG.html" title="Gamma distribution." alt="" coords="7,5,145,32">
Index: doc/html/classmerger__coll__graph.md5
===================================================================
--- doc/html/classmerger__coll__graph.md5 (revision 171)
+++ doc/html/classmerger__coll__graph.md5 (revision 180)
@@ -1,1 +1,1 @@
-45a8879a1fdebb2bc48d6a4291cafa28
+07aaf0a4acd39b579e48d1b2185c90a0
Index: doc/html/classmprod__coll__graph.md5
===================================================================
--- doc/html/classmprod__coll__graph.md5 (revision 171)
+++ doc/html/classmprod__coll__graph.md5 (revision 180)
@@ -1,1 +1,1 @@
-3b8ab3b994e46b7888ad69e2c93c8fcc
+ae05eb01ede359bf047b2859d4015285
Index: doc/html/libBM_8h-source.html
===================================================================
--- doc/html/libBM_8h-source.html (revision 171)
+++ doc/html/libBM_8h-source.html (revision 180)
@@ -60,10 +60,10 @@
 <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> &amp;rv2 ) <span class="keyword">const</span>;
 <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> &amp;rv2 );
-<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>;
-<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> ( ivec ind ) <span class="keyword">const</span>;
-<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>( ivec ind ) <span class="keyword">const</span>;
+<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> &amp;rv2 ) <span class="keyword">const</span>;
+<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 &amp;ind ) <span class="keyword">const</span>;
+<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 &amp;ind ) <span class="keyword">const</span>;
 <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 );
 <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>;
-<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>;
+<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> &amp;crv) <span class="keyword">const</span>;
 <a name="l00093"></a>00093 
 <a name="l00095"></a><a class="code" href="classRV.html#b88ef5124713c9e30fd9446846b3f044">00095</a>         Array&lt;std::string&gt;&amp; <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,147 +73,169 @@
 <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 );};
 <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 );};
-<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>();
-<a name="l00107"></a>00107 };
-<a name="l00108"></a>00108 
-<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> &amp;rv1, <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv2 );
-<a name="l00111"></a>00111 
+<a name="l00105"></a>00105         
+<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;};
+<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>);};
+<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;};
 <a name="l00112"></a>00112 
-<a name="l00114"></a>00114 
-<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> {
-<a name="l00116"></a>00116 <span class="keyword">protected</span>:
-<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>;
-<a name="l00119"></a>00119 <span class="keyword">public</span>:
-<a name="l00121"></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 ) {};
-<a name="l00123"></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 &amp;cond ) {
-<a name="l00124"></a>00124                 <span class="keywordflow">return</span> vec ( 0 );
-<a name="l00125"></a>00125         };
-<a name="l00126"></a>00126 
-<a name="l00128"></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>;}
-<a name="l00129"></a>00129 
-<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>() {};
-<a name="l00132"></a>00132 };
-<a name="l00133"></a>00133 
+<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>();
+<a name="l00115"></a>00115 };
+<a name="l00116"></a>00116 
+<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> &amp;rv1, <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv2 );
+<a name="l00119"></a>00119 
+<a name="l00120"></a>00120 
+<a name="l00122"></a>00122 
+<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> {
+<a name="l00124"></a>00124 <span class="keyword">protected</span>:
+<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>;
+<a name="l00127"></a>00127 <span class="keyword">public</span>:
+<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 ) {};
+<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 &amp;cond ) {
+<a name="l00132"></a>00132                 <span class="keywordflow">return</span> vec ( 0 );
+<a name="l00133"></a>00133         };
 <a name="l00134"></a>00134 
-<a name="l00136"></a>00136 
-<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> {
-<a name="l00138"></a>00138 <span class="keyword">protected</span>:
-<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>;
-<a name="l00141"></a>00141 <span class="keyword">public</span>:
-<a name="l00143"></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> ( ) {};
+<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>;}
+<a name="l00137"></a>00137 
+<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>() {};
+<a name="l00140"></a>00140 };
+<a name="l00141"></a>00141 
+<a name="l00142"></a>00142 
 <a name="l00144"></a>00144 
-<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> &amp;rv0 ) :<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a> ( rv0 ) {};
-<a name="l00147"></a>00147 
-<a name="l00148"></a>00148 <span class="comment">//      //! Returns the required moment of the epdf</span>
-<a name="l00149"></a>00149 <span class="comment">//      virtual vec moment ( const int order = 1 );</span>
-<a name="l00150"></a>00150         
-<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;
-<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>;
-<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 &amp;val )<span class="keyword"> const </span>{<span class="keywordflow">return</span> exp ( this-&gt;<a class="code" href="classepdf.html#6aef3eca74899692503769c18add1a4c" title="Compute log-probability of argument val.">evalpdflog</a> ( val ) );};
-<a name="l00157"></a>00157 
-<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 &amp;val ) <span class="keyword">const</span> =0;
-<a name="l00160"></a>00160 
-<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 &amp;Val )<span class="keyword"> const </span>{
-<a name="l00163"></a>00163                 vec x ( Val.cols() );
-<a name="l00164"></a>00164                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;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) ) ;}
-<a name="l00165"></a>00165                 <span class="keywordflow">return</span> x;
-<a name="l00166"></a>00166         }
-<a name="l00167"></a>00167 
-<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;
-<a name="l00170"></a>00170 
-<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>() {};
-<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>&amp; <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>;}
-<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> &amp;in_rv){<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>=in_rv;}
-<a name="l00177"></a>00177 };
+<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> {
+<a name="l00146"></a>00146 <span class="keyword">protected</span>:
+<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>;
+<a name="l00149"></a>00149 <span class="keyword">public</span>:
+<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> ( ) {};
+<a name="l00152"></a>00152 
+<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> &amp;rv0 ) :<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a> ( rv0 ) {};
+<a name="l00155"></a>00155 
+<a name="l00156"></a>00156 <span class="comment">//      //! Returns the required moment of the epdf</span>
+<a name="l00157"></a>00157 <span class="comment">//      virtual vec moment ( const int order = 1 );</span>
+<a name="l00158"></a>00158         
+<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;
+<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>;
+<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 &amp;val )<span class="keyword"> const </span>{<span class="keywordflow">return</span> exp ( this-&gt;<a class="code" href="classepdf.html#6aef3eca74899692503769c18add1a4c" title="Compute log-probability of argument val.">evalpdflog</a> ( val ) );};
+<a name="l00165"></a>00165 
+<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 &amp;val ) <span class="keyword">const</span> =0;
+<a name="l00168"></a>00168 
+<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 &amp;Val )<span class="keyword"> const </span>{
+<a name="l00171"></a>00171                 vec x ( Val.cols() );
+<a name="l00172"></a>00172                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;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) ) ;}
+<a name="l00173"></a>00173                 <span class="keywordflow">return</span> x;
+<a name="l00174"></a>00174         }
+<a name="l00175"></a>00175 
+<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;
 <a name="l00178"></a>00178 
-<a name="l00179"></a>00179 
-<a name="l00181"></a>00181 <span class="comment">//TODO Samplecond can be generalized</span>
-<a name="l00182"></a>00182 
-<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> {
-<a name="l00184"></a>00184 <span class="keyword">protected</span>:
-<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>;
-<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>;
-<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>;
-<a name="l00191"></a>00191 <span class="keyword">public</span>:
-<a name="l00192"></a>00192 
-<a name="l00194"></a>00194 <span class="comment">//      virtual fnc moment ( const int order = 1 );</span>
-<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 &amp;cond, <span class="keywordtype">double</span> &amp;ll ) {this-&gt;<a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( cond );
-<a name="l00197"></a>00197         vec temp= <a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-&gt;<a class="code" href="classepdf.html#8019654e494bf5e458f6fb947e11b262" title="Returns a sample,  from density .">sample</a>();
-<a name="l00198"></a>00198         ll=<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-&gt;<a class="code" href="classepdf.html#6aef3eca74899692503769c18add1a4c" title="Compute log-probability of argument val.">evalpdflog</a> ( temp );<span class="keywordflow">return</span> temp;};
-<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 &amp;cond, vec &amp;ll, <span class="keywordtype">int</span> N ) {
-<a name="l00201"></a>00201                 this-&gt;<a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( cond );
-<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>() ); 
-<a name="l00203"></a>00203                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;N;i++ ) {smp=<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-&gt;<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>-&gt;<a class="code" href="classepdf.html#6aef3eca74899692503769c18add1a4c" title="Compute log-probability of argument val.">evalpdflog</a> ( smp );}
-<a name="l00204"></a>00204                 <span class="keywordflow">return</span> temp;
-<a name="l00205"></a>00205         };
-<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 &amp;cond ) {};
-<a name="l00208"></a>00208 
-<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 &amp;dt, <span class="keyword">const</span> vec &amp;cond ) {this-&gt;<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>-&gt;<a class="code" href="classepdf.html#3ea597362e11a0040fe7c990269d072c" title="Compute probability of argument val.">eval</a> ( dt );};
-<a name="l00211"></a>00211 
-<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>() {};
-<a name="l00214"></a>00214 
-<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> &amp;rv0, <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;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 ) {};
-<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>;}
-<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>;}
-<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>&amp; <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>;}
-<a name="l00223"></a>00223 };
-<a name="l00224"></a>00224 
-<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> {
-<a name="l00230"></a>00230 <span class="keyword">public</span>:
-<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> &amp;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>=&amp;em;};
-<a name="l00233"></a>00233 };
-<a name="l00234"></a>00234 
-<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> {
-<a name="l00243"></a>00243 <span class="keyword">protected</span>:
-<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>;
-<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>
-<a name="l00248"></a>00248 <span class="keyword">public</span>:
-<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 &amp;dt );
-<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 &amp;dt, ivec &amp;indeces );
-<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 &amp;ut );
-<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 &amp;ut, ivec &amp;indeces );
-<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> &amp;drv, <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;urv );
-<a name="l00263"></a>00263 
-<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>();
-<a name="l00266"></a>00266 
-<a name="l00267"></a>00267 };
-<a name="l00268"></a>00268 
-<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> {
-<a name="l00274"></a>00274 <span class="keyword">protected</span>:
-<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>;
-<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>;
-<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>;
-<a name="l00281"></a>00281 <span class="keyword">public</span>:
-<a name="l00282"></a>00282 
-<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> &amp;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>
-<a name="l00285"></a>00285         };
-<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> &amp;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>) {}
-<a name="l00288"></a>00288 
-<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 &amp;dt ) = 0;
-<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 &amp;Dt );
-<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>&amp; <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;
-<a name="l00297"></a>00297 
-<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 &amp;dt)<span class="keyword">const</span>{it_error(<span class="stringliteral">"Not implemented"</span>);<span class="keywordflow">return</span> 0.0;}
-<a name="l00301"></a>00301         
-<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>() {};
-<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>&amp; <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>;}
-<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>;}
-<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;}
-<a name="l00310"></a>00310         
-<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;};
-<a name="l00314"></a>00314 };
+<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>() {};
+<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>&amp; <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>;}
+<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> &amp;in_rv){<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>=in_rv;}
+<a name="l00185"></a>00185 };
+<a name="l00186"></a>00186 
+<a name="l00187"></a>00187 
+<a name="l00189"></a>00189 <span class="comment">//TODO Samplecond can be generalized</span>
+<a name="l00190"></a>00190 
+<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> {
+<a name="l00192"></a>00192 <span class="keyword">protected</span>:
+<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>;
+<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>;
+<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>;
+<a name="l00199"></a>00199 <span class="keyword">public</span>:
+<a name="l00200"></a>00200 
+<a name="l00202"></a>00202 <span class="comment">//      virtual fnc moment ( const int order = 1 );</span>
+<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 &amp;cond, <span class="keywordtype">double</span> &amp;ll ) {this-&gt;<a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( cond );
+<a name="l00205"></a>00205         vec temp= <a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-&gt;<a class="code" href="classepdf.html#8019654e494bf5e458f6fb947e11b262" title="Returns a sample,  from density .">sample</a>();
+<a name="l00206"></a>00206         ll=<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-&gt;<a class="code" href="classepdf.html#6aef3eca74899692503769c18add1a4c" title="Compute log-probability of argument val.">evalpdflog</a> ( temp );<span class="keywordflow">return</span> temp;};
+<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 &amp;cond, vec &amp;ll, <span class="keywordtype">int</span> N ) {
+<a name="l00209"></a>00209                 this-&gt;<a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( cond );
+<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>() ); 
+<a name="l00211"></a>00211                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;N;i++ ) {smp=<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-&gt;<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>-&gt;<a class="code" href="classepdf.html#6aef3eca74899692503769c18add1a4c" title="Compute log-probability of argument val.">evalpdflog</a> ( smp );}
+<a name="l00212"></a>00212                 <span class="keywordflow">return</span> temp;
+<a name="l00213"></a>00213         };
+<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 &amp;cond ) {};
+<a name="l00216"></a>00216 
+<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 &amp;dt, <span class="keyword">const</span> vec &amp;cond ) {this-&gt;<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>-&gt;<a class="code" href="classepdf.html#3ea597362e11a0040fe7c990269d072c" title="Compute probability of argument val.">eval</a> ( dt );};
+<a name="l00219"></a>00219 
+<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>() {};
+<a name="l00222"></a>00222 
+<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> &amp;rv0, <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;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 ) {};
+<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>;}
+<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>;}
+<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>&amp; <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>;}
+<a name="l00231"></a>00231 };
+<a name="l00232"></a>00232 
+<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> {
+<a name="l00238"></a>00238 <span class="keyword">public</span>:
+<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> &amp;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>=&amp;em;};
+<a name="l00241"></a>00241 };
+<a name="l00242"></a>00242 
+<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>{
+<a name="l00245"></a>00245         <span class="keyword">protected</span>:
+<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>;
+<a name="l00249"></a><a class="code" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d">00249</a>                 Array&lt;mpdf*&gt; <a class="code" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d" title="Elements of composition.">mpdfs</a>;
+<a name="l00251"></a><a class="code" href="classcompositepdf.html#4d4a8269f9faefeca8cdc251a5a29a7f">00251</a>                 Array&lt;ivec&gt; <a class="code" href="classcompositepdf.html#4d4a8269f9faefeca8cdc251a5a29a7f" title="Indeces of rvs in common rv.">rvsinrv</a>;
+<a name="l00253"></a><a class="code" href="classcompositepdf.html#3df07bb5e3ed36a3119b145043296676">00253</a>                 Array&lt;ivec&gt; <a class="code" href="classcompositepdf.html#3df07bb5e3ed36a3119b145043296676" title="Indeces of rvc in common rv.">rvcsinrv</a>;
+<a name="l00254"></a>00254         <span class="keyword">public</span>:
+<a name="l00255"></a>00255                 <a class="code" href="classcompositepdf.html" title="Abstract composition of pdfs, a base for specific classes.">compositepdf</a>(Array&lt;mpdf*&gt; 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>){};
+<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>);
+<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> &amp;rv, <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rvc);
+<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> &amp;rv);
+<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> &amp;rvc, Array&lt;ivec&gt; &amp;rvcind);
+<a name="l00260"></a>00260 };
+<a name="l00261"></a>00261 
+<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> {
+<a name="l00270"></a>00270 <span class="keyword">protected</span>:
+<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>;
+<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>
+<a name="l00275"></a>00275 <span class="keyword">public</span>:
+<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 &amp;dt );
+<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 &amp;dt, ivec &amp;indeces );
+<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 &amp;ut );
+<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 &amp;ut, ivec &amp;indeces );
+<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> &amp;drv, <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;urv );
+<a name="l00290"></a>00290 
+<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>();
+<a name="l00293"></a>00293 
+<a name="l00294"></a>00294 };
+<a name="l00295"></a>00295 
+<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> {
+<a name="l00301"></a>00301 <span class="keyword">protected</span>:
+<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>;
+<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>;
+<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>;
+<a name="l00308"></a>00308 <span class="keyword">public</span>:
+<a name="l00309"></a>00309 
+<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> &amp;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>
+<a name="l00312"></a>00312         };
+<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> &amp;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>) {}
 <a name="l00315"></a>00315 
-<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> {
-<a name="l00326"></a>00326 <span class="keyword">protected</span>:
-<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>;
-<a name="l00329"></a>00329 <span class="keyword">public</span>:
-<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 &amp;val ) =0;
-<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> &amp;rv0 ) :<a class="code" href="classBMcond.html#9ba793c8ec453f04d372d17195ed8dec" title="Identificator of the conditioning variable.">rvc</a> ( rv0 ) {};
-<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>() {};
-<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>&amp; <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>;}
-<a name="l00338"></a>00338 };
-<a name="l00339"></a>00339 
-<a name="l00340"></a>00340 <span class="preprocessor">#endif // BM_H</span>
+<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 &amp;dt ) = 0;
+<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 &amp;Dt );
+<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>&amp; <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;
+<a name="l00324"></a>00324 
+<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 &amp;dt)<span class="keyword">const</span>{it_error(<span class="stringliteral">"Not implemented"</span>);<span class="keywordflow">return</span> 0.0;}
+<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 &amp;dt)<span class="keyword">const</span>{vec tmp(dt.cols());<span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0;i&lt;dt.cols();i++){tmp(i)=<a class="code" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(dt.get_col(i));}<span class="keywordflow">return</span> tmp;}
+<a name="l00330"></a>00330         
+<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> &amp;<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;};
+<a name="l00333"></a>00333         
+<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>() {};
+<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>&amp; <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>;}
+<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>;}
+<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;}
+<a name="l00342"></a>00342         
+<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;};
+<a name="l00346"></a>00346 };
+<a name="l00347"></a>00347 
+<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> {
+<a name="l00358"></a>00358 <span class="keyword">protected</span>:
+<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>;
+<a name="l00361"></a>00361 <span class="keyword">public</span>:
+<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 &amp;val ) =0;
+<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> &amp;rv0 ) :<a class="code" href="classBMcond.html#9ba793c8ec453f04d372d17195ed8dec" title="Identificator of the conditioning variable.">rvc</a> ( rv0 ) {};
+<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>() {};
+<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>&amp; <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>;}
+<a name="l00370"></a>00370 };
+<a name="l00371"></a>00371 
+<a name="l00372"></a>00372 <span class="preprocessor">#endif // BM_H</span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:45 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_func_0x7e.html
===================================================================
--- doc/html/functions_func_0x7e.html (revision 171)
+++ doc/html/functions_func_0x7e.html (revision 180)
@@ -88,5 +88,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/libBM_8h__dep__incl.map
===================================================================
--- doc/html/libBM_8h__dep__incl.map (revision 171)
+++ doc/html/libBM_8h__dep__incl.map (revision 180)
@@ -1,16 +1,16 @@
-<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">
+<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">
Index: doc/html/ekf__obj_8h.html
===================================================================
--- doc/html/ekf__obj_8h.html (revision 171)
+++ doc/html/ekf__obj_8h.html (revision 180)
@@ -53,5 +53,5 @@
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
 Using IT++ for numerical operations ----------------------------------- </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classdirfilelog.html
===================================================================
--- doc/html/classdirfilelog.html (revision 171)
+++ doc/html/classdirfilelog.html (revision 180)
@@ -185,5 +185,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classEKFCh.html
===================================================================
--- doc/html/classEKFCh.html (revision 171)
+++ doc/html/classEKFCh.html (revision 180)
@@ -86,4 +86,12 @@
 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a> (const vec &amp;dt) const </td></tr>
 
+<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 &amp;dt) const " -->
+vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &amp;dt) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="EKFCh::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &amp;rv)" -->
+virtual <a class="el" href="classepdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="EKFCh::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " -->
 const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">_rv</a> () const </td></tr>
@@ -218,4 +226,6 @@
 <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>
 
+<p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p>
+
 </div>
 </div><p>
@@ -238,7 +248,7 @@
 <p>
 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; } 
-<p>Reimplemented in <a class="el" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>
-
-<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::MixEF()</a>.</p>
+<p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p>
+
+<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p>
 
 </div>
@@ -247,5 +257,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:51 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classIMpmsmStat-members.html
===================================================================
--- doc/html/classIMpmsmStat-members.html (revision 171)
+++ doc/html/classIMpmsmStat-members.html (revision 180)
@@ -47,5 +47,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classUserInfo.html
===================================================================
--- doc/html/classUserInfo.html (revision 171)
+++ doc/html/classUserInfo.html (revision 180)
@@ -231,5 +231,5 @@
 <li>work/git/mixpp/bdm/<a class="el" href="userinfo_8h-source.html">userinfo.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:56 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classCompoundUserInfo.html
===================================================================
--- doc/html/classCompoundUserInfo.html (revision 171)
+++ doc/html/classCompoundUserInfo.html (revision 180)
@@ -241,5 +241,5 @@
 <li>work/git/mixpp/bdm/<a class="el" href="userinfo_8h-source.html">userinfo.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/inherit__graph__5.md5
===================================================================
--- doc/html/inherit__graph__5.md5 (revision 162)
+++ doc/html/inherit__graph__5.md5 (revision 180)
@@ -1,1 +1,1 @@
-e444d990850db412317a9c0e33514d49
+02a2715b2ed1df5ea708815b8edb77bb
Index: doc/html/sim__var_8cpp.html
===================================================================
--- doc/html/sim__var_8cpp.html (revision 171)
+++ doc/html/sim__var_8cpp.html (revision 180)
@@ -50,5 +50,5 @@
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
 Using IT++ for numerical operations ----------------------------------- </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmgamma__fix.html
===================================================================
--- doc/html/classmgamma__fix.html (revision 171)
+++ doc/html/classmgamma__fix.html (revision 180)
@@ -166,5 +166,5 @@
 <p>Reimplemented in <a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">mprod</a>.</p>
 
-<p>References <a class="el" href="libBM_8h-source.html#l00207">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>
+<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>
 
 <p>Referenced by <a class="el" href="libPF_8h-source.html#l00137">MPF&lt; BM_T &gt;::bayes()</a>, and <a class="el" href="libPF_8cpp-source.html#l00007">PF::bayes()</a>.</p>
@@ -216,5 +216,5 @@
 <p>Reimplemented in <a class="el" href="classmprod.html#e171c40e210539c2af01d6237785620b">mprod</a>.</p>
 
-<p>References <a class="el" href="libBM_8h-source.html#l00207">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>
+<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>
 
 </div>
@@ -223,5 +223,5 @@
 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classepdf-members.html
===================================================================
--- doc/html/classepdf-members.html (revision 171)
+++ doc/html/classepdf-members.html (revision 180)
@@ -31,5 +31,5 @@
   <tr class="memlist"><td><a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">eval</a>(const vec &amp;val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">evalpdflog</a>(const vec &amp;val) const =0</td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [pure virtual]</code></td></tr>
-  <tr class="memlist"><td><a class="el" href="classepdf.html#6af383b6f1c6ea6fc5f6724dd03d8877">evalpdflog</a>(const mat &amp;Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &amp;Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
   <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>
   <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,5 +38,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classdirfilelog-members.html
===================================================================
--- doc/html/classdirfilelog-members.html (revision 171)
+++ doc/html/classdirfilelog-members.html (revision 180)
@@ -44,5 +44,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classEKFCh-members.html
===================================================================
--- doc/html/classEKFCh-members.html (revision 171)
+++ doc/html/classEKFCh-members.html (revision 180)
@@ -56,6 +56,8 @@
   <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>
   <tr class="memlist"><td><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a>(const vec &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr>
   <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>
   <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>
+  <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &amp;rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classKalman.html#9b69015c800eb93f3ee49da23a6f55d9">Q</a></td><td><a class="el" href="classKalman.html">Kalman&lt; chmat &gt;</a></td><td><code> [protected]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classKalman.html#11d171dc0e0ab111c56a70f98b97b3ec">R</a></td><td><a class="el" href="classKalman.html">Kalman&lt; chmat &gt;</a></td><td><code> [protected]</code></td></tr>
@@ -69,5 +71,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:51 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:38 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classstr.html
===================================================================
--- doc/html/classstr.html (revision 171)
+++ doc/html/classstr.html (revision 180)
@@ -49,5 +49,5 @@
 <li>work/git/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:56 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/libBM_8h__dep__incl.md5
===================================================================
--- doc/html/libBM_8h__dep__incl.md5 (revision 171)
+++ doc/html/libBM_8h__dep__incl.md5 (revision 180)
@@ -1,1 +1,1 @@
-d7914bfc48be0ea06613d46b131b0585
+3cf0dcbab159c440328ef3b97dfae1fd
Index: doc/html/classmpdf-members.html
===================================================================
--- doc/html/classmpdf-members.html (revision 171)
+++ doc/html/classmpdf-members.html (revision 180)
@@ -38,5 +38,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:54 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classRV-members.html
===================================================================
--- doc/html/classRV-members.html (revision 171)
+++ doc/html/classRV-members.html (revision 180)
@@ -28,5 +28,5 @@
   <tr class="memlist"><td><a class="el" href="classRV.html#935790526b630dec4ffefa9ec0c2b6fb">add</a>(const RV &amp;rv2)</td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
   <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>
-  <tr class="memlist"><td><a class="el" href="classRV.html#1844ea0d9c10428f5e0ee1d4d569ef0a">dataind</a>(RV crv) const </td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
+  <tr class="memlist"><td><a class="el" href="classRV.html#bb724fa4e2d9ed7bfd0993b5975018a4">dataind</a>(const RV &amp;crv) const </td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
   <tr class="memlist"><td><a class="el" href="classRV.html#82cc7fa22ce91cf461a522ad62014c65">equal</a>(const RV &amp;rv2) const </td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
   <tr class="memlist"><td><a class="el" href="classRV.html#0c493a7a897f4d75682f4264e40779a1">findself</a>(const RV &amp;rv2) const </td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
@@ -38,5 +38,5 @@
   <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>
   <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>
-  <tr class="memlist"><td><a class="el" href="classRV.html#65e5b820e482caff7f284d11898ef64f">operator()</a>(ivec ind) const </td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
+  <tr class="memlist"><td><a class="el" href="classRV.html#248dfb2387976db2658489347669278c">operator()</a>(const ivec &amp;ind) const </td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
   <tr class="memlist"><td><a class="el" href="classRV.html#cad6f15535d10437f6690cb4492176a8">operator&lt;&lt;</a>(std::ostream &amp;os, const RV &amp;rv)</td><td><a class="el" href="classRV.html">RV</a></td><td><code> [friend]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classRV.html#bedfd8d197f0a7ac28a4d412dfc5b8af">RV</a>(Array&lt; std::string &gt; in_names, ivec in_sizes, ivec in_times)</td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
@@ -44,8 +44,11 @@
   <tr class="memlist"><td><a class="el" href="classRV.html#261702f85831392d7d67e2bcf0b69960">RV</a>(Array&lt; std::string &gt; in_names)</td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
   <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>
+  <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>
+  <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>
+  <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>
   <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>
   <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>
-  <tr class="memlist"><td><a class="el" href="classRV.html#0a9ea7bc6fad270cc54a455a9f8f387d">subselect</a>(ivec ind) const </td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
-  <tr class="memlist"><td><a class="el" href="classRV.html#a85c47bd838ebbdcb6798d7843e87db2">subt</a>(const RV rv2) const </td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
+  <tr class="memlist"><td><a class="el" href="classRV.html#b26d25a122be3303806af7726a625a0f">subselect</a>(const ivec &amp;ind) const </td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
+  <tr class="memlist"><td><a class="el" href="classRV.html#b9d175c327c21488b1e2fb756a84e149">subt</a>(const RV &amp;rv2) const </td><td><a class="el" href="classRV.html">RV</a></td><td></td></tr>
   <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>
   <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,5 +57,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:56 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classIMpmsm-members.html
===================================================================
--- doc/html/classIMpmsm-members.html (revision 171)
+++ doc/html/classIMpmsm-members.html (revision 180)
@@ -51,5 +51,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmgamma__fix-members.html
===================================================================
--- doc/html/classmgamma__fix-members.html (revision 171)
+++ doc/html/classmgamma__fix-members.html (revision 180)
@@ -48,5 +48,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/libBM_8h.html
===================================================================
--- doc/html/libBM_8h.html (revision 171)
+++ doc/html/libBM_8h.html (revision 180)
@@ -34,5 +34,5 @@
 <p><center><img src="libBM_8h__dep__incl.png" border="0" usemap="#work/git/mixpp/bdm/stat/libBM.hdep_map" alt=""></center>
 <map name="work/git/mixpp/bdm/stat/libBM.hdep_map">
-<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>
+<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>
 </div>
 
@@ -59,4 +59,7 @@
 
 <tr><td class="mdescLeft">&nbsp;</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>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcompositepdf.html">compositepdf</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Abstract composition of pdfs, a base for specific classes.  <a href="classcompositepdf.html#_details">More...</a><br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDS.html">DS</a></td></tr>
 
@@ -80,5 +83,5 @@
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
 Using IT++ for numerical operations ----------------------------------- </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classstr-members.html
===================================================================
--- doc/html/classstr-members.html (revision 171)
+++ doc/html/classstr-members.html (revision 180)
@@ -29,5 +29,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:56 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_0x64.html
===================================================================
--- doc/html/functions_0x64.html (revision 171)
+++ doc/html/functions_0x64.html (revision 180)
@@ -68,5 +68,5 @@
 , <a class="el" href="classldmat.html#4cce04824539c4a8d062d9a36d6e014e">ldmat</a>
 <li>dataind()
-: <a class="el" href="classRV.html#1844ea0d9c10428f5e0ee1d4d569ef0a">RV</a>
+: <a class="el" href="classRV.html#bb724fa4e2d9ed7bfd0993b5975018a4">RV</a>
 <li>dfdu_cond()
 : <a class="el" href="classdiffbifn.html#1978bafd7909d15c139a08c495c24aa0">diffbifn</a>
@@ -110,5 +110,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/loggers_8h.html
===================================================================
--- doc/html/loggers_8h.html (revision 171)
+++ doc/html/loggers_8h.html (revision 180)
@@ -61,5 +61,5 @@
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
 Using IT++ for numerical operations ----------------------------------- </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classCompoundUserInfo_1_1BindedElement.html
===================================================================
--- doc/html/classCompoundUserInfo_1_1BindedElement.html (revision 171)
+++ doc/html/classCompoundUserInfo_1_1BindedElement.html (revision 180)
@@ -116,5 +116,5 @@
 <li>work/git/mixpp/bdm/<a class="el" href="userinfo_8h-source.html">userinfo.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classARX-members.html
===================================================================
--- doc/html/classARX-members.html (revision 171)
+++ doc/html/classARX-members.html (revision 180)
@@ -25,5 +25,5 @@
 <div class="contents">
 <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>
-  <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>
+  <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>
   <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>
   <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,5 +46,7 @@
   <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>
   <tr class="memlist"><td><a class="el" href="classARX.html#e7f9e7823aec9bf7ddc3b42d9b3304c4">logpred</a>(const vec &amp;dt) const </td><td><a class="el" href="classARX.html">ARX</a></td><td><code> [virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a>(const mat &amp;dt) const </td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline]</code></td></tr>
   <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>
+  <tr class="memlist"><td><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a>(const RV &amp;rv)</td><td><a class="el" href="classBM.html">BM</a></td><td><code> [inline, virtual]</code></td></tr>
   <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>
   <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,5 +57,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classfsqmat-members.html
===================================================================
--- doc/html/classfsqmat-members.html (revision 171)
+++ doc/html/classfsqmat-members.html (revision 180)
@@ -57,5 +57,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classValuedUserInfo-members.html
===================================================================
--- doc/html/classValuedUserInfo-members.html (revision 171)
+++ doc/html/classValuedUserInfo-members.html (revision 180)
@@ -40,5 +40,5 @@
   <tr bgcolor="#f0f0f0"><td><b>~ValuedUserInfo</b>() (defined in <a class="el" href="classValuedUserInfo.html">ValuedUserInfo&lt; T &gt;</a>)</td><td><a class="el" href="classValuedUserInfo.html">ValuedUserInfo&lt; T &gt;</a></td><td><code> [inline, protected]</code></td></tr>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:56 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:44 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classconstfn-members.html
===================================================================
--- doc/html/classconstfn-members.html (revision 171)
+++ doc/html/classconstfn-members.html (revision 180)
@@ -32,5 +32,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_0x73.html
===================================================================
--- doc/html/functions_0x73.html (revision 171)
+++ doc/html/functions_0x73.html (revision 180)
@@ -65,19 +65,19 @@
 <h3><a class="anchor" name="index_s">- s -</a></h3><ul>
 <li>sample()
-: <a class="el" href="classemix.html#0650601f24e633e0ab09aa1e46c14483">emix</a>
+: <a class="el" href="classmerger.html#379198c3d2063bfa63f5d1245a2511ba">merger</a>
+, <a class="el" href="classemix.html#0650601f24e633e0ab09aa1e46c14483">emix</a>
+, <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf</a>
+, <a class="el" href="classeDirich.html#23dff79110822e9639343fe8e177fd80">eDirich</a>
+, <a class="el" href="classegamma.html#8e10c0021b5dfdd9cb62c6959b5ef425">egamma</a>
+, <a class="el" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5">enorm&lt; sq_T &gt;</a>
+, <a class="el" href="classeuni.html#4a0e09392be17beaee120ba98fc038cd">euni</a>
+, <a class="el" href="classeEmp.html#83f9283f92b805508d896479dc1ccf12">eEmp</a>
 , <a class="el" href="classeprod.html#94a5b7c44056cf7f4e688d53ba6295b4">eprod</a>
-, <a class="el" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5">enorm&lt; sq_T &gt;</a>
-, <a class="el" href="classegamma.html#8e10c0021b5dfdd9cb62c6959b5ef425">egamma</a>
-, <a class="el" href="classeuni.html#4a0e09392be17beaee120ba98fc038cd">euni</a>
 , <a class="el" href="classenorm.html#60f0f3bfa53d6e65843eea9532b16d36">enorm&lt; sq_T &gt;</a>
-, <a class="el" href="classeEmp.html#83f9283f92b805508d896479dc1ccf12">eEmp</a>
-, <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf</a>
 , <a class="el" href="classegiw.html#3d2c1f2ba0f9966781f1e0ae695e8a6f">egiw</a>
-, <a class="el" href="classeDirich.html#23dff79110822e9639343fe8e177fd80">eDirich</a>
 <li>samplecond()
-: <a class="el" href="classmlnorm.html#215fb88cc8b95d64cdefd6849abdd1e8">mlnorm&lt; sq_T &gt;</a>
+: <a class="el" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18">mlnorm&lt; sq_T &gt;</a>
 , <a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">mprod</a>
 , <a class="el" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b">mpdf</a>
-, <a class="el" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18">mlnorm&lt; sq_T &gt;</a>
 <li>sampleN()
 : <a class="el" href="classepdf.html#54d7dd53a641b618771cd9bee135181f">epdf</a>
@@ -98,15 +98,21 @@
 <li>set_evalll()
 : <a class="el" href="classBM.html#1ffa9f23669aabecc3760c06c6987522">BM</a>
+<li>set_id()
+: <a class="el" href="classRV.html#f58db96c9f5b8a538e26f154b1047c62">RV</a>
 <li>set_mu()
 : <a class="el" href="classenorm.html#d892a38f03be12e572ea57d9689cef6b">enorm&lt; sq_T &gt;</a>
 <li>set_parameters()
-: <a class="el" href="classeEmp.html#6606a656c1b28114f7384c25aaf80e8d">eEmp</a>
+: <a class="el" href="classKalman.html#239b28a0380946f5749b2f8d2807f93a">Kalman&lt; sq_T &gt;</a>
+, <a class="el" href="classeEmp.html#eab03bd3381aaea11ce34d5a26556353">eEmp</a>
+, <a class="el" href="classKalmanCh.html#92fb227287af05c9f0078d523c7c9793">KalmanCh</a>
 , <a class="el" href="classEKFfull.html#fc753106e0d4cf68e4f2160fd54458c0">EKFfull</a>
 , <a class="el" href="classEKF.html#28d058ae4d24d992d2f055419a06ee66">EKF&lt; sq_T &gt;</a>
+, <a class="el" href="classeuni.html#4fd7c6a05100616ad16ece405cad7bf2">euni</a>
 , <a class="el" href="classEKFCh.html#0216bed270df59fe65d0d62d41f8257c">EKFCh</a>
-, <a class="el" href="classeuni.html#4fd7c6a05100616ad16ece405cad7bf2">euni</a>
+, <a class="el" href="classmerger.html#79420e251308df4502c834171d518ad9">merger</a>
 , <a class="el" href="classemix.html#6ce82b24d7fe540ddbf44b472a005555">emix</a>
 , <a class="el" href="classmmix.html#e7681490a5c5b2d0a43f4e5842e10a9d">mmix</a>
 , <a class="el" href="classenorm.html#1394a65caa6e00d42e00cc99b12227af">enorm&lt; sq_T &gt;</a>
+, <a class="el" href="classeDirich.html#c842acb2e1cce5cc9000769ff06c086d">eDirich</a>
 , <a class="el" href="classegamma.html#8e348b89be82b70471fe8c5630f61339">egamma</a>
 , <a class="el" href="classmlnorm.html#b6749030c5d5abcb3eb6898f74cea3c0">mlnorm&lt; sq_T &gt;</a>
@@ -116,15 +122,20 @@
 , <a class="el" href="classIMpmsm.html#42818f3426d99fecb7e97be8ffe2e228">IMpmsm</a>
 , <a class="el" href="classARX.html#bc8c36399e82b2fc504baed845ed2007">ARX</a>
-, <a class="el" href="classKalman.html#239b28a0380946f5749b2f8d2807f93a">Kalman&lt; sq_T &gt;</a>
-, <a class="el" href="classKalmanCh.html#92fb227287af05c9f0078d523c7c9793">KalmanCh</a>
+<li>set_samples()
+: <a class="el" href="classeEmp.html#e31bc9e6196173c3480b06a761a3e716">eEmp</a>
+<li>set_size()
+: <a class="el" href="classRV.html#70b24c39c5130b1e4753fa2eef495433">RV</a>
 <li>set_statistics()
 : <a class="el" href="classARX.html#26925d66dfc366815c497d67b62ee49c">ARX</a>
 , <a class="el" href="classBMEF.html#30bb40eb1fd31869b2e62e79e1ecdcb4">BMEF</a>
+<li>set_time()
+: <a class="el" href="classRV.html#af668289c016d12ac2a9ddb85416006b">RV</a>
 <li>setD()
-: <a class="el" href="classldmat.html#7619922b4de18830ce5351c6b5667e60">ldmat</a>
+: <a class="el" href="classldmat.html#0884a613b94fde61bfc84288e73ce57f">ldmat</a>
 , <a class="el" href="classfsqmat.html#922f8190c13987cbcdb33ec2bf5cf105">fsqmat</a>
 , <a class="el" href="classchmat.html#a4fc7f9b0539b97c414442a22f3db6e8">chmat</a>
-, <a class="el" href="classldmat.html#0884a613b94fde61bfc84288e73ce57f">ldmat</a>
 , <a class="el" href="classfsqmat.html#03a8f49eb4d38a054ecc522be59cd2ad">fsqmat</a>
+, <a class="el" href="classchmat.html#4b9271097d8317d9514c5d0d62cccb39">chmat</a>
+, <a class="el" href="classldmat.html#7619922b4de18830ce5351c6b5667e60">ldmat</a>
 <li>setL()
 : <a class="el" href="classldmat.html#32ff66296627ff5341d7c0b973249614">ldmat</a>
@@ -139,22 +150,22 @@
 <li>sqrt_mult()
 : <a class="el" href="classchmat.html#b22aa239dbaca33e3fb93b4f674d7051">chmat</a>
-, <a class="el" href="classfsqmat.html#842a774077ee34ac3c36d180ab33e103">fsqmat</a>
 , <a class="el" href="classsqmat.html#6b79438b5d7544a9c8e110a145355d8f">sqmat</a>
 , <a class="el" href="classldmat.html#fc380626ced6f9244fb58c5f0231174d">ldmat</a>
+, <a class="el" href="classfsqmat.html#842a774077ee34ac3c36d180ab33e103">fsqmat</a>
 <li>step()
-: <a class="el" href="classdirfilelog.html#f5fe9483a041591bfe6f3d6393b02aa7">dirfilelog</a>
+: <a class="el" href="classMemDS.html#21916feb3e5ff960855c09b06a0d279b">MemDS</a>
+, <a class="el" href="classlogger.html#709b3ebefa0da3ed371aa802b06512a2">logger</a>
 , <a class="el" href="classmemlog.html#c97961eda9cda9f0e63c703cf21e5804">memlog</a>
-, <a class="el" href="classMemDS.html#21916feb3e5ff960855c09b06a0d279b">MemDS</a>
-, <a class="el" href="classlogger.html#709b3ebefa0da3ed371aa802b06512a2">logger</a>
 , <a class="el" href="classDS.html#470ba89e8e7c3c4d830803221b4e9be6">DS</a>
+, <a class="el" href="classdirfilelog.html#f5fe9483a041591bfe6f3d6393b02aa7">dirfilelog</a>
 <li>structure_est()
 : <a class="el" href="classARX.html#130bb7336aac681ce14b027b8f1409fa">ARX</a>
 <li>subselect()
-: <a class="el" href="classRV.html#0a9ea7bc6fad270cc54a455a9f8f387d">RV</a>
+: <a class="el" href="classRV.html#b26d25a122be3303806af7726a625a0f">RV</a>
 <li>subt()
-: <a class="el" href="classRV.html#a85c47bd838ebbdcb6798d7843e87db2">RV</a>
+: <a class="el" href="classRV.html#b9d175c327c21488b1e2fb756a84e149">RV</a>
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/inherit__graph__10.map
===================================================================
--- doc/html/inherit__graph__10.map (revision 171)
+++ doc/html/inherit__graph__10.map (revision 180)
@@ -1,1 +1,1 @@
-<area shape="rect" href="$classRootElement.html" title="This class serves to load and/or save DOMElements into/from files stored on a hard&#45;disk..." alt="" coords="7,5,108,32">
+<area shape="rect" href="$classRV.html" title="Class representing variables, most often random variables." alt="" coords="7,5,44,32">
Index: doc/html/emix_8h-source.html
===================================================================
--- doc/html/emix_8h-source.html (revision 171)
+++ doc/html/emix_8h-source.html (revision 180)
@@ -50,128 +50,123 @@
 <a name="l00060"></a>00060 };
 <a name="l00061"></a>00061 
-<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="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> {
+<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> {
 <a name="l00071"></a>00071 <span class="keyword">protected</span>:
-<a name="l00072"></a>00072         <span class="comment">//</span>
-<a name="l00073"></a>00073         <span class="keywordtype">int</span> n;
-<a name="l00074"></a>00074         <span class="comment">// pointers to epdfs</span>
-<a name="l00075"></a>00075         Array&lt;epdf*&gt; epdfs;
-<a name="l00076"></a>00076         Array&lt;mpdf*&gt; mpdfs;
-<a name="l00077"></a>00077         <span class="comment">//</span>
-<a name="l00079"></a><a class="code" href="classmprod.html#c8f78fbcdb4e38ecd3197d2958082497">00079</a> <span class="comment"></span>        Array&lt;ivec&gt; <a class="code" href="classmprod.html#c8f78fbcdb4e38ecd3197d2958082497" title="Indeces of rvs in common rv.">rvinds</a>;
-<a name="l00081"></a><a class="code" href="classmprod.html#1725c7b497a27ab3c4889b846666b516">00081</a>         Array&lt;ivec&gt; <a class="code" href="classmprod.html#1725c7b497a27ab3c4889b846666b516" title="Indeces of rvc in common rv.">rvcinrv</a>;
-<a name="l00083"></a><a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6">00083</a>         Array&lt;ivec&gt; <a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6" title="Indeces of rvc in common rvc.">rvcinds</a>;
-<a name="l00084"></a>00084 <span class="comment">//      //! Indicate independence of its factors</span>
-<a name="l00085"></a>00085 <span class="comment">//      bool independent;</span>
-<a name="l00086"></a>00086 <span class="comment">//      //! Indicate internal creation of mpdfs which must be destroyed</span>
-<a name="l00087"></a>00087 <span class="comment">//      bool intermpdfs;</span>
-<a name="l00088"></a>00088 <span class="keyword">public</span>:
-<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&lt;mpdf*&gt; mFacs, <span class="keywordtype">bool</span> overlap=<span class="keyword">false</span> );
-<a name="l00093"></a>00093 
-<a name="l00094"></a>00094         <span class="keywordtype">double</span> evalpdflog ( <span class="keyword">const</span> vec &amp;val )<span class="keyword"> const </span>{
-<a name="l00095"></a>00095                 <span class="keywordtype">int</span> i;
-<a name="l00096"></a>00096                 <span class="keywordtype">double</span> res = 0.0;
-<a name="l00097"></a>00097                 <span class="keywordflow">for</span> ( i = n - 1;i &gt; 0;i++ ) {
-<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() &gt; 0 )
-<a name="l00099"></a>00099                                 {mpdfs ( i )-&gt;condition ( val ( <a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6" title="Indeces of rvc in common rvc.">rvcinds</a> ( i ) ) );}
-<a name="l00100"></a>00100                         <span class="comment">// add logarithms</span>
-<a name="l00101"></a>00101                         res += epdfs ( i )-&gt;evalpdflog ( val ( <a class="code" href="classmprod.html#c8f78fbcdb4e38ecd3197d2958082497" title="Indeces of rvs in common rv.">rvinds</a> ( i ) ) );
-<a name="l00102"></a>00102                 }
-<a name="l00103"></a>00103                 <span class="keywordflow">return</span> res;
-<a name="l00104"></a>00104         }
-<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 &amp;cond, <span class="keywordtype">double</span> &amp;ll ) {
-<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>() );
-<a name="l00107"></a>00107                 vec condi;
-<a name="l00108"></a>00108                 vec smpi;
-<a name="l00109"></a>00109                 ll = 0;
-<a name="l00110"></a>00110                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = ( n - 1 );i &gt;= 0;i-- ) {
-<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() &gt; 0 ) {
-<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() );
-<a name="l00113"></a>00113                                 <span class="comment">// copy data in condition</span>
-<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 );
-<a name="l00115"></a>00115                                 <span class="comment">// copy data in already generated sample</span>
-<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 );
-<a name="l00117"></a>00117 
-<a name="l00118"></a>00118                                 mpdfs ( i )-&gt;condition ( condi );
-<a name="l00119"></a>00119                         }
-<a name="l00120"></a>00120                         smpi = epdfs ( i )-&gt;sample();
-<a name="l00121"></a>00121                         <span class="comment">// copy contribution of this pdf into smp</span>
-<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 );
-<a name="l00123"></a>00123                         <span class="comment">// add ith likelihood contribution</span>
-<a name="l00124"></a>00124                         ll+=epdfs ( i )-&gt;evalpdflog ( smpi );
-<a name="l00125"></a>00125                 }
-<a name="l00126"></a>00126                 <span class="keywordflow">return</span> smp;
-<a name="l00127"></a>00127         }
-<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 &amp;cond, vec &amp;ll, <span class="keywordtype">int</span> N ) {
-<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 );
-<a name="l00130"></a>00130                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;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 ) ) );}
-<a name="l00131"></a>00131                 <span class="keywordflow">return</span> Smp;
-<a name="l00132"></a>00132         }
-<a name="l00133"></a>00133 
-<a name="l00134"></a>00134         ~<a class="code" href="classmprod.html" title="Chain rule decomposition of epdf.">mprod</a>() {};
-<a name="l00135"></a>00135 };
-<a name="l00136"></a>00136 
-<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> {
-<a name="l00139"></a>00139 <span class="keyword">protected</span>:
-<a name="l00141"></a><a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357">00141</a>         Array&lt;const epdf*&gt; <a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>;
-<a name="l00143"></a><a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3">00143</a>         Array&lt;ivec&gt; <a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3" title="Array of indeces.">rvinds</a>;
-<a name="l00144"></a>00144 <span class="keyword">public</span>:
-<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&lt;const epdf*&gt; 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() ) {
-<a name="l00146"></a>00146                 <span class="keywordtype">bool</span> independent=<span class="keyword">true</span>;
-<a name="l00147"></a>00147                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>.length();i++ ) {
-<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 )-&gt;<a class="code" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562" title="access function, possibly dangerous!">_rv</a>() );
-<a name="l00149"></a>00149                         it_assert_debug ( independent==<span class="keyword">true</span>, <span class="stringliteral">"eprod:: given components are not independent ."</span> );
-<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 )-&gt;_rv() ).dataind ( <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a> );
-<a name="l00151"></a>00151                 }
-<a name="l00152"></a>00152         }
-<a name="l00153"></a>00153 
-<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>{
-<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>() );
-<a name="l00156"></a>00156                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>.length();i++ ) {
-<a name="l00157"></a>00157                         vec pom = <a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a> ( i )-&gt;mean();
-<a name="l00158"></a>00158                         set_subvector ( tmp,<a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3" title="Array of indeces.">rvinds</a> ( i ), pom );
-<a name="l00159"></a>00159                 }
-<a name="l00160"></a>00160                 <span class="keywordflow">return</span> tmp;
-<a name="l00161"></a>00161         }
-<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>{
-<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>() );
-<a name="l00164"></a>00164                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>.length();i++ ) {
-<a name="l00165"></a>00165                         vec pom = <a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a> ( i )-&gt;sample();
-<a name="l00166"></a>00166                         set_subvector ( tmp,<a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3" title="Array of indeces.">rvinds</a> ( i ), pom );
+<a name="l00072"></a>00072         <span class="comment">// pointers to epdfs</span>
+<a name="l00073"></a>00073         Array&lt;epdf*&gt; epdfs;
+<a name="l00075"></a><a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6">00075</a>         Array&lt;ivec&gt; <a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6" title="Indeces of rvc in common rvc.">rvcinds</a>;
+<a name="l00076"></a>00076 <span class="keyword">public</span>:
+<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&lt;mpdf*&gt; 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>)
+<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>);
+<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>);
+<a name="l00083"></a>00083                 setindices(<a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>); 
+<a name="l00084"></a>00084         <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0;i&lt;<a class="code" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f" title="Number of mpdfs in the composite.">n</a>;i++){epdfs(i)=&amp;(<a class="code" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d" title="Elements of composition.">mpdfs</a>(i)-&gt;_epdf());}
+<a name="l00085"></a>00085         };
+<a name="l00086"></a>00086 
+<a name="l00087"></a>00087         <span class="keywordtype">double</span> evalpdflog ( <span class="keyword">const</span> vec &amp;val )<span class="keyword"> const </span>{
+<a name="l00088"></a>00088                 <span class="keywordtype">int</span> i;
+<a name="l00089"></a>00089                 <span class="keywordtype">double</span> res = 0.0;
+<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 &gt; 0;i++ ) {
+<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() &gt; 0 )
+<a name="l00092"></a>00092                                 {<a class="code" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d" title="Elements of composition.">mpdfs</a> ( i )-&gt;condition ( val ( <a class="code" href="classmprod.html#cc85192d8abc01832937ed8b62e363a6" title="Indeces of rvc in common rvc.">rvcinds</a> ( i ) ) );}
+<a name="l00093"></a>00093                         <span class="comment">// add logarithms</span>
+<a name="l00094"></a>00094                         res += epdfs ( i )-&gt;evalpdflog ( val ( <a class="code" href="classcompositepdf.html#4d4a8269f9faefeca8cdc251a5a29a7f" title="Indeces of rvs in common rv.">rvsinrv</a> ( i ) ) );
+<a name="l00095"></a>00095                 }
+<a name="l00096"></a>00096                 <span class="keywordflow">return</span> res;
+<a name="l00097"></a>00097         }
+<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 &amp;cond, <span class="keywordtype">double</span> &amp;ll ) {
+<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>() );
+<a name="l00100"></a>00100                 vec condi;
+<a name="l00101"></a>00101                 vec smpi;
+<a name="l00102"></a>00102                 ll = 0;
+<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 &gt;= 0;i-- ) {
+<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() &gt; 0 ) {
+<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() );
+<a name="l00106"></a>00106                                 <span class="comment">// copy data in condition</span>
+<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 );
+<a name="l00108"></a>00108                                 <span class="comment">// copy data in already generated sample</span>
+<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 );
+<a name="l00110"></a>00110 
+<a name="l00111"></a>00111                                 <a class="code" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d" title="Elements of composition.">mpdfs</a> ( i )-&gt;condition ( condi );
+<a name="l00112"></a>00112                         }
+<a name="l00113"></a>00113                         smpi = epdfs ( i )-&gt;sample();
+<a name="l00114"></a>00114                         <span class="comment">// copy contribution of this pdf into smp</span>
+<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 );
+<a name="l00116"></a>00116                         <span class="comment">// add ith likelihood contribution</span>
+<a name="l00117"></a>00117                         ll+=epdfs ( i )-&gt;evalpdflog ( smpi );
+<a name="l00118"></a>00118                 }
+<a name="l00119"></a>00119                 <span class="keywordflow">return</span> smp;
+<a name="l00120"></a>00120         }
+<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 &amp;cond, vec &amp;ll, <span class="keywordtype">int</span> N ) {
+<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 );
+<a name="l00123"></a>00123                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;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 ) ) );}
+<a name="l00124"></a>00124                 <span class="keywordflow">return</span> Smp;
+<a name="l00125"></a>00125         }
+<a name="l00126"></a>00126 
+<a name="l00127"></a>00127         ~<a class="code" href="classmprod.html" title="Chain rule decomposition of epdf.">mprod</a>() {};
+<a name="l00128"></a>00128 };
+<a name="l00129"></a>00129 
+<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> {
+<a name="l00132"></a>00132 <span class="keyword">protected</span>:
+<a name="l00134"></a><a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357">00134</a>         Array&lt;const epdf*&gt; <a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>;
+<a name="l00136"></a><a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3">00136</a>         Array&lt;ivec&gt; <a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3" title="Array of indeces.">rvinds</a>;
+<a name="l00137"></a>00137 <span class="keyword">public</span>:
+<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&lt;const epdf*&gt; 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() ) {
+<a name="l00139"></a>00139                 <span class="keywordtype">bool</span> independent=<span class="keyword">true</span>;
+<a name="l00140"></a>00140                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>.length();i++ ) {
+<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 )-&gt;<a class="code" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562" title="access function, possibly dangerous!">_rv</a>() );
+<a name="l00142"></a>00142                         it_assert_debug ( independent==<span class="keyword">true</span>, <span class="stringliteral">"eprod:: given components are not independent ."</span> );
+<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 )-&gt;_rv() ).dataind ( <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a> );
+<a name="l00144"></a>00144                 }
+<a name="l00145"></a>00145         }
+<a name="l00146"></a>00146 
+<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>{
+<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>() );
+<a name="l00149"></a>00149                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>.length();i++ ) {
+<a name="l00150"></a>00150                         vec pom = <a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a> ( i )-&gt;mean();
+<a name="l00151"></a>00151                         set_subvector ( tmp,<a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3" title="Array of indeces.">rvinds</a> ( i ), pom );
+<a name="l00152"></a>00152                 }
+<a name="l00153"></a>00153                 <span class="keywordflow">return</span> tmp;
+<a name="l00154"></a>00154         }
+<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>{
+<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>() );
+<a name="l00157"></a>00157                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>.length();i++ ) {
+<a name="l00158"></a>00158                         vec pom = <a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a> ( i )-&gt;sample();
+<a name="l00159"></a>00159                         set_subvector ( tmp,<a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3" title="Array of indeces.">rvinds</a> ( i ), pom );
+<a name="l00160"></a>00160                 }
+<a name="l00161"></a>00161                 <span class="keywordflow">return</span> tmp;
+<a name="l00162"></a>00162         }
+<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 &amp;val )<span class="keyword"> const </span>{
+<a name="l00164"></a>00164                 <span class="keywordtype">double</span> tmp=0;
+<a name="l00165"></a>00165                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>.length();i++ ) {
+<a name="l00166"></a>00166                         tmp+=<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>(i)-&gt;evalpdflog(val(<a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3" title="Array of indeces.">rvinds</a>(i)));
 <a name="l00167"></a>00167                 }
 <a name="l00168"></a>00168                 <span class="keywordflow">return</span> tmp;
 <a name="l00169"></a>00169         }
-<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 &amp;val )<span class="keyword"> const </span>{
-<a name="l00171"></a>00171                 <span class="keywordtype">double</span> tmp=0;
-<a name="l00172"></a>00172                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>.length();i++ ) {
-<a name="l00173"></a>00173                         tmp+=<a class="code" href="classeprod.html#63fc0db078542bce1c5dff94f9c3a357" title="Components (epdfs).">epdfs</a>(i)-&gt;evalpdflog(val(<a class="code" href="classeprod.html#a471987de1115dc639eccff65f3b9aa3" title="Array of indeces.">rvinds</a>(i)));
-<a name="l00174"></a>00174                 }
-<a name="l00175"></a>00175                 <span class="keywordflow">return</span> tmp;
-<a name="l00176"></a>00176         }
-<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&lt;<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);}
-<a name="l00179"></a>00179 };
-<a name="l00180"></a>00180 
-<a name="l00181"></a>00181 
-<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> {
-<a name="l00186"></a>00186 <span class="keyword">protected</span>:
-<a name="l00188"></a><a class="code" href="classmmix.html#460632c7a0afd41b7840902181a7d85f">00188</a>         Array&lt;mpdf*&gt; <a class="code" href="classmmix.html#460632c7a0afd41b7840902181a7d85f" title="Component (epdfs).">Coms</a>;
-<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>;
-<a name="l00191"></a>00191 <span class="keyword">public</span>:
-<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> &amp;<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> &amp;<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> = &amp;<a class="code" href="classmmix.html#507a5e6df53e6e9a6a330f1271cf0914" title="Internal epdf.">Epdf</a>;};
-<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 &amp;w, <span class="keyword">const</span> Array&lt;mpdf*&gt; &amp;<a class="code" href="classmmix.html#460632c7a0afd41b7840902181a7d85f" title="Component (epdfs).">Coms</a> ) {
-<a name="l00196"></a>00196                 Array&lt;epdf*&gt; Eps ( Coms.length() );
-<a name="l00197"></a>00197 
-<a name="l00198"></a>00198                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0;i &lt; Coms.length();i++ ) {
-<a name="l00199"></a>00199                         Eps ( i ) = &amp; ( <a class="code" href="classmmix.html#460632c7a0afd41b7840902181a7d85f" title="Component (epdfs).">Coms</a> ( i )-&gt;_epdf() );
-<a name="l00200"></a>00200                 }
-<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 );
-<a name="l00202"></a>00202         };
-<a name="l00203"></a>00203 
-<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 &amp;cond ) {
-<a name="l00205"></a>00205                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0;i &lt; <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 )-&gt;condition ( cond );}
-<a name="l00206"></a>00206         };
-<a name="l00207"></a>00207 };
-<a name="l00208"></a>00208 <span class="preprocessor">#endif //MX_H</span>
+<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&lt;<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);}
+<a name="l00172"></a>00172 };
+<a name="l00173"></a>00173 
+<a name="l00174"></a>00174 
+<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> {
+<a name="l00179"></a>00179 <span class="keyword">protected</span>:
+<a name="l00181"></a><a class="code" href="classmmix.html#460632c7a0afd41b7840902181a7d85f">00181</a>         Array&lt;mpdf*&gt; <a class="code" href="classmmix.html#460632c7a0afd41b7840902181a7d85f" title="Component (epdfs).">Coms</a>;
+<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>;
+<a name="l00184"></a>00184 <span class="keyword">public</span>:
+<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> &amp;<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> &amp;<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> = &amp;<a class="code" href="classmmix.html#507a5e6df53e6e9a6a330f1271cf0914" title="Internal epdf.">Epdf</a>;};
+<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 &amp;w, <span class="keyword">const</span> Array&lt;mpdf*&gt; &amp;<a class="code" href="classmmix.html#460632c7a0afd41b7840902181a7d85f" title="Component (epdfs).">Coms</a> ) {
+<a name="l00189"></a>00189                 Array&lt;epdf*&gt; Eps ( Coms.length() );
+<a name="l00190"></a>00190 
+<a name="l00191"></a>00191                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0;i &lt; Coms.length();i++ ) {
+<a name="l00192"></a>00192                         Eps ( i ) = &amp; ( <a class="code" href="classmmix.html#460632c7a0afd41b7840902181a7d85f" title="Component (epdfs).">Coms</a> ( i )-&gt;_epdf() );
+<a name="l00193"></a>00193                 }
+<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 );
+<a name="l00195"></a>00195         };
+<a name="l00196"></a>00196 
+<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 &amp;cond ) {
+<a name="l00198"></a>00198                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0;i &lt; <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 )-&gt;condition ( cond );}
+<a name="l00199"></a>00199         };
+<a name="l00200"></a>00200 };
+<a name="l00201"></a>00201 <span class="preprocessor">#endif //MX_H</span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:45 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/osutils_8h-source.html
===================================================================
--- doc/html/osutils_8h-source.html (revision 171)
+++ doc/html/osutils_8h-source.html (revision 180)
@@ -34,5 +34,5 @@
 <a name="l00027"></a>00027 <span class="keywordtype">void</span> makedir(<span class="keywordtype">string</span> &amp;dirname, <span class="keywordtype">bool</span> rewrite = <span class="keyword">true</span>);
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:45 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/functions_func_0x64.html
===================================================================
--- doc/html/functions_func_0x64.html (revision 171)
+++ doc/html/functions_func_0x64.html (revision 180)
@@ -63,5 +63,5 @@
 <h3><a class="anchor" name="index_d">- d -</a></h3><ul>
 <li>dataind()
-: <a class="el" href="classRV.html#1844ea0d9c10428f5e0ee1d4d569ef0a">RV</a>
+: <a class="el" href="classRV.html#bb724fa4e2d9ed7bfd0993b5975018a4">RV</a>
 <li>dfdu_cond()
 : <a class="el" href="classdiffbifn.html#1978bafd7909d15c139a08c495c24aa0">diffbifn</a>
@@ -87,5 +87,5 @@
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:34 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/libDC_8h.html
===================================================================
--- doc/html/libDC_8h.html (revision 171)
+++ doc/html/libDC_8h.html (revision 180)
@@ -34,5 +34,5 @@
 <p><center><img src="libDC_8h__dep__incl.png" border="0" usemap="#work/git/mixpp/bdm/math/libDC.hdep_map" alt=""></center>
 <map name="work/git/mixpp/bdm/math/libDC.hdep_map">
-<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&#39;, LU, UDU&#39;, 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>
+<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&#39;, LU, UDU&#39;, 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>
 </div>
 
@@ -66,5 +66,5 @@
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
 Using IT++ for numerical operations ----------------------------------- </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/inherit__graph__6.map
===================================================================
--- doc/html/inherit__graph__6.map (revision 162)
+++ doc/html/inherit__graph__6.map (revision 180)
@@ -1,1 +1,22 @@
-<area shape="rect" href="$classitpp_1_1Gamma__RNG.html" title="Gamma distribution." alt="" coords="7,5,145,32">
+<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\&lt; chmat \&gt;" alt="" coords="147,19,285,45">
+<area shape="rect" href="$classKalman.html" title="Kalman\&lt; fsqmat \&gt;" alt="" coords="144,95,288,121">
+<area shape="rect" href="$classKalman.html" title="Kalman\&lt; ldmat \&gt;" 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">
Index: doc/html/libDS_8h.html
===================================================================
--- doc/html/libDS_8h.html (revision 171)
+++ doc/html/libDS_8h.html (revision 180)
@@ -45,5 +45,5 @@
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
 Using IT++ for numerical operations ----------------------------------- </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/matrix_8h-source.html
===================================================================
--- doc/html/matrix_8h-source.html (revision 171)
+++ doc/html/matrix_8h-source.html (revision 180)
@@ -88,5 +88,5 @@
 <a name="l00072"></a>00072 
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:32 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/inherit__graph__10.md5
===================================================================
--- doc/html/inherit__graph__10.md5 (revision 171)
+++ doc/html/inherit__graph__10.md5 (revision 180)
@@ -1,1 +1,1 @@
-cedfddaa2f3cbe0dceadd003ab3993a8
+ed533ad24bdcc81be8df35b79001d1d2
Index: doc/html/functions_func_0x73.html
===================================================================
--- doc/html/functions_func_0x73.html (revision 171)
+++ doc/html/functions_func_0x73.html (revision 180)
@@ -63,19 +63,19 @@
 <h3><a class="anchor" name="index_s">- s -</a></h3><ul>
 <li>sample()
-: <a class="el" href="classemix.html#0650601f24e633e0ab09aa1e46c14483">emix</a>
+: <a class="el" href="classmerger.html#379198c3d2063bfa63f5d1245a2511ba">merger</a>
+, <a class="el" href="classemix.html#0650601f24e633e0ab09aa1e46c14483">emix</a>
+, <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf</a>
+, <a class="el" href="classeDirich.html#23dff79110822e9639343fe8e177fd80">eDirich</a>
+, <a class="el" href="classegamma.html#8e10c0021b5dfdd9cb62c6959b5ef425">egamma</a>
+, <a class="el" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5">enorm&lt; sq_T &gt;</a>
+, <a class="el" href="classeuni.html#4a0e09392be17beaee120ba98fc038cd">euni</a>
+, <a class="el" href="classeEmp.html#83f9283f92b805508d896479dc1ccf12">eEmp</a>
 , <a class="el" href="classeprod.html#94a5b7c44056cf7f4e688d53ba6295b4">eprod</a>
-, <a class="el" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5">enorm&lt; sq_T &gt;</a>
-, <a class="el" href="classegamma.html#8e10c0021b5dfdd9cb62c6959b5ef425">egamma</a>
-, <a class="el" href="classeuni.html#4a0e09392be17beaee120ba98fc038cd">euni</a>
 , <a class="el" href="classenorm.html#60f0f3bfa53d6e65843eea9532b16d36">enorm&lt; sq_T &gt;</a>
-, <a class="el" href="classeEmp.html#83f9283f92b805508d896479dc1ccf12">eEmp</a>
-, <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf</a>
 , <a class="el" href="classegiw.html#3d2c1f2ba0f9966781f1e0ae695e8a6f">egiw</a>
-, <a class="el" href="classeDirich.html#23dff79110822e9639343fe8e177fd80">eDirich</a>
 <li>samplecond()
-: <a class="el" href="classmlnorm.html#215fb88cc8b95d64cdefd6849abdd1e8">mlnorm&lt; sq_T &gt;</a>
+: <a class="el" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18">mlnorm&lt; sq_T &gt;</a>
 , <a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">mprod</a>
 , <a class="el" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b">mpdf</a>
-, <a class="el" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18">mlnorm&lt; sq_T &gt;</a>
 <li>sampleN()
 : <a class="el" href="classepdf.html#54d7dd53a641b618771cd9bee135181f">epdf</a>
@@ -92,32 +92,44 @@
 <li>set_evalll()
 : <a class="el" href="classBM.html#1ffa9f23669aabecc3760c06c6987522">BM</a>
+<li>set_id()
+: <a class="el" href="classRV.html#f58db96c9f5b8a538e26f154b1047c62">RV</a>
 <li>set_mu()
 : <a class="el" href="classenorm.html#d892a38f03be12e572ea57d9689cef6b">enorm&lt; sq_T &gt;</a>
 <li>set_parameters()
-: <a class="el" href="classEKFCh.html#0216bed270df59fe65d0d62d41f8257c">EKFCh</a>
+: <a class="el" href="classIMpmsm.html#42818f3426d99fecb7e97be8ffe2e228">IMpmsm</a>
+, <a class="el" href="classEKFfull.html#fc753106e0d4cf68e4f2160fd54458c0">EKFfull</a>
+, <a class="el" href="classEKF.html#28d058ae4d24d992d2f055419a06ee66">EKF&lt; sq_T &gt;</a>
+, <a class="el" href="classEKFCh.html#0216bed270df59fe65d0d62d41f8257c">EKFCh</a>
+, <a class="el" href="classmgamma.html#a9d646cf758a70126dde7c48790b6e94">mgamma</a>
+, <a class="el" href="classmerger.html#79420e251308df4502c834171d518ad9">merger</a>
 , <a class="el" href="classemix.html#6ce82b24d7fe540ddbf44b472a005555">emix</a>
 , <a class="el" href="classmmix.html#e7681490a5c5b2d0a43f4e5842e10a9d">mmix</a>
-, <a class="el" href="classmgamma.html#a9d646cf758a70126dde7c48790b6e94">mgamma</a>
 , <a class="el" href="classenorm.html#1394a65caa6e00d42e00cc99b12227af">enorm&lt; sq_T &gt;</a>
+, <a class="el" href="classeDirich.html#c842acb2e1cce5cc9000769ff06c086d">eDirich</a>
 , <a class="el" href="classegamma.html#8e348b89be82b70471fe8c5630f61339">egamma</a>
 , <a class="el" href="classeuni.html#4fd7c6a05100616ad16ece405cad7bf2">euni</a>
 , <a class="el" href="classmlnorm.html#b6749030c5d5abcb3eb6898f74cea3c0">mlnorm&lt; sq_T &gt;</a>
 , <a class="el" href="classmgamma__fix.html#ec6f846896749e27cb7be9fa48dd1cb1">mgamma_fix</a>
-, <a class="el" href="classeEmp.html#6606a656c1b28114f7384c25aaf80e8d">eEmp</a>
+, <a class="el" href="classeEmp.html#eab03bd3381aaea11ce34d5a26556353">eEmp</a>
 , <a class="el" href="classlinfn.html#15eb81f2141984a61706b7ad5b411505">linfn</a>
-, <a class="el" href="classEKF.html#28d058ae4d24d992d2f055419a06ee66">EKF&lt; sq_T &gt;</a>
-, <a class="el" href="classIMpmsm.html#42818f3426d99fecb7e97be8ffe2e228">IMpmsm</a>
 , <a class="el" href="classARX.html#bc8c36399e82b2fc504baed845ed2007">ARX</a>
 , <a class="el" href="classKalman.html#239b28a0380946f5749b2f8d2807f93a">Kalman&lt; sq_T &gt;</a>
 , <a class="el" href="classKalmanCh.html#92fb227287af05c9f0078d523c7c9793">KalmanCh</a>
-, <a class="el" href="classEKFfull.html#fc753106e0d4cf68e4f2160fd54458c0">EKFfull</a>
+<li>set_samples()
+: <a class="el" href="classeEmp.html#e31bc9e6196173c3480b06a761a3e716">eEmp</a>
+<li>set_size()
+: <a class="el" href="classRV.html#70b24c39c5130b1e4753fa2eef495433">RV</a>
 <li>set_statistics()
 : <a class="el" href="classARX.html#26925d66dfc366815c497d67b62ee49c">ARX</a>
 , <a class="el" href="classBMEF.html#30bb40eb1fd31869b2e62e79e1ecdcb4">BMEF</a>
+<li>set_time()
+: <a class="el" href="classRV.html#af668289c016d12ac2a9ddb85416006b">RV</a>
 <li>setD()
-: <a class="el" href="classldmat.html#7619922b4de18830ce5351c6b5667e60">ldmat</a>
+: <a class="el" href="classfsqmat.html#922f8190c13987cbcdb33ec2bf5cf105">fsqmat</a>
+, <a class="el" href="classchmat.html#a4fc7f9b0539b97c414442a22f3db6e8">chmat</a>
+, <a class="el" href="classldmat.html#0884a613b94fde61bfc84288e73ce57f">ldmat</a>
 , <a class="el" href="classchmat.html#4b9271097d8317d9514c5d0d62cccb39">chmat</a>
-, <a class="el" href="classfsqmat.html#922f8190c13987cbcdb33ec2bf5cf105">fsqmat</a>
-, <a class="el" href="classldmat.html#0884a613b94fde61bfc84288e73ce57f">ldmat</a>
+, <a class="el" href="classfsqmat.html#03a8f49eb4d38a054ecc522be59cd2ad">fsqmat</a>
+, <a class="el" href="classldmat.html#7619922b4de18830ce5351c6b5667e60">ldmat</a>
 <li>setL()
 : <a class="el" href="classldmat.html#32ff66296627ff5341d7c0b973249614">ldmat</a>
@@ -129,23 +141,23 @@
 : <a class="el" href="classsqmat.html#4268750c040c716b2c05037f725078a2">sqmat</a>
 <li>sqrt_mult()
-: <a class="el" href="classfsqmat.html#842a774077ee34ac3c36d180ab33e103">fsqmat</a>
+: <a class="el" href="classsqmat.html#6b79438b5d7544a9c8e110a145355d8f">sqmat</a>
+, <a class="el" href="classchmat.html#b22aa239dbaca33e3fb93b4f674d7051">chmat</a>
 , <a class="el" href="classldmat.html#fc380626ced6f9244fb58c5f0231174d">ldmat</a>
-, <a class="el" href="classsqmat.html#6b79438b5d7544a9c8e110a145355d8f">sqmat</a>
-, <a class="el" href="classchmat.html#b22aa239dbaca33e3fb93b4f674d7051">chmat</a>
+, <a class="el" href="classfsqmat.html#842a774077ee34ac3c36d180ab33e103">fsqmat</a>
 <li>step()
-: <a class="el" href="classDS.html#470ba89e8e7c3c4d830803221b4e9be6">DS</a>
+: <a class="el" href="classdirfilelog.html#f5fe9483a041591bfe6f3d6393b02aa7">dirfilelog</a>
 , <a class="el" href="classMemDS.html#21916feb3e5ff960855c09b06a0d279b">MemDS</a>
-, <a class="el" href="classdirfilelog.html#f5fe9483a041591bfe6f3d6393b02aa7">dirfilelog</a>
 , <a class="el" href="classlogger.html#709b3ebefa0da3ed371aa802b06512a2">logger</a>
 , <a class="el" href="classmemlog.html#c97961eda9cda9f0e63c703cf21e5804">memlog</a>
+, <a class="el" href="classDS.html#470ba89e8e7c3c4d830803221b4e9be6">DS</a>
 <li>structure_est()
 : <a class="el" href="classARX.html#130bb7336aac681ce14b027b8f1409fa">ARX</a>
 <li>subselect()
-: <a class="el" href="classRV.html#0a9ea7bc6fad270cc54a455a9f8f387d">RV</a>
+: <a class="el" href="classRV.html#b26d25a122be3303806af7726a625a0f">RV</a>
 <li>subt()
-: <a class="el" href="classRV.html#a85c47bd838ebbdcb6798d7843e87db2">RV</a>
+: <a class="el" href="classRV.html#b9d175c327c21488b1e2fb756a84e149">RV</a>
 </ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:48 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:35 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/pmsm_8h-source.html
===================================================================
--- doc/html/pmsm_8h-source.html (revision 171)
+++ doc/html/pmsm_8h-source.html (revision 180)
@@ -153,5 +153,5 @@
 <a name="l00142"></a>00142 <span class="preprocessor">#endif //PMSM_H</span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:45 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:31 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmgamma-members.html
===================================================================
--- doc/html/classmgamma-members.html (revision 171)
+++ doc/html/classmgamma-members.html (revision 180)
@@ -44,5 +44,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:53 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classemix-members.html
===================================================================
--- doc/html/classemix-members.html (revision 171)
+++ doc/html/classemix-members.html (revision 180)
@@ -34,5 +34,5 @@
   <tr class="memlist"><td><a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">eval</a>(const vec &amp;val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
   <tr class="memlist"><td><a class="el" href="classemix.html#469e910479b3402589104ef3bb1b5741">evalpdflog</a>(const vec &amp;val) const </td><td><a class="el" href="classemix.html">emix</a></td><td><code> [inline, virtual]</code></td></tr>
-  <tr class="memlist"><td><a class="el" href="classepdf.html#6af383b6f1c6ea6fc5f6724dd03d8877">epdf::evalpdflog</a>(const mat &amp;Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
+  <tr class="memlist"><td><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a>(const mat &amp;Val) const </td><td><a class="el" href="classepdf.html">epdf</a></td><td><code> [inline, virtual]</code></td></tr>
   <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>
   <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,5 +43,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:51 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:39 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/libEF_8h.html
===================================================================
--- doc/html/libEF_8h.html (revision 171)
+++ doc/html/libEF_8h.html (revision 180)
@@ -39,5 +39,5 @@
 <p><center><img src="libEF_8h__dep__incl.png" border="0" usemap="#work/git/mixpp/bdm/stat/libEF.hdep_map" alt=""></center>
 <map name="work/git/mixpp/bdm/stat/libEF.hdep_map">
-<area shape="rect" href="arx_8h.html" title="Bayesian Filtering for generalized autoregressive (ARX) model." alt="" coords="273,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>
+<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>
 </div>
 
@@ -112,5 +112,5 @@
 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p>
 Using IT++ for numerical operations ----------------------------------- </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:47 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:33 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classegiw.html
===================================================================
--- doc/html/classegiw.html (revision 171)
+++ doc/html/classegiw.html (revision 180)
@@ -107,4 +107,8 @@
 
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr>
+<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 &amp;Val) const " -->
+virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#cebbdd7a85e6328f7358fc0ba8eee06c">evalpdflog_m</a> (const mat &amp;Val) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ca0d32aabb4cbba347e0c37fe8607562"></a><!-- doxytag: member="egiw::_rv" ref="ca0d32aabb4cbba347e0c37fe8607562" args="() const " -->
 const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562">_rv</a> () const </td></tr>
@@ -143,5 +147,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:50 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classRootElement.html
===================================================================
--- doc/html/classRootElement.html (revision 171)
+++ doc/html/classRootElement.html (revision 180)
@@ -117,5 +117,5 @@
 <li>work/git/mixpp/bdm/<a class="el" href="userinfo_8h-source.html">userinfo.h</a><li>work/git/mixpp/bdm/userinfo.cpp</ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:55 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:43 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/inherit__graph__6.md5
===================================================================
--- doc/html/inherit__graph__6.md5 (revision 162)
+++ doc/html/inherit__graph__6.md5 (revision 180)
@@ -1,1 +1,1 @@
-02a2715b2ed1df5ea708815b8edb77bb
+13281417a0d60da182e17d3a2847fd44
Index: doc/html/classBMcond.html
===================================================================
--- doc/html/classBMcond.html (revision 171)
+++ doc/html/classBMcond.html (revision 180)
@@ -77,5 +77,5 @@
 <li>work/git/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classmmix-members.html
===================================================================
--- doc/html/classmmix-members.html (revision 171)
+++ doc/html/classmmix-members.html (revision 180)
@@ -42,5 +42,5 @@
   <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>
 </table></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:54 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classDS.html
===================================================================
--- doc/html/classDS.html (revision 171)
+++ doc/html/classDS.html (revision 180)
@@ -121,5 +121,5 @@
 <li>work/git/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classdiffbifn.html
===================================================================
--- doc/html/classdiffbifn.html (revision 171)
+++ doc/html/classdiffbifn.html (revision 180)
@@ -216,5 +216,5 @@
 <li>work/git/mixpp/bdm/stat/<a class="el" href="libFN_8h-source.html">libFN.h</a></ul>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:37 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classBMEF.html
===================================================================
--- doc/html/classBMEF.html (revision 171)
+++ doc/html/classBMEF.html (revision 180)
@@ -81,4 +81,12 @@
 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a> (const vec &amp;dt) const </td></tr>
 
+<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 &amp;dt) const " -->
+vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &amp;dt) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="BMEF::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &amp;rv)" -->
+virtual <a class="el" href="classepdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="BMEF::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " -->
 const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">_rv</a> () const </td></tr>
@@ -172,4 +180,6 @@
 <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>
 
+<p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p>
+
 </div>
 </div><p>
@@ -192,7 +202,7 @@
 <p>
 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; } 
-<p>Reimplemented in <a class="el" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>
-
-<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::MixEF()</a>.</p>
+<p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p>
+
+<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p>
 
 </div>
@@ -201,5 +211,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:49 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:36 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
Index: doc/html/classKalmanCh.html
===================================================================
--- doc/html/classKalmanCh.html (revision 171)
+++ doc/html/classKalmanCh.html (revision 180)
@@ -81,4 +81,12 @@
 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a> (const vec &amp;dt) const </td></tr>
 
+<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 &amp;dt) const " -->
+vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &amp;dt) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="KalmanCh::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &amp;rv)" -->
+virtual <a class="el" href="classepdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr>
 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="KalmanCh::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " -->
 const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">_rv</a> () const </td></tr>
@@ -219,5 +227,5 @@
 <p>Reimplemented in <a class="el" href="classEKFCh.html#96f6edda324a0b7ef8b4e86cc7af60c1">EKFCh</a>.</p>
 
-<p>References <a class="el" href="chmat_8h-source.html#l00066">chmat::_Ch()</a>, <a class="el" href="libKF_8h-source.html#l00095">Kalman&lt; chmat &gt;::_K</a>, <a class="el" href="libKF_8h-source.html#l00101">Kalman&lt; chmat &gt;::_mu</a>, <a class="el" href="libKF_8h-source.html#l00103">Kalman&lt; chmat &gt;::_P</a>, <a class="el" href="libKF_8h-source.html#l00099">Kalman&lt; chmat &gt;::_Ry</a>, <a class="el" href="libKF_8h-source.html#l00097">Kalman&lt; chmat &gt;::_yp</a>, <a class="el" href="libKF_8h-source.html#l00077">Kalman&lt; chmat &gt;::A</a>, <a class="el" href="libKF_8h-source.html#l00079">Kalman&lt; chmat &gt;::B</a>, <a class="el" href="libKF_8h-source.html#l00081">Kalman&lt; chmat &gt;::C</a>, <a class="el" href="libKF_8h-source.html#l00083">Kalman&lt; chmat &gt;::D</a>, <a class="el" href="libKF_8h-source.html#l00075">Kalman&lt; chmat &gt;::dimu</a>, <a class="el" href="libKF_8h-source.html#l00071">Kalman&lt; chmat &gt;::dimx</a>, <a class="el" href="libKF_8h-source.html#l00073">Kalman&lt; chmat &gt;::dimy</a>, <a class="el" href="libBM_8h-source.html#l00280">BM::evalll</a>, <a class="el" href="libEF_8h-source.html#l00521">enorm&lt; sq_T &gt;::evalpdflog()</a>, <a class="el" href="libKF_8h-source.html#l00092">Kalman&lt; chmat &gt;::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>
+<p>References <a class="el" href="chmat_8h-source.html#l00066">chmat::_Ch()</a>, <a class="el" href="libKF_8h-source.html#l00095">Kalman&lt; chmat &gt;::_K</a>, <a class="el" href="libKF_8h-source.html#l00101">Kalman&lt; chmat &gt;::_mu</a>, <a class="el" href="libKF_8h-source.html#l00103">Kalman&lt; chmat &gt;::_P</a>, <a class="el" href="libKF_8h-source.html#l00099">Kalman&lt; chmat &gt;::_Ry</a>, <a class="el" href="libKF_8h-source.html#l00097">Kalman&lt; chmat &gt;::_yp</a>, <a class="el" href="libKF_8h-source.html#l00077">Kalman&lt; chmat &gt;::A</a>, <a class="el" href="libKF_8h-source.html#l00079">Kalman&lt; chmat &gt;::B</a>, <a class="el" href="libKF_8h-source.html#l00081">Kalman&lt; chmat &gt;::C</a>, <a class="el" href="libKF_8h-source.html#l00083">Kalman&lt; chmat &gt;::D</a>, <a class="el" href="libKF_8h-source.html#l00075">Kalman&lt; chmat &gt;::dimu</a>, <a class="el" href="libKF_8h-source.html#l00071">Kalman&lt; chmat &gt;::dimx</a>, <a class="el" href="libKF_8h-source.html#l00073">Kalman&lt; chmat &gt;::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&lt; chmat &gt;::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>
 
 </div>
@@ -243,4 +251,6 @@
 <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>
 
+<p>Referenced by <a class="el" href="libBM_8h-source.html#l00329">BM::logpred_m()</a>.</p>
+
 </div>
 </div><p>
@@ -263,7 +273,7 @@
 <p>
 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; } 
-<p>Reimplemented in <a class="el" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p>
-
-<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::MixEF()</a>.</p>
+<p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p>
+
+<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF::init()</a>.</p>
 
 </div>
@@ -272,5 +282,5 @@
 <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>
 </div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:52 2008 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:40 2008 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
