71 | | <h1>bdm::merger Class Reference</h1><!-- doxytag: class="bdm::merger" --><!-- doxytag: inherits="bdm::compositepdf,bdm::epdf" --><code>#include <<a class="el" href="merger_8h-source.html">merger.h</a>></code> |
72 | | <p> |
73 | | <div class="dynheader"> |
74 | | Inheritance diagram for bdm::merger:</div> |
75 | | <div class="dynsection"> |
76 | | |
77 | | <p><center><img src="classbdm_1_1merger.png" usemap="#bdm::merger_map" border="0" alt=""></center> |
78 | | <map name="bdm::merger_map"> |
79 | | <area href="classbdm_1_1compositepdf.html" alt="bdm::compositepdf" shape="rect" coords="0,56,115,80"> |
80 | | <area href="classbdm_1_1epdf.html" alt="bdm::epdf" shape="rect" coords="125,56,240,80"> |
81 | | <area href="classbdm_1_1bdmroot.html" alt="bdm::bdmroot" shape="rect" coords="125,0,240,24"> |
82 | | </map> |
83 | | </div> |
84 | | |
85 | | <p> |
86 | | <a href="classbdm_1_1merger-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> |
87 | | Function for general combination of pdfs. |
88 | | <p> |
89 | | Mixtures of Gaussian densities are used internally. Switching to other densities should be trivial. <table border="0" cellpadding="0" cellspacing="0"> |
| 71 | <h1>bdm::merger Class Reference</h1><!-- doxytag: class="bdm::merger" --><!-- doxytag: inherits="bdm::compositepdf,bdm::epdf" -->Function for general combination of pdfs. |
| 72 | <a href="#_details">More...</a> |
| 73 | <p> |
| 74 | <code>#include <<a class="el" href="merger_8h-source.html">merger.h</a>></code> |
| 75 | <p> |
| 76 | |
| 77 | <p> |
| 78 | <a href="classbdm_1_1merger-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
255 | | <hr><h2>Member Function Documentation</h2> |
256 | | <a class="anchor" name="0ef73e76eeee44c8e3896e3a271ad974"></a><!-- doxytag: member="bdm::merger::sample" ref="0ef73e76eeee44c8e3896e3a271ad974" args="() const " --> |
257 | | <div class="memitem"> |
258 | | <div class="memproto"> |
259 | | <table class="memname"> |
260 | | <tr> |
261 | | <td class="memname">vec bdm::merger::sample </td> |
262 | | <td>(</td> |
263 | | <td class="paramname"> </td> |
264 | | <td> ) </td> |
265 | | <td> const<code> [inline, virtual]</code></td> |
266 | | </tr> |
267 | | </table> |
268 | | </div> |
269 | | <div class="memdoc"> |
270 | | |
271 | | <p> |
272 | | sample from merged density weight w is a |
273 | | <p>Reimplemented from <a class="el" href="classbdm_1_1epdf.html#75ba57a89681a8efec488f5796c7cc1b">bdm::epdf</a>.</p> |
274 | | |
275 | | <p>References <a class="el" href="merger_8h-source.html#l00031">Mix</a>, <a class="el" href="mixef_8h-source.html#l00106">bdm::MixEF::posterior()</a>, and <a class="el" href="libBM_8h-source.html#l00242">bdm::epdf::sample()</a>.</p> |
276 | | |
277 | | </div> |
278 | | </div><p> |
| 244 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
| 245 | Function for general combination of pdfs. |
| 246 | <p> |
| 247 | Mixtures of Gaussian densities are used internally. Switching to other densities should be trivial. <hr><h2>Member Function Documentation</h2> |
304 | | <p>References <a class="el" href="libBM_8cpp-source.html#l00079">bdm::RV::add()</a>, <a class="el" href="libBM_8h-source.html#l00533">bdm::compositepdf::mpdfs</a>, and <a class="el" href="libBM_8h-source.html#l00531">bdm::compositepdf::n</a>.</p> |
305 | | |
306 | | <p>Referenced by <a class="el" href="emix_8h-source.html#l00174">bdm::mprod::mprod()</a>.</p> |
| 273 | <p>References <a class="el" href="libBM_8cpp-source.html#l00079">bdm::RV::add()</a>, <a class="el" href="libBM_8h-source.html#l00544">bdm::compositepdf::mpdfs</a>, and <a class="el" href="libBM_8h-source.html#l00542">bdm::compositepdf::n</a>.</p> |
| 274 | |
| 275 | <p>Referenced by <a class="el" href="merger_8h-source.html#l00050">merger()</a>, and <a class="el" href="emix_8h-source.html#l00180">bdm::mprod::mprod()</a>.</p> |
| 276 | |
| 277 | </div> |
| 278 | </div><p> |
| 279 | <a class="anchor" name="0ef73e76eeee44c8e3896e3a271ad974"></a><!-- doxytag: member="bdm::merger::sample" ref="0ef73e76eeee44c8e3896e3a271ad974" args="() const " --> |
| 280 | <div class="memitem"> |
| 281 | <div class="memproto"> |
| 282 | <table class="memname"> |
| 283 | <tr> |
| 284 | <td class="memname">vec bdm::merger::sample </td> |
| 285 | <td>(</td> |
| 286 | <td class="paramname"> </td> |
| 287 | <td> ) </td> |
| 288 | <td> const<code> [inline, virtual]</code></td> |
| 289 | </tr> |
| 290 | </table> |
| 291 | </div> |
| 292 | <div class="memdoc"> |
| 293 | |
| 294 | <p> |
| 295 | sample from merged density weight w is a |
| 296 | <p>Reimplemented from <a class="el" href="classbdm_1_1epdf.html#75ba57a89681a8efec488f5796c7cc1b">bdm::epdf</a>.</p> |
| 297 | |
| 298 | <p>References <a class="el" href="merger_8h-source.html#l00031">Mix</a>, <a class="el" href="mixef_8h-source.html#l00109">bdm::MixEF::posterior()</a>, and <a class="el" href="libBM_8h-source.html#l00242">bdm::epdf::sample()</a>.</p> |