Index: library/doc/html/classbdm_1_1merger__base.html
===================================================================
--- library/doc/html/classbdm_1_1merger__base.html (revision 641)
+++ library/doc/html/classbdm_1_1merger__base.html (revision 651)
@@ -1,12 +1,9 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<!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: bdm::merger_base Class Reference</title>
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<link href="doxygen.css" rel="stylesheet" type="text/css"/>
-</head>
-<body>
-<!-- Generated by Doxygen 1.6.1 -->
+<link href="tabs.css" rel="stylesheet" type="text/css">
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.5.9 -->
 <script type="text/javascript">
 <!--
@@ -71,208 +68,240 @@
 </div>
 <div class="contents">
-<h1>bdm::merger_base Class Reference</h1><!-- doxytag: class="bdm::merger_base" --><!-- doxytag: inherits="bdm::epdf" -->
-<p>Base class for general combination of pdfs on discrete support.  
-<a href="#_details">More...</a></p>
-<hr/><a name="_details"></a><h2>Detailed Description</h2>
-<p>Base class for general combination of pdfs on discrete support. </p>
-<p>Mixtures of Gaussian densities are used internally. Switching to other densities should be trivial.</p>
-<p>The merged pdfs are expected to be of the form: </p>
-<p class="formulaDsp">
-<img class="formulaDsp" alt="\[ f(x_i|y_i), i=1..n \]" src="form_108.png"/>
-</p>
-<p> where the resulting merger is a density on <img class="formulaInl" alt="$ \cup [x_i,y_i] $" src="form_109.png"/> . Note that all variables will be joined.</p>
-<p>As a result of this feature, each source must be extended to common support </p>
-<p class="formulaDsp">
-<img class="formulaDsp" alt="\[ f(z_i|y_i,x_i) f(x_i|y_i) f(y_i) i=1..n \]" src="form_110.png"/>
-</p>
-<p> where <img class="formulaInl" alt="$ z_i $" src="form_111.png"/> accumulate variables that were not in the original source. These extensions are calculated on-the-fly.</p>
-<p>However, these operations can not be performed in general. Hence, this class merges only sources on common support, <img class="formulaInl" alt="$ y_i={}, z_i={}, \forall i $" src="form_112.png"/>. For merging of more general cases, use offsprings <a class="el" href="classbdm_1_1merger__mix.html" title="Merger using importance sampling with mixture proposal density.">merger_mix</a> and merger_grid. </p>
-
-<p><code>#include &lt;<a class="el" href="merger_8h_source.html">merger.h</a>&gt;</code></p>
-
-<p><a href="classbdm_1_1merger__base-members.html">List of all members.</a></p>
-<table border="0" cellpadding="0" cellspacing="0">
-<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::merger_base::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>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns a basic info about the current instance. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::merger_base::to_setting" ref="a67d954d255ede776eade7334d4895790" args="(Setting &amp;set) const " -->
-virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a67d954d255ede776eade7334d4895790">to_setting</a> (Setting &amp;set) const </td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br/></td></tr>
+<h1>bdm::merger_base Class Reference</h1><!-- doxytag: class="bdm::merger_base" --><!-- doxytag: inherits="bdm::epdf" -->Base class for general combination of pdfs on discrete support.  
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="merger_8h_source.html">merger.h</a>&gt;</code>
+<p>
+
+<p>
+<a href="classbdm_1_1merger__base-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
+<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="af0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::merger_base::to_string" ref="af0e6941ba5919cae1bc530e2181b109" args="()" -->
+virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#af0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::merger_base::to_setting" ref="67d954d255ede776eade7334d4895790" args="(Setting &amp;set) const " -->
+virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#67d954d255ede776eade7334d4895790">to_setting</a> (Setting &amp;set) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr>
 <tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
-<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp559a25fdb98a7d1fd1c3771ac568d5e9"></a> </p>
-<br/><br/></div></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af9d8c6c26c6520dbb17d4e80f635e7be"></a><!-- doxytag: member="bdm::merger_base::merger_base" ref="af9d8c6c26c6520dbb17d4e80f635e7be" args="()" -->
-&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#af9d8c6c26c6520dbb17d4e80f635e7be">merger_base</a> ()</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afdbaaaa1e7e090774dc49e45d5d80111"></a><!-- doxytag: member="bdm::merger_base::merger_base" ref="afdbaaaa1e7e090774dc49e45d5d80111" args="(const Array&lt; shared_ptr&lt; mpdf &gt; &gt; &amp;S)" -->
-&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#afdbaaaa1e7e090774dc49e45d5d80111">merger_base</a> (const Array&lt; <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> &gt; &gt; &amp;S)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor from sources. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a871add803409c5cc3a634b4ff8fa997f"></a><!-- doxytag: member="bdm::merger_base::set_sources" ref="a871add803409c5cc3a634b4ff8fa997f" args="(const Array&lt; shared_ptr&lt; mpdf &gt; &gt; &amp;Sources)" -->
-void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#a871add803409c5cc3a634b4ff8fa997f">set_sources</a> (const Array&lt; <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> &gt; &gt; &amp;Sources)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Function setting the main internal structures. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa9f469f841bb8d9cb9f30b9e3b93d26f"></a><!-- doxytag: member="bdm::merger_base::set_support" ref="aa9f469f841bb8d9cb9f30b9e3b93d26f" args="(rectangular_support &amp;Sup)" -->
-void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#aa9f469f841bb8d9cb9f30b9e3b93d26f">set_support</a> (<a class="el" href="classbdm_1_1rectangular__support.html">rectangular_support</a> &amp;Sup)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set support points from rectangular grid. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0165a2b0eaaebb7a38cfb352b6150cda"></a><!-- doxytag: member="bdm::merger_base::set_support" ref="a0165a2b0eaaebb7a38cfb352b6150cda" args="(discrete_support &amp;Sup)" -->
-void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#a0165a2b0eaaebb7a38cfb352b6150cda">set_support</a> (<a class="el" href="classbdm_1_1discrete__support.html">discrete_support</a> &amp;Sup)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set support points from dicrete grid. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae4514484bac243585b0a1e44325e8add"></a><!-- doxytag: member="bdm::merger_base::set_debug_file" ref="ae4514484bac243585b0a1e44325e8add" args="(const string fname)" -->
-void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#ae4514484bac243585b0a1e44325e8add">set_debug_file</a> (const string fname)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set debug file <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a86698b7fd1e4320e9830d7dc24ee6c9e"></a><!-- doxytag: member="bdm::merger_base::set_method" ref="a86698b7fd1e4320e9830d7dc24ee6c9e" args="(MERGER_METHOD MTH=DFLT_METHOD, double beta0=DFLT_beta)" -->
-void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#a86698b7fd1e4320e9830d7dc24ee6c9e">set_method</a> (MERGER_METHOD MTH=<a class="el" href="classbdm_1_1merger__base.html#a7acdf3aeded70475ba8a26450a4e197c">DFLT_METHOD</a>, double beta0=<a class="el" href="classbdm_1_1merger__base.html#adfe17e57529d84e122e61401543e9de6">DFLT_beta</a>)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set internal parameters used in approximation. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a28af7b365ecd8c3a15f0e934496871e0"></a><!-- doxytag: member="bdm::merger_base::set_support" ref="a28af7b365ecd8c3a15f0e934496871e0" args="(const epdf &amp;overall, int N)" -->
-void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#a28af7b365ecd8c3a15f0e934496871e0">set_support</a> (const <a class="el" href="classbdm_1_1epdf.html">epdf</a> &amp;overall, int N)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set support points from a pdf by drawing N samples. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a32d7e1dd6d91f77c81df7e82aac18689"></a><!-- doxytag: member="bdm::merger_base::~merger_base" ref="a32d7e1dd6d91f77c81df7e82aac18689" args="()" -->
-virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#a32d7e1dd6d91f77c81df7e82aac18689">~merger_base</a> ()</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <br/></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f9d8c6c26c6520dbb17d4e80f635e7be"></a><!-- doxytag: member="bdm::merger_base::merger_base" ref="f9d8c6c26c6520dbb17d4e80f635e7be" args="()" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#f9d8c6c26c6520dbb17d4e80f635e7be">merger_base</a> ()</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"><a class="anchor" name="fdbaaaa1e7e090774dc49e45d5d80111"></a><!-- doxytag: member="bdm::merger_base::merger_base" ref="fdbaaaa1e7e090774dc49e45d5d80111" args="(const Array&lt; shared_ptr&lt; mpdf &gt; &gt; &amp;S)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#fdbaaaa1e7e090774dc49e45d5d80111">merger_base</a> (const Array&lt; <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> &gt; &gt; &amp;S)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor from sources. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="871add803409c5cc3a634b4ff8fa997f"></a><!-- doxytag: member="bdm::merger_base::set_sources" ref="871add803409c5cc3a634b4ff8fa997f" args="(const Array&lt; shared_ptr&lt; mpdf &gt; &gt; &amp;Sources)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#871add803409c5cc3a634b4ff8fa997f">set_sources</a> (const Array&lt; <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> &gt; &gt; &amp;Sources)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Function setting the main internal structures. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a9f469f841bb8d9cb9f30b9e3b93d26f"></a><!-- doxytag: member="bdm::merger_base::set_support" ref="a9f469f841bb8d9cb9f30b9e3b93d26f" args="(rectangular_support &amp;Sup)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#a9f469f841bb8d9cb9f30b9e3b93d26f">set_support</a> (<a class="el" href="classbdm_1_1rectangular__support.html">rectangular_support</a> &amp;Sup)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set support points from rectangular grid. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0165a2b0eaaebb7a38cfb352b6150cda"></a><!-- doxytag: member="bdm::merger_base::set_support" ref="0165a2b0eaaebb7a38cfb352b6150cda" args="(discrete_support &amp;Sup)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#0165a2b0eaaebb7a38cfb352b6150cda">set_support</a> (<a class="el" href="classbdm_1_1discrete__support.html">discrete_support</a> &amp;Sup)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set support points from dicrete grid. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e4514484bac243585b0a1e44325e8add"></a><!-- doxytag: member="bdm::merger_base::set_debug_file" ref="e4514484bac243585b0a1e44325e8add" args="(const string fname)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#e4514484bac243585b0a1e44325e8add">set_debug_file</a> (const string fname)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set debug file <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="86698b7fd1e4320e9830d7dc24ee6c9e"></a><!-- doxytag: member="bdm::merger_base::set_method" ref="86698b7fd1e4320e9830d7dc24ee6c9e" args="(MERGER_METHOD MTH=DFLT_METHOD, double beta0=DFLT_beta)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#86698b7fd1e4320e9830d7dc24ee6c9e">set_method</a> (MERGER_METHOD MTH=<a class="el" href="classbdm_1_1merger__base.html#7acdf3aeded70475ba8a26450a4e197c">DFLT_METHOD</a>, double beta0=<a class="el" href="classbdm_1_1merger__base.html#dfe17e57529d84e122e61401543e9de6">DFLT_beta</a>)</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="28af7b365ecd8c3a15f0e934496871e0"></a><!-- doxytag: member="bdm::merger_base::set_support" ref="28af7b365ecd8c3a15f0e934496871e0" args="(const epdf &amp;overall, int N)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#28af7b365ecd8c3a15f0e934496871e0">set_support</a> (const <a class="el" href="classbdm_1_1epdf.html">epdf</a> &amp;overall, int N)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set support points from a pdf by drawing N samples. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="32d7e1dd6d91f77c81df7e82aac18689"></a><!-- doxytag: member="bdm::merger_base::~merger_base" ref="32d7e1dd6d91f77c81df7e82aac18689" args="()" -->
+virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#32d7e1dd6d91f77c81df7e82aac18689">~merger_base</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <br></td></tr>
 <tr><td colspan="2"><div class="groupHeader">Mathematical operations</div></td></tr>
-<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpfb3595af27ed8bd142c95323c0dab340"></a> </p>
-<br/><br/></div></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adf4a0094dcc40b3057675443bccb6511"></a><!-- doxytag: member="bdm::merger_base::merge" ref="adf4a0094dcc40b3057675443bccb6511" args="()" -->
-virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#adf4a0094dcc40b3057675443bccb6511">merge</a> ()</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Merge given sources in given points. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1f52bf47d2cdd23a95b19e3da902e431"></a><!-- doxytag: member="bdm::merger_base::merge_points" ref="a1f52bf47d2cdd23a95b19e3da902e431" args="(mat &amp;lW)" -->
-vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#a1f52bf47d2cdd23a95b19e3da902e431">merge_points</a> (mat &amp;lW)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Merge log-likelihood values in points using method specified by parameter METHOD. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#a021acbf1a6e3bfde2a1b9c1c73cea6e0">mean</a> () const </td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">weight w is a  <a href="#a021acbf1a6e3bfde2a1b9c1c73cea6e0"></a><br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a41919c12fd6a07a8e00775c54ba4758a"></a><!-- doxytag: member="bdm::merger_base::covariance" ref="a41919c12fd6a07a8e00775c54ba4758a" args="() const " -->
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="df4a0094dcc40b3057675443bccb6511"></a><!-- doxytag: member="bdm::merger_base::merge" ref="df4a0094dcc40b3057675443bccb6511" args="()" -->
+virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#df4a0094dcc40b3057675443bccb6511">merge</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Merge given sources in given points. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1f52bf47d2cdd23a95b19e3da902e431"></a><!-- doxytag: member="bdm::merger_base::merge_points" ref="1f52bf47d2cdd23a95b19e3da902e431" args="(mat &amp;lW)" -->
+vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#1f52bf47d2cdd23a95b19e3da902e431">merge_points</a> (mat &amp;lW)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Merge log-likelihood values in points using method specified by parameter METHOD. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#021acbf1a6e3bfde2a1b9c1c73cea6e0">mean</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">weight w is a  <a href="#021acbf1a6e3bfde2a1b9c1c73cea6e0"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="41919c12fd6a07a8e00775c54ba4758a"></a><!-- doxytag: member="bdm::merger_base::covariance" ref="41919c12fd6a07a8e00775c54ba4758a" args="() const " -->
 mat&nbsp;</td><td class="memItemRight" valign="bottom"><b>covariance</b> () const </td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a76fe431922844d132b4e1ecf70f53c99"></a><!-- doxytag: member="bdm::merger_base::variance" ref="a76fe431922844d132b4e1ecf70f53c99" args="() const " -->
-vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#a76fe431922844d132b4e1ecf70f53c99">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" nowrap align="right" valign="top"><a class="anchor" name="76fe431922844d132b4e1ecf70f53c99"></a><!-- doxytag: member="bdm::merger_base::variance" ref="76fe431922844d132b4e1ecf70f53c99" args="() const " -->
+vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#76fe431922844d132b4e1ecf70f53c99">variance</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return expected variance (not covariance!) <br></td></tr>
 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr>
-<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpb6eb094f9e6af11f8a7d9efa9d8e3623"></a> </p>
-<br/><br/></div></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afb682e470103f4e0b353b7c9200d177f"></a><!-- doxytag: member="bdm::merger_base::_Smp" ref="afb682e470103f4e0b353b7c9200d177f" args="()" -->
-<a class="el" href="classbdm_1_1eEmp.html">eEmp</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#afb682e470103f4e0b353b7c9200d177f">_Smp</a> ()</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Access function. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a10dd390fc6f0d1733bb07cb51977160c"></a><!-- doxytag: member="bdm::merger_base::from_setting" ref="a10dd390fc6f0d1733bb07cb51977160c" args="(const Setting &amp;set)" -->
-void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#a10dd390fc6f0d1733bb07cb51977160c">from_setting</a> (const Setting &amp;set)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">load from setting <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a400e222d4c41dc57ac19e6735429c4cb"></a><!-- doxytag: member="bdm::merger_base::validate" ref="a400e222d4c41dc57ac19e6735429c4cb" args="()" -->
-void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#a400e222d4c41dc57ac19e6735429c4cb">validate</a> ()</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method TODO. <br/></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fb682e470103f4e0b353b7c9200d177f"></a><!-- doxytag: member="bdm::merger_base::_Smp" ref="fb682e470103f4e0b353b7c9200d177f" args="()" -->
+<a class="el" href="classbdm_1_1eEmp.html">eEmp</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#fb682e470103f4e0b353b7c9200d177f">_Smp</a> ()</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="10dd390fc6f0d1733bb07cb51977160c"></a><!-- doxytag: member="bdm::merger_base::from_setting" ref="10dd390fc6f0d1733bb07cb51977160c" args="(const Setting &amp;set)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#10dd390fc6f0d1733bb07cb51977160c">from_setting</a> (const Setting &amp;set)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">load from setting <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="400e222d4c41dc57ac19e6735429c4cb"></a><!-- doxytag: member="bdm::merger_base::validate" ref="400e222d4c41dc57ac19e6735429c4cb" args="()" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#400e222d4c41dc57ac19e6735429c4cb">validate</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method TODO. <br></td></tr>
 <tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
-<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp559a25fdb98a7d1fd1c3771ac568d5e9"></a> Construction of each <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> should support two types of constructors: </p>
-<ul>
+<tr><td colspan="2"><div class="groupText">Construction of each <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> should support two types of constructors: <ul>
 <li>empty constructor, </li>
 <li>copy constructor,</li>
 </ul>
-<p>The following constructors should be supported for convenience: </p>
-<ul>
+The following constructors should be supported for convenience: <ul>
 <li>constructor followed by calling <code>set_parameters()</code> </li>
-<li>constructor accepting random variables calling <code><a class="el" href="classbdm_1_1epdf.html#af423e28448dbb69ef4905295ec8de8ff" title="Name its rv.">set_rv()</a></code> </li>
+<li>constructor accepting random variables calling <code><a class="el" href="classbdm_1_1epdf.html#f423e28448dbb69ef4905295ec8de8ff" title="Name its rv.">set_rv()</a></code> </li>
 </ul>
-<p>All internal data structures are constructed as empty. Their values (including sizes) will be set by method <code>set_parameters()</code>. This way references can be initialized in constructors. </p>
-<br/><br/></div></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a840de94aa33cf4f2ebd2427f45a165d8"></a><!-- doxytag: member="bdm::merger_base::set_parameters" ref="a840de94aa33cf4f2ebd2427f45a165d8" args="(int dim0)" -->
+All internal data structures are constructed as empty. Their values (including sizes) will be set by method <code>set_parameters()</code>. This way references can be initialized in constructors. <br><br></div></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="840de94aa33cf4f2ebd2427f45a165d8"></a><!-- doxytag: member="bdm::merger_base::set_parameters" ref="840de94aa33cf4f2ebd2427f45a165d8" args="(int dim0)" -->
 void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (int dim0)</td></tr>
+
 <tr><td colspan="2"><div class="groupHeader">Matematical Operations</div></td></tr>
-<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp96552c993870a5dd6bb0ea321f1ceb78"></a> </p>
-<br/><br/></div></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a75ba57a89681a8efec488f5796c7cc1b"></a><!-- doxytag: member="bdm::merger_base::sample" ref="a75ba57a89681a8efec488f5796c7cc1b" args="() const " -->
-virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a75ba57a89681a8efec488f5796c7cc1b">sample</a> () const </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="ab4cf45fd83cc7573ede9fe1215256058"></a><!-- doxytag: member="bdm::merger_base::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_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="adeab266d63c236c277538867d5c3f249"></a><!-- doxytag: member="bdm::merger_base::evallog" ref="adeab266d63c236c277538867d5c3f249" args="(const vec &amp;val) const " -->
-virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#adeab266d63c236c277538867d5c3f249">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="ad08b68a5abd461f1b6519597e344caf8"></a><!-- doxytag: member="bdm::merger_base::evallog_m" ref="ad08b68a5abd461f1b6519597e344caf8" args="(const mat &amp;Val) const " -->
-virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#ad08b68a5abd461f1b6519597e344caf8">evallog_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" align="right" valign="top"><a class="anchor" id="a9bc02dae61584138443baf6b1cbc1ac9"></a><!-- doxytag: member="bdm::merger_base::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>
-<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" align="right" valign="top"><a class="anchor" id="a1499d35b79bce0cfa64fc5cafb9c03b2"></a><!-- doxytag: member="bdm::merger_base::condition" ref="a1499d35b79bce0cfa64fc5cafb9c03b2" args="(const RV &amp;rv) const " -->
-virtual <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a1499d35b79bce0cfa64fc5cafb9c03b2">condition</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;<a class="el" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a>) const </td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return conditional density on the given <a class="el" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>, the remaining rvs will be in conditioning. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa84b05f5293cab2aeb4e07faffa60906"></a><!-- doxytag: member="bdm::merger_base::marginal" ref="aa84b05f5293cab2aeb4e07faffa60906" args="(const RV &amp;rv) const " -->
-virtual <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1epdf.html">epdf</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#aa84b05f5293cab2aeb4e07faffa60906">marginal</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;<a class="el" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a>) const </td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return marginal density on the given <a class="el" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>, the remainig rvs are intergrated out. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0a7705e80601957f7226d333a0a6d539"></a><!-- doxytag: member="bdm::merger_base::qbounds" ref="a0a7705e80601957f7226d333a0a6d539" args="(vec &amp;lb, vec &amp;ub, double percentage=0.95) const " -->
-virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a0a7705e80601957f7226d333a0a6d539">qbounds</a> (vec &amp;lb, vec &amp;ub, double percentage=0.95) const </td></tr>
-<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 class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="75ba57a89681a8efec488f5796c7cc1b"></a><!-- doxytag: member="bdm::merger_base::sample" ref="75ba57a89681a8efec488f5796c7cc1b" args="() const " -->
+virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#75ba57a89681a8efec488f5796c7cc1b">sample</a> () const </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" nowrap align="right" valign="top"><a class="anchor" name="b4cf45fd83cc7573ede9fe1215256058"></a><!-- doxytag: member="bdm::merger_base::sample_m" ref="b4cf45fd83cc7573ede9fe1215256058" args="(int N) const " -->
+virtual mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#b4cf45fd83cc7573ede9fe1215256058">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_14.png"> from density <img class="formulaInl" alt="$ f_x(rv)$" src="form_15.png">. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="deab266d63c236c277538867d5c3f249"></a><!-- doxytag: member="bdm::merger_base::evallog" ref="deab266d63c236c277538867d5c3f249" args="(const vec &amp;val) const " -->
+virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#deab266d63c236c277538867d5c3f249">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" nowrap align="right" valign="top"><a class="anchor" name="d08b68a5abd461f1b6519597e344caf8"></a><!-- doxytag: member="bdm::merger_base::evallog_m" ref="d08b68a5abd461f1b6519597e344caf8" args="(const mat &amp;Val) const " -->
+virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#d08b68a5abd461f1b6519597e344caf8">evallog_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="9bc02dae61584138443baf6b1cbc1ac9"></a><!-- doxytag: member="bdm::merger_base::evallog_m" ref="9bc02dae61584138443baf6b1cbc1ac9" 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#9bc02dae61584138443baf6b1cbc1ac9">evallog_m</a> (const Array&lt; vec &gt; &amp;Avec) 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="1499d35b79bce0cfa64fc5cafb9c03b2"></a><!-- doxytag: member="bdm::merger_base::condition" ref="1499d35b79bce0cfa64fc5cafb9c03b2" args="(const RV &amp;rv) const " -->
+virtual <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#1499d35b79bce0cfa64fc5cafb9c03b2">condition</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;<a class="el" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a>) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return conditional density on the given <a class="el" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>, the remaining rvs will be in conditioning. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a84b05f5293cab2aeb4e07faffa60906"></a><!-- doxytag: member="bdm::merger_base::marginal" ref="a84b05f5293cab2aeb4e07faffa60906" args="(const RV &amp;rv) const " -->
+virtual <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1epdf.html">epdf</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a84b05f5293cab2aeb4e07faffa60906">marginal</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;<a class="el" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a>) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return marginal density on the given <a class="el" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>, the remainig rvs are intergrated out. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0a7705e80601957f7226d333a0a6d539"></a><!-- doxytag: member="bdm::merger_base::qbounds" ref="0a7705e80601957f7226d333a0a6d539" args="(vec &amp;lb, vec &amp;ub, double percentage=0.95) const " -->
+virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#0a7705e80601957f7226d333a0a6d539">qbounds</a> (vec &amp;lb, vec &amp;ub, double percentage=0.95) const </td></tr>
+
+<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>
-<br/><br/></div></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af423e28448dbb69ef4905295ec8de8ff"></a><!-- doxytag: member="bdm::merger_base::set_rv" ref="af423e28448dbb69ef4905295ec8de8ff" args="(const RV &amp;rv0)" -->
-void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#af423e28448dbb69ef4905295ec8de8ff">set_rv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;rv0)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Name its rv. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac4b863ff84c7a4882fb3ad18556027f9"></a><!-- doxytag: member="bdm::merger_base::isnamed" ref="ac4b863ff84c7a4882fb3ad18556027f9" args="() const " -->
-bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#ac4b863ff84c7a4882fb3ad18556027f9">isnamed</a> () const </td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">True if rv is assigned. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa4ab378d5e004c3ff3e2d4e64f7bba21"></a><!-- doxytag: member="bdm::merger_base::_rv" ref="aa4ab378d5e004c3ff3e2d4e64f7bba21" args="() const " -->
-const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#aa4ab378d5e004c3ff3e2d4e64f7bba21">_rv</a> () const </td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return name (fails when isnamed is false). <br/></td></tr>
+<tr><td colspan="2"><div class="groupText">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: <br><br></div></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f423e28448dbb69ef4905295ec8de8ff"></a><!-- doxytag: member="bdm::merger_base::set_rv" ref="f423e28448dbb69ef4905295ec8de8ff" args="(const RV &amp;rv0)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#f423e28448dbb69ef4905295ec8de8ff">set_rv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;rv0)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Name its rv. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c4b863ff84c7a4882fb3ad18556027f9"></a><!-- doxytag: member="bdm::merger_base::isnamed" ref="c4b863ff84c7a4882fb3ad18556027f9" args="() const " -->
+bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#c4b863ff84c7a4882fb3ad18556027f9">isnamed</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">True if rv is assigned. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4ab378d5e004c3ff3e2d4e64f7bba21"></a><!-- doxytag: member="bdm::merger_base::_rv" ref="a4ab378d5e004c3ff3e2d4e64f7bba21" args="() const " -->
+const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a4ab378d5e004c3ff3e2d4e64f7bba21">_rv</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return name (fails when isnamed is false). <br></td></tr>
 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr>
-<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpb6eb094f9e6af11f8a7d9efa9d8e3623"></a> </p>
-<br/><br/></div></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7083a65f7b7a0d0d13b2c516bd2ec29c"></a><!-- doxytag: member="bdm::merger_base::dimension" ref="a7083a65f7b7a0d0d13b2c516bd2ec29c" args="() const " -->
-int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a7083a65f7b7a0d0d13b2c516bd2ec29c">dimension</a> () const </td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Size of the random variable. <br/></td></tr>
-<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3127be48ba35960b943d31aa8b9abf88"></a><!-- doxytag: member="bdm::merger_base::mpdfs" ref="a3127be48ba35960b943d31aa8b9abf88" args="" -->
-Array&lt; <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> &gt; &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#a3127be48ba35960b943d31aa8b9abf88">mpdfs</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Elements of composition. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a09bc4d43dec350a40d17953b8b59d3b7"></a><!-- doxytag: member="bdm::merger_base::dls" ref="a09bc4d43dec350a40d17953b8b59d3b7" args="" -->
-Array&lt; <a class="el" href="classbdm_1_1datalink__m2e.html">datalink_m2e</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#a09bc4d43dec350a40d17953b8b59d3b7">dls</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Data link for each <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling , where  is random variable, rv, and...">mpdf</a> in mpdfs. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4e66803b04fc04b21b3716b3a317421f"></a><!-- doxytag: member="bdm::merger_base::rvzs" ref="a4e66803b04fc04b21b3716b3a317421f" args="" -->
-Array&lt; <a class="el" href="classbdm_1_1RV.html">RV</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#a4e66803b04fc04b21b3716b3a317421f">rvzs</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Array of rvs that are not modelled by mpdfs at all, <img class="formulaInl" alt="$ z_i $" src="form_111.png"/>. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8098858f2edb1294122cbe4f05bf8694"></a><!-- doxytag: member="bdm::merger_base::zdls" ref="a8098858f2edb1294122cbe4f05bf8694" args="" -->
-Array&lt; <a class="el" href="classbdm_1_1datalink__m2e.html">datalink_m2e</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#a8098858f2edb1294122cbe4f05bf8694">zdls</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Data Links for extension <img class="formulaInl" alt="$ f(z_i|x_i,y_i) $" src="form_113.png"/>. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a39d263d92aa85553730c44958a92a541"></a><!-- doxytag: member="bdm::merger_base::Npoints" ref="a39d263d92aa85553730c44958a92a541" args="" -->
-int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#a39d263d92aa85553730c44958a92a541">Npoints</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">number of support points <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4f6cd7ebe1c3c7556039dbfeb00f71f5"></a><!-- doxytag: member="bdm::merger_base::Nsources" ref="a4f6cd7ebe1c3c7556039dbfeb00f71f5" args="" -->
-int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#a4f6cd7ebe1c3c7556039dbfeb00f71f5">Nsources</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">number of sources <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aee197330820127f3d12106ddee6b25c7"></a><!-- doxytag: member="bdm::merger_base::METHOD" ref="aee197330820127f3d12106ddee6b25c7" args="" -->
-MERGER_METHOD&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#aee197330820127f3d12106ddee6b25c7">METHOD</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">switch of the methoh used for merging <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a972f64f6f388b929cf94d2c478116f14"></a><!-- doxytag: member="bdm::merger_base::beta" ref="a972f64f6f388b929cf94d2c478116f14" args="" -->
-double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#a972f64f6f388b929cf94d2c478116f14">beta</a></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" align="right" valign="top"><a class="anchor" id="aa042ce6ee1fb91048ea89bec9934718e"></a><!-- doxytag: member="bdm::merger_base::eSmp" ref="aa042ce6ee1fb91048ea89bec9934718e" args="" -->
-<a class="el" href="classbdm_1_1eEmp.html">eEmp</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#aa042ce6ee1fb91048ea89bec9934718e">eSmp</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Projection to empirical density (could also be piece-wise linear). <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="add180c651a75a131d125305f6bb017f7"></a><!-- doxytag: member="bdm::merger_base::DBG" ref="add180c651a75a131d125305f6bb017f7" args="" -->
-bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#add180c651a75a131d125305f6bb017f7">DBG</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">debug or not debug <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab2c6278b996696cb711cb7be900ccf5b"></a><!-- doxytag: member="bdm::merger_base::dbg_file" ref="ab2c6278b996696cb711cb7be900ccf5b" args="" -->
-it_file *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#ab2c6278b996696cb711cb7be900ccf5b">dbg_file</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">debugging file <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a16adac20ec7fe07e1ea0b27d917788ce"></a><!-- doxytag: member="bdm::merger_base::dim" ref="a16adac20ec7fe07e1ea0b27d917788ce" args="" -->
-int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a16adac20ec7fe07e1ea0b27d917788ce">dim</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dimension of the random variable <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62c5b8ff71d9ebe6cd58d3c342eb1dc8"></a><!-- doxytag: member="bdm::merger_base::rv" ref="a62c5b8ff71d9ebe6cd58d3c342eb1dc8" args="" -->
-<a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Description of the random variable. <br/></td></tr>
-<tr><td colspan="2"><h2>Static Protected Attributes</h2></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7acdf3aeded70475ba8a26450a4e197c"></a><!-- doxytag: member="bdm::merger_base::DFLT_METHOD" ref="a7acdf3aeded70475ba8a26450a4e197c" args="" -->
-static const MERGER_METHOD&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#a7acdf3aeded70475ba8a26450a4e197c">DFLT_METHOD</a> = LOGNORMAL</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default for METHOD. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adfe17e57529d84e122e61401543e9de6"></a><!-- doxytag: member="bdm::merger_base::DFLT_beta" ref="adfe17e57529d84e122e61401543e9de6" args="" -->
-static const double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#adfe17e57529d84e122e61401543e9de6">DFLT_beta</a> = 1.2</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">default for beta <br/></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7083a65f7b7a0d0d13b2c516bd2ec29c"></a><!-- doxytag: member="bdm::merger_base::dimension" ref="7083a65f7b7a0d0d13b2c516bd2ec29c" args="() const " -->
+int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#7083a65f7b7a0d0d13b2c516bd2ec29c">dimension</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Size of the random variable. <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="3127be48ba35960b943d31aa8b9abf88"></a><!-- doxytag: member="bdm::merger_base::mpdfs" ref="3127be48ba35960b943d31aa8b9abf88" args="" -->
+Array&lt; <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> &gt; &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#3127be48ba35960b943d31aa8b9abf88">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="09bc4d43dec350a40d17953b8b59d3b7"></a><!-- doxytag: member="bdm::merger_base::dls" ref="09bc4d43dec350a40d17953b8b59d3b7" args="" -->
+Array&lt; <a class="el" href="classbdm_1_1datalink__m2e.html">datalink_m2e</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#09bc4d43dec350a40d17953b8b59d3b7">dls</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Data link for each <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling , where  is random variable, rv, and...">mpdf</a> in mpdfs. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4e66803b04fc04b21b3716b3a317421f"></a><!-- doxytag: member="bdm::merger_base::rvzs" ref="4e66803b04fc04b21b3716b3a317421f" args="" -->
+Array&lt; <a class="el" href="classbdm_1_1RV.html">RV</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#4e66803b04fc04b21b3716b3a317421f">rvzs</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Array of rvs that are not modelled by mpdfs at all, <img class="formulaInl" alt="$ z_i $" src="form_111.png">. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8098858f2edb1294122cbe4f05bf8694"></a><!-- doxytag: member="bdm::merger_base::zdls" ref="8098858f2edb1294122cbe4f05bf8694" args="" -->
+Array&lt; <a class="el" href="classbdm_1_1datalink__m2e.html">datalink_m2e</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#8098858f2edb1294122cbe4f05bf8694">zdls</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Data Links for extension <img class="formulaInl" alt="$ f(z_i|x_i,y_i) $" src="form_113.png">. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="39d263d92aa85553730c44958a92a541"></a><!-- doxytag: member="bdm::merger_base::Npoints" ref="39d263d92aa85553730c44958a92a541" args="" -->
+int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#39d263d92aa85553730c44958a92a541">Npoints</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">number of support points <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4f6cd7ebe1c3c7556039dbfeb00f71f5"></a><!-- doxytag: member="bdm::merger_base::Nsources" ref="4f6cd7ebe1c3c7556039dbfeb00f71f5" args="" -->
+int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#4f6cd7ebe1c3c7556039dbfeb00f71f5">Nsources</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">number of sources <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ee197330820127f3d12106ddee6b25c7"></a><!-- doxytag: member="bdm::merger_base::METHOD" ref="ee197330820127f3d12106ddee6b25c7" args="" -->
+MERGER_METHOD&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#ee197330820127f3d12106ddee6b25c7">METHOD</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">switch of the methoh used for merging <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="972f64f6f388b929cf94d2c478116f14"></a><!-- doxytag: member="bdm::merger_base::beta" ref="972f64f6f388b929cf94d2c478116f14" args="" -->
+double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#972f64f6f388b929cf94d2c478116f14">beta</a></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="a042ce6ee1fb91048ea89bec9934718e"></a><!-- doxytag: member="bdm::merger_base::eSmp" ref="a042ce6ee1fb91048ea89bec9934718e" args="" -->
+<a class="el" href="classbdm_1_1eEmp.html">eEmp</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e">eSmp</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Projection to empirical density (could also be piece-wise linear). <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dd180c651a75a131d125305f6bb017f7"></a><!-- doxytag: member="bdm::merger_base::DBG" ref="dd180c651a75a131d125305f6bb017f7" args="" -->
+bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#dd180c651a75a131d125305f6bb017f7">DBG</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">debug or not debug <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b2c6278b996696cb711cb7be900ccf5b"></a><!-- doxytag: member="bdm::merger_base::dbg_file" ref="b2c6278b996696cb711cb7be900ccf5b" args="" -->
+it_file *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#b2c6278b996696cb711cb7be900ccf5b">dbg_file</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">debugging file <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="16adac20ec7fe07e1ea0b27d917788ce"></a><!-- doxytag: member="bdm::merger_base::dim" ref="16adac20ec7fe07e1ea0b27d917788ce" args="" -->
+int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce">dim</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dimension of the random variable <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62c5b8ff71d9ebe6cd58d3c342eb1dc8"></a><!-- doxytag: member="bdm::merger_base::rv" ref="62c5b8ff71d9ebe6cd58d3c342eb1dc8" args="" -->
+<a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Description of the random variable. <br></td></tr>
+<tr><td colspan="2"><br><h2>Static Protected Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7acdf3aeded70475ba8a26450a4e197c"></a><!-- doxytag: member="bdm::merger_base::DFLT_METHOD" ref="7acdf3aeded70475ba8a26450a4e197c" args="" -->
+static const MERGER_METHOD&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#7acdf3aeded70475ba8a26450a4e197c">DFLT_METHOD</a> = LOGNORMAL</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default for METHOD. <br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dfe17e57529d84e122e61401543e9de6"></a><!-- doxytag: member="bdm::merger_base::DFLT_beta" ref="dfe17e57529d84e122e61401543e9de6" args="" -->
+static const double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html#dfe17e57529d84e122e61401543e9de6">DFLT_beta</a> = 1.2</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">default for beta <br></td></tr>
 </table>
-<hr/><h2>Member Function Documentation</h2>
-<a class="anchor" id="a021acbf1a6e3bfde2a1b9c1c73cea6e0"></a><!-- doxytag: member="bdm::merger_base::mean" ref="a021acbf1a6e3bfde2a1b9c1c73cea6e0" args="() const " -->
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+Base class for general combination of pdfs on discrete support. 
+<p>
+Mixtures of Gaussian densities are used internally. Switching to other densities should be trivial.<p>
+The merged pdfs are expected to be of the form: <p class="formulaDsp">
+<img class="formulaDsp" alt="\[ f(x_i|y_i), i=1..n \]" src="form_108.png">
+<p>
+ where the resulting merger is a density on <img class="formulaInl" alt="$ \cup [x_i,y_i] $" src="form_109.png"> . Note that all variables will be joined.<p>
+As a result of this feature, each source must be extended to common support <p class="formulaDsp">
+<img class="formulaDsp" alt="\[ f(z_i|y_i,x_i) f(x_i|y_i) f(y_i) i=1..n \]" src="form_110.png">
+<p>
+ where <img class="formulaInl" alt="$ z_i $" src="form_111.png"> accumulate variables that were not in the original source. These extensions are calculated on-the-fly.<p>
+However, these operations can not be performed in general. Hence, this class merges only sources on common support, <img class="formulaInl" alt="$ y_i={}, z_i={}, \forall i $" src="form_112.png">. For merging of more general cases, use offsprings <a class="el" href="classbdm_1_1merger__mix.html" title="Merger using importance sampling with mixture proposal density.">merger_mix</a> and merger_grid. <hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="021acbf1a6e3bfde2a1b9c1c73cea6e0"></a><!-- doxytag: member="bdm::merger_base::mean" ref="021acbf1a6e3bfde2a1b9c1c73cea6e0" args="() const " -->
 <div class="memitem">
 <div class="memproto">
       <table class="memname">
         <tr>
-          <td class="memname">vec bdm::merger_base::mean </td>
+          <td class="memname">vec bdm::merger_base::mean           </td>
           <td>(</td>
-          <td class="paramname"></td>
+          <td class="paramname">          </td>
           <td>&nbsp;)&nbsp;</td>
           <td> const<code> [inline, virtual]</code></td>
@@ -282,23 +311,22 @@
 <div class="memdoc">
 
-<p>weight w is a </p>
-<p>sample from merged density </p>
-
-<p>Reimplemented from <a class="el" href="classbdm_1_1epdf.html#a0c8d13d788094605b3cdab20a6e22b75">bdm::epdf</a>.</p>
-
-<p>References <a class="el" href="exp__family_8h_source.html#l01258">bdm::eEmp::_samples()</a>, <a class="el" href="exp__family_8h_source.html#l01254">bdm::eEmp::_w()</a>, <a class="el" href="bdmbase_8h_source.html#l00329">bdm::epdf::dim</a>, <a class="el" href="merger_8h_source.html#l00076">eSmp</a>, and <a class="el" href="merger_8h_source.html#l00060">Npoints</a>.</p>
+<p>
+weight w is a 
+<p>
+sample from merged density 
+<p>Reimplemented from <a class="el" href="classbdm_1_1epdf.html#0c8d13d788094605b3cdab20a6e22b75">bdm::epdf</a>.</p>
+
+<p>References <a class="el" href="exp__family_8h_source.html#l01259">bdm::eEmp::_samples()</a>, <a class="el" href="exp__family_8h_source.html#l01255">bdm::eEmp::_w()</a>, <a class="el" href="bdmbase_8h_source.html#l00329">bdm::epdf::dim</a>, <a class="el" href="merger_8h_source.html#l00076">eSmp</a>, and <a class="el" href="merger_8h_source.html#l00060">Npoints</a>.</p>
 
 <p>Referenced by <a class="el" href="merger_8h_source.html#l00241">variance()</a>.</p>
 
 </div>
+</div><p>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="merger_8h_source.html">merger.h</a><li>merger.cpp</ul>
 </div>
-<hr/>The documentation for this class was generated from the following files:<ul>
-<li><a class="el" href="merger_8h_source.html">merger.h</a></li>
-<li>merger.cpp</li>
-</ul>
-</div>
-<hr size="1"/><address style="text-align: right;"><small>Generated on Sun Sep 27 00:49:06 2009 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Wed Oct 7 17:34:49 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>
+<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
 </body>
 </html>
