Index: library/doc/html/classbdm_1_1emix.html
===================================================================
--- library/doc/html/classbdm_1_1emix.html (revision 591)
+++ library/doc/html/classbdm_1_1emix.html (revision 608)
@@ -87,5 +87,5 @@
 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae8839dbbb0d1276a8dbe957a67cfe0dc"></a><!-- doxytag: member="bdm::emix::sample" ref="ae8839dbbb0d1276a8dbe957a67cfe0dc" args="() const " -->
 vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1emix.html#ae8839dbbb0d1276a8dbe957a67cfe0dc">sample</a> () const </td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a sample, <img class="formulaInl" alt="$ x $" src="form_7.png"/> from density <img class="formulaInl" alt="$ f_x()$" src="form_8.png"/>. <br/></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a sample, <img class="formulaInl" alt="$ x $" src="form_3.png"/> from density <img class="formulaInl" alt="$ f_x()$" src="form_13.png"/>. <br/></td></tr>
 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa3a5390bc56e81ef3b0debc0f185fa8a"></a><!-- doxytag: member="bdm::emix::mean" ref="aa3a5390bc56e81ef3b0debc0f185fa8a" args="() const " -->
 vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1emix.html#aa3a5390bc56e81ef3b0debc0f185fa8a">mean</a> () const </td></tr>
@@ -94,5 +94,7 @@
 vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1emix.html#ae9a627023cdf90c9ffd8eef726595c86">variance</a> () const </td></tr>
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return expected variance (not covariance!) <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1emix.html#a0f3db99f730bde6b7953931594537e8e">evallog</a> (const vec &amp;val) const </td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0f3db99f730bde6b7953931594537e8e"></a><!-- doxytag: member="bdm::emix::evallog" ref="a0f3db99f730bde6b7953931594537e8e" args="(const vec &amp;val) const " -->
+double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1emix.html#a0f3db99f730bde6b7953931594537e8e">evallog</a> (const vec &amp;val) const </td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of argument <code>val</code> In case the argument is out of suport return -Infinity. <br/></td></tr>
 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a23af1986e2afcbc8c7e1c30f610e703b"></a><!-- doxytag: member="bdm::emix::evallog_m" ref="a23af1986e2afcbc8c7e1c30f610e703b" args="(const mat &amp;Val) const " -->
 vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1emix.html#a23af1986e2afcbc8c7e1c30f610e703b">evallog_m</a> (const mat &amp;Val) const </td></tr>
@@ -120,4 +122,5 @@
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Name its rv. <br/></td></tr>
 <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#afa9efc98a065b31c630fe18cc418f725">from_setting</a> (const Setting &amp;set)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Load from structure with elements:.  <a href="#afa9efc98a065b31c630fe18cc418f725"></a><br/></td></tr>
 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::emix::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" -->
 virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr>
@@ -149,5 +152,5 @@
 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4cf45fd83cc7573ede9fe1215256058"></a><!-- doxytag: member="bdm::emix::sample_m" ref="ab4cf45fd83cc7573ede9fe1215256058" args="(int N) const " -->
 virtual mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#ab4cf45fd83cc7573ede9fe1215256058">sample_m</a> (int N) const </td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns N samples, <img class="formulaInl" alt="$ [x_1 , x_2 , \ldots \ $" src="form_9.png"/> from density <img class="formulaInl" alt="$ f_x(rv)$" src="form_10.png"/>. <br/></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns N samples, <img class="formulaInl" alt="$ [x_1 , x_2 , \ldots \ $" src="form_14.png"/> from density <img class="formulaInl" alt="$ f_x(rv)$" src="form_15.png"/>. <br/></td></tr>
 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9bc02dae61584138443baf6b1cbc1ac9"></a><!-- doxytag: member="bdm::emix::evallog_m" ref="a9bc02dae61584138443baf6b1cbc1ac9" args="(const Array&lt; vec &gt; &amp;Avec) const " -->
 virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a9bc02dae61584138443baf6b1cbc1ac9">evallog_m</a> (const Array&lt; vec &gt; &amp;Avec) const </td></tr>
@@ -157,5 +160,5 @@
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Lower and upper bounds of <code>percentage</code> % quantile, returns mean-2*sigma as default. <br/></td></tr>
 <tr><td colspan="2"><div class="groupHeader">Connection to other classes</div></td></tr>
-<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp14fc6e1cb822e9dfc5edc16c20fabe11"></a> Description of the random quantity via attribute <code>rv</code> is optional. For operations such as sampling <code>rv</code> does not need to be set. However, for <code>marginalization</code> and <code>conditioning</code> <code>rv</code> has to be set. NB: </p>
+<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp14fc6e1cb822e9dfc5edc16c20fabe11"></a>Description of the random quantity via attribute <code>rv</code> is optional. For operations such as sampling <code>rv</code> does not need to be set. However, for <code>marginalization</code> and <code>conditioning</code> <code>rv</code> has to be set. NB: </p>
 <br/><br/></div></td></tr>
 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac4b863ff84c7a4882fb3ad18556027f9"></a><!-- doxytag: member="bdm::emix::isnamed" ref="ac4b863ff84c7a4882fb3ad18556027f9" args="() const " -->
@@ -189,33 +192,8 @@
 <p>Density function: </p>
 <p class="formulaDsp">
-<img class="formulaDsp" alt="\[ f(x) = \sum_{i=1}^{n} w_{i} f_i(x), \quad \sum_{i=1}^n w_i = 1. \]" src="form_64.png"/>
+<img class="formulaDsp" alt="\[ f(x) = \sum_{i=1}^{n} w_{i} f_i(x), \quad \sum_{i=1}^n w_i = 1. \]" src="form_72.png"/>
 </p>
-<p> where <img class="formulaInl" alt="$f_i(x)$" src="form_65.png"/> is any density on random variable <img class="formulaInl" alt="$x$" src="form_1.png"/>, called <em>component</em>, </p>
+<p> where <img class="formulaInl" alt="$f_i(x)$" src="form_73.png"/> is any density on random variable <img class="formulaInl" alt="$x$" src="form_1.png"/>, called <em>component</em>, </p>
 <hr/><h2>Member Function Documentation</h2>
-<a class="anchor" id="a0f3db99f730bde6b7953931594537e8e"></a><!-- doxytag: member="bdm::emix::evallog" ref="a0f3db99f730bde6b7953931594537e8e" args="(const vec &amp;val) const " -->
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">double bdm::emix::evallog </td>
-          <td>(</td>
-          <td class="paramtype">const vec &amp;&nbsp;</td>
-          <td class="paramname"> <em>val</em></td>
-          <td>&nbsp;)&nbsp;</td>
-          <td> const<code> [inline, virtual]</code></td>
-        </tr>
-      </table>
-</div>
-<div class="memdoc">
-<p>Compute log-probability of argument <code>val</code> In case the argument is out of suport return -Infinity </p>
-
-<p>Reimplemented from <a class="el" href="classbdm_1_1epdf.html#adeab266d63c236c277538867d5c3f249">bdm::epdf</a>.</p>
-
-<p>References <a class="el" href="bdmerror_8h_source.html#l00047">bdm_assert_debug</a>, <a class="el" href="emix_8h_source.html#l00116">Coms</a>, and <a class="el" href="emix_8h_source.html#l00113">w</a>.</p>
-
-<p>Referenced by <a class="el" href="merger_8cpp_source.html#l00064">bdm::merger_mix::merge()</a>.</p>
-
-</div>
-</div>
 <a class="anchor" id="afa9efc98a065b31c630fe18cc418f725"></a><!-- doxytag: member="bdm::emix::from_setting" ref="afa9efc98a065b31c630fe18cc418f725" args="(const Setting &amp;set)" -->
 <div class="memitem">
@@ -233,14 +211,15 @@
 </div>
 <div class="memdoc">
-<p>Load from structure with elements: </p>
-<div class="fragment"><pre class="fragment"> { <a class="code" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> = {<span class="keyword">class</span>=<span class="stringliteral">&quot;RV&quot;</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable</span>
-   <span class="comment">// elements of offsprings</span>
- }
+
+<p>Load from structure with elements:. </p>
+<div class="fragment"><pre class="fragment">         { <a class="code" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> = {<span class="keyword">class</span>=<span class="stringliteral">&quot;RV&quot;</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable</span>
+           <span class="comment">// elements of offsprings</span>
+         }
 </pre></div> 
 <p>Reimplemented from <a class="el" href="classbdm_1_1root.html#a0551e3121091c5199bf4413b50522176">bdm::root</a>.</p>
 
-<p>Reimplemented in <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; sq_T &gt;</a>, <a class="el" href="classbdm_1_1egiw.html#a55b76ec75bd2df5ef9cab3be20a33bbb">bdm::egiw</a>, <a class="el" href="classbdm_1_1egamma.html#a8a6fd1a1c0190f3e0d95a2a1f99aafc1">bdm::egamma</a>, <a class="el" href="classbdm_1_1euni.html#a77f5fef1f006fe056066da23b9e5f042">bdm::euni</a>, <a class="el" href="classbdm_1_1merger__base.html#a10dd390fc6f0d1733bb07cb51977160c">bdm::merger_base</a>, <a class="el" href="classbdm_1_1merger__mix.html#a9f12b2c66344e25e6b3ef0255d000478">bdm::merger_mix</a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; ldmat &gt;</a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; chmat &gt;</a>, and <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; fsqmat &gt;</a>.</p>
-
-<p>References <a class="el" href="bdmbase_8h_source.html#l00357">bdm::epdf::set_rv()</a>.</p>
+<p>Reimplemented in <a class="el" href="classbdm_1_1mexEpdf.html#af371482ea8d21c8ac01f011b3d942298">bdm::mexEpdf</a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; sq_T &gt;</a>, <a class="el" href="classbdm_1_1egiw.html#a55b76ec75bd2df5ef9cab3be20a33bbb">bdm::egiw</a>, <a class="el" href="classbdm_1_1egamma.html#a8a6fd1a1c0190f3e0d95a2a1f99aafc1">bdm::egamma</a>, <a class="el" href="classbdm_1_1euni.html#a77f5fef1f006fe056066da23b9e5f042">bdm::euni</a>, <a class="el" href="classbdm_1_1merger__base.html#a10dd390fc6f0d1733bb07cb51977160c">bdm::merger_base</a>, <a class="el" href="classbdm_1_1merger__mix.html#a9f12b2c66344e25e6b3ef0255d000478">bdm::merger_mix</a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; ldmat &gt;</a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; chmat &gt;</a>, and <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; fsqmat &gt;</a>.</p>
+
+<p>References <a class="el" href="bdmbase_8h_source.html#l00403">bdm::epdf::set_rv()</a>.</p>
 
 </div>
@@ -274,5 +253,5 @@
 <p>Shared pointers in Coms are kept inside this instance and shouldn't be modified after being passed to this method. </p>
 
-<p>References <a class="el" href="bdmbase_8h_source.html#l00368">bdm::epdf::_rv()</a>, <a class="el" href="bdmerror_8h_source.html#l00047">bdm_assert_debug</a>, <a class="el" href="emix_8h_source.html#l00116">Coms</a>, <a class="el" href="bdmbase_8h_source.html#l00272">bdm::epdf::dim</a>, <a class="el" href="bdmbase_8h_source.html#l00378">bdm::epdf::dimension()</a>, <a class="el" href="bdmbase_8cpp_source.html#l00132">bdm::RV::equal()</a>, <a class="el" href="bdmbase_8h_source.html#l00362">bdm::epdf::isnamed()</a>, <a class="el" href="emix_8h_source.html#l00193">set_rv()</a>, and <a class="el" href="emix_8h_source.html#l00113">w</a>.</p>
+<p>References <a class="el" href="bdmbase_8h_source.html#l00414">bdm::epdf::_rv()</a>, <a class="el" href="bdmerror_8h_source.html#l00047">bdm_assert_debug</a>, <a class="el" href="emix_8h_source.html#l00116">Coms</a>, <a class="el" href="bdmbase_8h_source.html#l00318">bdm::epdf::dim</a>, <a class="el" href="bdmbase_8h_source.html#l00424">bdm::epdf::dimension()</a>, <a class="el" href="bdmbase_8cpp_source.html#l00141">bdm::RV::equal()</a>, <a class="el" href="bdmbase_8h_source.html#l00408">bdm::epdf::isnamed()</a>, <a class="el" href="emix_8h_source.html#l00193">set_rv()</a>, and <a class="el" href="emix_8h_source.html#l00113">w</a>.</p>
 
 <p>Referenced by <a class="el" href="mixtures_8cpp_source.html#l00143">bdm::MixEF::epredictor()</a>, and <a class="el" href="emix_8cpp_source.html#l00045">marginal()</a>.</p>
@@ -285,5 +264,5 @@
 </ul>
 </div>
-<hr size="1"/><address style="text-align: right;"><small>Generated on Sun Aug 30 22:10:50 2009 for mixpp by&nbsp;
+<hr size="1"/><address style="text-align: right;"><small>Generated on Tue Sep 8 22:11:33 2009 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
