Show
Ignore:
Timestamp:
10/12/09 13:49:39 (15 years ago)
Author:
mido
Message:

\doc directory cleaned a bit

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/doc/html/classbdm_1_1eEmp.html

    r641 r651  
    1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    2 <html xmlns="http://www.w3.org/1999/xhtml"> 
    3 <head> 
    4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 
     1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
     2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> 
    53<title>mixpp: bdm::eEmp Class Reference</title> 
    6 <link href="tabs.css" rel="stylesheet" type="text/css"/> 
    7 <link href="doxygen.css" rel="stylesheet" type="text/css"/> 
    8 </head> 
    9 <body> 
    10 <!-- Generated by Doxygen 1.6.1 --> 
     4<link href="tabs.css" rel="stylesheet" type="text/css"> 
     5<link href="doxygen.css" rel="stylesheet" type="text/css"> 
     6</head><body> 
     7<!-- Generated by Doxygen 1.5.9 --> 
    118<script type="text/javascript"> 
    129<!-- 
     
    7168</div> 
    7269<div class="contents"> 
    73 <h1>bdm::eEmp Class Reference</h1><!-- doxytag: class="bdm::eEmp" --><!-- doxytag: inherits="bdm::epdf" --> 
    74 <p>Weighted empirical density.   
    75 <a href="#_details">More...</a></p> 
    76 <hr/><a name="_details"></a><h2>Detailed Description</h2> 
    77 <p>Weighted empirical density. </p> 
    78 <p>Used e.g. in particle filters. </p> 
    79  
    80 <p><code>#include &lt;<a class="el" href="exp__family_8h_source.html">exp_family.h</a>&gt;</code></p> 
    81  
    82 <p><a href="classbdm_1_1eEmp-members.html">List of all members.</a></p> 
    83 <table border="0" cellpadding="0" cellspacing="0"> 
    84 <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> 
    85 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae7f8f98310c1de51bd5c8a1c87528f72"></a><!-- doxytag: member="bdm::eEmp::set_statistics" ref="ae7f8f98310c1de51bd5c8a1c87528f72" args="(const vec &amp;w0, const epdf &amp;pdf0)" --> 
    86 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#ae7f8f98310c1de51bd5c8a1c87528f72">set_statistics</a> (const vec &amp;w0, const <a class="el" href="classbdm_1_1epdf.html">epdf</a> &amp;pdf0)</td></tr> 
    87 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set samples and weights. <br/></td></tr> 
    88 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4f7e6ba7183972e3c7ae399613861b95"></a><!-- doxytag: member="bdm::eEmp::set_statistics" ref="a4f7e6ba7183972e3c7ae399613861b95" args="(const epdf &amp;pdf0, int n)" --> 
    89 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#a4f7e6ba7183972e3c7ae399613861b95">set_statistics</a> (const <a class="el" href="classbdm_1_1epdf.html">epdf</a> &amp;pdf0, int <a class="el" href="classbdm_1_1eEmp.html#a9798006271ca77629855113f1283a031">n</a>)</td></tr> 
    90 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set samples and weights. <br/></td></tr> 
    91 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab62d802b8ef39f7c4dcbeb366c90951a"></a><!-- doxytag: member="bdm::eEmp::set_samples" ref="ab62d802b8ef39f7c4dcbeb366c90951a" args="(const epdf *pdf0)" --> 
    92 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#ab62d802b8ef39f7c4dcbeb366c90951a">set_samples</a> (const <a class="el" href="classbdm_1_1epdf.html">epdf</a> *pdf0)</td></tr> 
    93 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set sample. <br/></td></tr> 
    94 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac74c281d652356c19b6b079e42ca7ef1"></a><!-- doxytag: member="bdm::eEmp::set_parameters" ref="ac74c281d652356c19b6b079e42ca7ef1" args="(int n0, bool copy=true)" --> 
    95 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#ac74c281d652356c19b6b079e42ca7ef1">set_parameters</a> (int n0, bool copy=true)</td></tr> 
    96 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set sample. <br/></td></tr> 
    97 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a37937007a3a676cf653a7de412674481"></a><!-- doxytag: member="bdm::eEmp::set_parameters" ref="a37937007a3a676cf653a7de412674481" args="(const Array&lt; vec &gt; &amp;Av)" --> 
    98 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#a37937007a3a676cf653a7de412674481">set_parameters</a> (const Array&lt; vec &gt; &amp;Av)</td></tr> 
    99 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set samples. <br/></td></tr> 
    100 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7f83cc0415cd44ae7cc8b4bdad93aef"></a><!-- doxytag: member="bdm::eEmp::_w" ref="ad7f83cc0415cd44ae7cc8b4bdad93aef" args="()" --> 
    101 vec &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#ad7f83cc0415cd44ae7cc8b4bdad93aef">_w</a> ()</td></tr> 
    102 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Potentially dangerous, use with care. <br/></td></tr> 
    103 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7d7106f486e3fad38590914a693d714"></a><!-- doxytag: member="bdm::eEmp::_w" ref="ab7d7106f486e3fad38590914a693d714" args="() const " --> 
    104 const vec &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#ab7d7106f486e3fad38590914a693d714">_w</a> () const </td></tr> 
    105 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Potentially dangerous, use with care. <br/></td></tr> 
    106 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac24966b0aaeb767bc8a6b4fd60931be2"></a><!-- doxytag: member="bdm::eEmp::_samples" ref="ac24966b0aaeb767bc8a6b4fd60931be2" args="()" --> 
    107 Array&lt; vec &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#ac24966b0aaeb767bc8a6b4fd60931be2">_samples</a> ()</td></tr> 
    108 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br/></td></tr> 
    109 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ace568a16cdb4e4cb871ef62d7145f1a5"></a><!-- doxytag: member="bdm::eEmp::_sample" ref="ace568a16cdb4e4cb871ef62d7145f1a5" args="(int i) const " --> 
    110 const vec &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#ace568a16cdb4e4cb871ef62d7145f1a5">_sample</a> (int i) const </td></tr> 
    111 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br/></td></tr> 
    112 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab59af0efdb009d98ea8ebfa965e74ae2"></a><!-- doxytag: member="bdm::eEmp::_samples" ref="ab59af0efdb009d98ea8ebfa965e74ae2" args="() const " --> 
    113 const Array&lt; vec &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#ab59af0efdb009d98ea8ebfa965e74ae2">_samples</a> () const </td></tr> 
    114 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br/></td></tr> 
    115 <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#af59ed50888a31057ac2038d80f607d3d">resample</a> (ivec &amp;index, RESAMPLING_METHOD method=SYSTEMATIC)</td></tr> 
    116 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4a150d0a62c08db76d1bc5256909f93"></a><!-- doxytag: member="bdm::eEmp::resample" ref="ab4a150d0a62c08db76d1bc5256909f93" args="(RESAMPLING_METHOD method=SYSTEMATIC)" --> 
    117 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#ab4a150d0a62c08db76d1bc5256909f93">resample</a> (RESAMPLING_METHOD method=SYSTEMATIC)</td></tr> 
    118 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Resampling without returning index of new particles. <br/></td></tr> 
    119 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a97f1e07b5ae6eebc91c7365f0f88d270"></a><!-- doxytag: member="bdm::eEmp::sample" ref="a97f1e07b5ae6eebc91c7365f0f88d270" args="() const " --> 
    120 vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#a97f1e07b5ae6eebc91c7365f0f88d270">sample</a> () const </td></tr> 
    121 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">inherited operation : NOT implemented <br/></td></tr> 
    122 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a01654c014d3aa068f8d4ecba4be86d09"></a><!-- doxytag: member="bdm::eEmp::evallog" ref="a01654c014d3aa068f8d4ecba4be86d09" args="(const vec &amp;val) const " --> 
    123 double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#a01654c014d3aa068f8d4ecba4be86d09">evallog</a> (const vec &amp;val) const </td></tr> 
    124 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">inherited operation : NOT implemented <br/></td></tr> 
    125 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abbfcb4f868c7381298c281a256d8c4b9"></a><!-- doxytag: member="bdm::eEmp::mean" ref="abbfcb4f868c7381298c281a256d8c4b9" args="() const " --> 
    126 vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#abbfcb4f868c7381298c281a256d8c4b9">mean</a> () const </td></tr> 
    127 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return expected value <br/></td></tr> 
    128 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a05e9ebf467ede737cb6a3621d7fd3c87"></a><!-- doxytag: member="bdm::eEmp::variance" ref="a05e9ebf467ede737cb6a3621d7fd3c87" args="() const " --> 
    129 vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#a05e9ebf467ede737cb6a3621d7fd3c87">variance</a> () const </td></tr> 
    130 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return expected variance (not covariance!) <br/></td></tr> 
    131 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab1c9df656144edf79ba2d885613f661f"></a><!-- doxytag: member="bdm::eEmp::qbounds" ref="ab1c9df656144edf79ba2d885613f661f" args="(vec &amp;lb, vec &amp;ub, double perc=0.95) const " --> 
    132 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#ab1c9df656144edf79ba2d885613f661f">qbounds</a> (vec &amp;lb, vec &amp;ub, double perc=0.95) const </td></tr> 
    133 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">For this class, qbounds are minimum and maximum value of the population! <br/></td></tr> 
    134 <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> 
    135 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Load from structure with elements:.  <a href="#afa9efc98a065b31c630fe18cc418f725"></a><br/></td></tr> 
    136 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::eEmp::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> 
    137 virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> 
    138 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns a basic info about the current instance. <br/></td></tr> 
    139 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::eEmp::to_setting" ref="a67d954d255ede776eade7334d4895790" args="(Setting &amp;set) const " --> 
    140 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> 
    141 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br/></td></tr> 
    142 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::eEmp::validate" ref="a1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" --> 
    143 virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr> 
    144 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method TODO. <br/></td></tr> 
     70<h1>bdm::eEmp Class Reference</h1><!-- doxytag: class="bdm::eEmp" --><!-- doxytag: inherits="bdm::epdf" -->Weighted empirical density.   
     71<a href="#_details">More...</a> 
     72<p> 
     73<code>#include &lt;<a class="el" href="exp__family_8h_source.html">exp_family.h</a>&gt;</code> 
     74<p> 
     75 
     76<p> 
     77<a href="classbdm_1_1eEmp-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> 
     78<tr><td></td></tr> 
     79<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> 
     80<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e7f8f98310c1de51bd5c8a1c87528f72"></a><!-- doxytag: member="bdm::eEmp::set_statistics" ref="e7f8f98310c1de51bd5c8a1c87528f72" args="(const vec &amp;w0, const epdf &amp;pdf0)" --> 
     81void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#e7f8f98310c1de51bd5c8a1c87528f72">set_statistics</a> (const vec &amp;w0, const <a class="el" href="classbdm_1_1epdf.html">epdf</a> &amp;pdf0)</td></tr> 
     82 
     83<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set samples and weights. <br></td></tr> 
     84<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4f7e6ba7183972e3c7ae399613861b95"></a><!-- doxytag: member="bdm::eEmp::set_statistics" ref="4f7e6ba7183972e3c7ae399613861b95" args="(const epdf &amp;pdf0, int n)" --> 
     85void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#4f7e6ba7183972e3c7ae399613861b95">set_statistics</a> (const <a class="el" href="classbdm_1_1epdf.html">epdf</a> &amp;pdf0, int <a class="el" href="classbdm_1_1eEmp.html#9798006271ca77629855113f1283a031">n</a>)</td></tr> 
     86 
     87<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set samples and weights. <br></td></tr> 
     88<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b62d802b8ef39f7c4dcbeb366c90951a"></a><!-- doxytag: member="bdm::eEmp::set_samples" ref="b62d802b8ef39f7c4dcbeb366c90951a" args="(const epdf *pdf0)" --> 
     89void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#b62d802b8ef39f7c4dcbeb366c90951a">set_samples</a> (const <a class="el" href="classbdm_1_1epdf.html">epdf</a> *pdf0)</td></tr> 
     90 
     91<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set sample. <br></td></tr> 
     92<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c74c281d652356c19b6b079e42ca7ef1"></a><!-- doxytag: member="bdm::eEmp::set_parameters" ref="c74c281d652356c19b6b079e42ca7ef1" args="(int n0, bool copy=true)" --> 
     93void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#c74c281d652356c19b6b079e42ca7ef1">set_parameters</a> (int n0, bool copy=true)</td></tr> 
     94 
     95<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set sample. <br></td></tr> 
     96<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="37937007a3a676cf653a7de412674481"></a><!-- doxytag: member="bdm::eEmp::set_parameters" ref="37937007a3a676cf653a7de412674481" args="(const Array&lt; vec &gt; &amp;Av)" --> 
     97void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#37937007a3a676cf653a7de412674481">set_parameters</a> (const Array&lt; vec &gt; &amp;Av)</td></tr> 
     98 
     99<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set samples. <br></td></tr> 
     100<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d7f83cc0415cd44ae7cc8b4bdad93aef"></a><!-- doxytag: member="bdm::eEmp::_w" ref="d7f83cc0415cd44ae7cc8b4bdad93aef" args="()" --> 
     101vec &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#d7f83cc0415cd44ae7cc8b4bdad93aef">_w</a> ()</td></tr> 
     102 
     103<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Potentially dangerous, use with care. <br></td></tr> 
     104<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b7d7106f486e3fad38590914a693d714"></a><!-- doxytag: member="bdm::eEmp::_w" ref="b7d7106f486e3fad38590914a693d714" args="() const " --> 
     105const vec &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#b7d7106f486e3fad38590914a693d714">_w</a> () const </td></tr> 
     106 
     107<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Potentially dangerous, use with care. <br></td></tr> 
     108<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c24966b0aaeb767bc8a6b4fd60931be2"></a><!-- doxytag: member="bdm::eEmp::_samples" ref="c24966b0aaeb767bc8a6b4fd60931be2" args="()" --> 
     109Array&lt; vec &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#c24966b0aaeb767bc8a6b4fd60931be2">_samples</a> ()</td></tr> 
     110 
     111<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr> 
     112<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ce568a16cdb4e4cb871ef62d7145f1a5"></a><!-- doxytag: member="bdm::eEmp::_sample" ref="ce568a16cdb4e4cb871ef62d7145f1a5" args="(int i) const " --> 
     113const vec &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#ce568a16cdb4e4cb871ef62d7145f1a5">_sample</a> (int i) const </td></tr> 
     114 
     115<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr> 
     116<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b59af0efdb009d98ea8ebfa965e74ae2"></a><!-- doxytag: member="bdm::eEmp::_samples" ref="b59af0efdb009d98ea8ebfa965e74ae2" args="() const " --> 
     117const Array&lt; vec &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#b59af0efdb009d98ea8ebfa965e74ae2">_samples</a> () const </td></tr> 
     118 
     119<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr> 
     120<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#f59ed50888a31057ac2038d80f607d3d">resample</a> (ivec &amp;index, RESAMPLING_METHOD method=SYSTEMATIC)</td></tr> 
     121 
     122<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4a150d0a62c08db76d1bc5256909f93"></a><!-- doxytag: member="bdm::eEmp::resample" ref="b4a150d0a62c08db76d1bc5256909f93" args="(RESAMPLING_METHOD method=SYSTEMATIC)" --> 
     123void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#b4a150d0a62c08db76d1bc5256909f93">resample</a> (RESAMPLING_METHOD method=SYSTEMATIC)</td></tr> 
     124 
     125<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Resampling without returning index of new particles. <br></td></tr> 
     126<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="97f1e07b5ae6eebc91c7365f0f88d270"></a><!-- doxytag: member="bdm::eEmp::sample" ref="97f1e07b5ae6eebc91c7365f0f88d270" args="() const " --> 
     127vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#97f1e07b5ae6eebc91c7365f0f88d270">sample</a> () const </td></tr> 
     128 
     129<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">inherited operation : NOT implemented <br></td></tr> 
     130<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="01654c014d3aa068f8d4ecba4be86d09"></a><!-- doxytag: member="bdm::eEmp::evallog" ref="01654c014d3aa068f8d4ecba4be86d09" args="(const vec &amp;val) const " --> 
     131double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#01654c014d3aa068f8d4ecba4be86d09">evallog</a> (const vec &amp;val) const </td></tr> 
     132 
     133<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">inherited operation : NOT implemented <br></td></tr> 
     134<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bbfcb4f868c7381298c281a256d8c4b9"></a><!-- doxytag: member="bdm::eEmp::mean" ref="bbfcb4f868c7381298c281a256d8c4b9" args="() const " --> 
     135vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#bbfcb4f868c7381298c281a256d8c4b9">mean</a> () const </td></tr> 
     136 
     137<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return expected value <br></td></tr> 
     138<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="05e9ebf467ede737cb6a3621d7fd3c87"></a><!-- doxytag: member="bdm::eEmp::variance" ref="05e9ebf467ede737cb6a3621d7fd3c87" args="() const " --> 
     139vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#05e9ebf467ede737cb6a3621d7fd3c87">variance</a> () const </td></tr> 
     140 
     141<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return expected variance (not covariance!) <br></td></tr> 
     142<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b1c9df656144edf79ba2d885613f661f"></a><!-- doxytag: member="bdm::eEmp::qbounds" ref="b1c9df656144edf79ba2d885613f661f" args="(vec &amp;lb, vec &amp;ub, double perc=0.95) const " --> 
     143void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#b1c9df656144edf79ba2d885613f661f">qbounds</a> (vec &amp;lb, vec &amp;ub, double perc=0.95) const </td></tr> 
     144 
     145<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">For this class, qbounds are minimum and maximum value of the population! <br></td></tr> 
     146<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#fa9efc98a065b31c630fe18cc418f725">from_setting</a> (const Setting &amp;set)</td></tr> 
     147 
     148<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Load from structure with elements:.  <a href="#fa9efc98a065b31c630fe18cc418f725"></a><br></td></tr> 
     149<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::eEmp::to_string" ref="af0e6941ba5919cae1bc530e2181b109" args="()" --> 
     150virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#af0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> 
     151 
     152<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr> 
     153<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::eEmp::to_setting" ref="67d954d255ede776eade7334d4895790" args="(Setting &amp;set) const " --> 
     154virtual 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> 
     155 
     156<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr> 
     157<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::eEmp::validate" ref="1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" --> 
     158virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr> 
     159 
     160<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method TODO. <br></td></tr> 
    145161<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr> 
    146 <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp559a25fdb98a7d1fd1c3771ac568d5e9"></a> </p> 
    147 <br/><br/></div></td></tr> 
    148 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adc232a73b38c9f9688bc4f981eaa0312"></a><!-- doxytag: member="bdm::eEmp::eEmp" ref="adc232a73b38c9f9688bc4f981eaa0312" args="()" --> 
     162<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dc232a73b38c9f9688bc4f981eaa0312"></a><!-- doxytag: member="bdm::eEmp::eEmp" ref="dc232a73b38c9f9688bc4f981eaa0312" args="()" --> 
    149163&nbsp;</td><td class="memItemRight" valign="bottom"><b>eEmp</b> ()</td></tr> 
    150 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa3daf6363455af099921715e1233c076"></a><!-- doxytag: member="bdm::eEmp::eEmp" ref="aa3daf6363455af099921715e1233c076" args="(const eEmp &amp;e)" --> 
    151 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#aa3daf6363455af099921715e1233c076">eEmp</a> (const <a class="el" href="classbdm_1_1eEmp.html">eEmp</a> &amp;e)</td></tr> 
    152 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">copy constructor <br/></td></tr> 
     164 
     165<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3daf6363455af099921715e1233c076"></a><!-- doxytag: member="bdm::eEmp::eEmp" ref="a3daf6363455af099921715e1233c076" args="(const eEmp &amp;e)" --> 
     166&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#a3daf6363455af099921715e1233c076">eEmp</a> (const <a class="el" href="classbdm_1_1eEmp.html">eEmp</a> &amp;e)</td></tr> 
     167 
     168<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">copy constructor <br></td></tr> 
    153169<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr> 
    154 <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> 
    155 <ul> 
     170<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> 
    156171<li>empty constructor, </li> 
    157172<li>copy constructor,</li> 
    158173</ul> 
    159 <p>The following constructors should be supported for convenience: </p> 
    160 <ul> 
    161 <li>constructor followed by calling <code><a class="el" href="classbdm_1_1eEmp.html#ac74c281d652356c19b6b079e42ca7ef1" title="Set sample.">set_parameters()</a></code> </li> 
    162 <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> 
     174The following constructors should be supported for convenience: <ul> 
     175<li>constructor followed by calling <code><a class="el" href="classbdm_1_1eEmp.html#c74c281d652356c19b6b079e42ca7ef1" title="Set sample.">set_parameters()</a></code> </li> 
     176<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> 
    163177</ul> 
    164 <p>All internal data structures are constructed as empty. Their values (including sizes) will be set by method <code><a class="el" href="classbdm_1_1eEmp.html#ac74c281d652356c19b6b079e42ca7ef1" title="Set sample.">set_parameters()</a></code>. This way references can be initialized in constructors. </p> 
    165 <br/><br/></div></td></tr> 
    166 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a840de94aa33cf4f2ebd2427f45a165d8"></a><!-- doxytag: member="bdm::eEmp::set_parameters" ref="a840de94aa33cf4f2ebd2427f45a165d8" args="(int dim0)" --> 
     178All internal data structures are constructed as empty. Their values (including sizes) will be set by method <code><a class="el" href="classbdm_1_1eEmp.html#c74c281d652356c19b6b079e42ca7ef1" title="Set sample.">set_parameters()</a></code>. This way references can be initialized in constructors. <br><br></div></td></tr> 
     179<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="840de94aa33cf4f2ebd2427f45a165d8"></a><!-- doxytag: member="bdm::eEmp::set_parameters" ref="840de94aa33cf4f2ebd2427f45a165d8" args="(int dim0)" --> 
    167180void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (int dim0)</td></tr> 
     181 
    168182<tr><td colspan="2"><div class="groupHeader">Matematical Operations</div></td></tr> 
    169 <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp96552c993870a5dd6bb0ea321f1ceb78"></a> </p> 
    170 <br/><br/></div></td></tr> 
    171 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4cf45fd83cc7573ede9fe1215256058"></a><!-- doxytag: member="bdm::eEmp::sample_m" ref="ab4cf45fd83cc7573ede9fe1215256058" args="(int N) const " --> 
    172 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> 
    173 <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> 
    174 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad08b68a5abd461f1b6519597e344caf8"></a><!-- doxytag: member="bdm::eEmp::evallog_m" ref="ad08b68a5abd461f1b6519597e344caf8" args="(const mat &amp;Val) const " --> 
    175 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> 
    176 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br/></td></tr> 
    177 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9bc02dae61584138443baf6b1cbc1ac9"></a><!-- doxytag: member="bdm::eEmp::evallog_m" ref="a9bc02dae61584138443baf6b1cbc1ac9" args="(const Array&lt; vec &gt; &amp;Avec) const " --> 
    178 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> 
    179 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br/></td></tr> 
    180 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1499d35b79bce0cfa64fc5cafb9c03b2"></a><!-- doxytag: member="bdm::eEmp::condition" ref="a1499d35b79bce0cfa64fc5cafb9c03b2" args="(const RV &amp;rv) const " --> 
    181 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> 
    182 <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> 
    183 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa84b05f5293cab2aeb4e07faffa60906"></a><!-- doxytag: member="bdm::eEmp::marginal" ref="aa84b05f5293cab2aeb4e07faffa60906" args="(const RV &amp;rv) const " --> 
    184 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> 
    185 <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> 
     183<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4cf45fd83cc7573ede9fe1215256058"></a><!-- doxytag: member="bdm::eEmp::sample_m" ref="b4cf45fd83cc7573ede9fe1215256058" args="(int N) const " --> 
     184virtual 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> 
     185 
     186<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> 
     187<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d08b68a5abd461f1b6519597e344caf8"></a><!-- doxytag: member="bdm::eEmp::evallog_m" ref="d08b68a5abd461f1b6519597e344caf8" args="(const mat &amp;Val) const " --> 
     188virtual 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> 
     189 
     190<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr> 
     191<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9bc02dae61584138443baf6b1cbc1ac9"></a><!-- doxytag: member="bdm::eEmp::evallog_m" ref="9bc02dae61584138443baf6b1cbc1ac9" args="(const Array&lt; vec &gt; &amp;Avec) const " --> 
     192virtual 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> 
     193 
     194<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr> 
     195<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1499d35b79bce0cfa64fc5cafb9c03b2"></a><!-- doxytag: member="bdm::eEmp::condition" ref="1499d35b79bce0cfa64fc5cafb9c03b2" args="(const RV &amp;rv) const " --> 
     196virtual <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> 
     197 
     198<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> 
     199<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a84b05f5293cab2aeb4e07faffa60906"></a><!-- doxytag: member="bdm::eEmp::marginal" ref="a84b05f5293cab2aeb4e07faffa60906" args="(const RV &amp;rv) const " --> 
     200virtual <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> 
     201 
     202<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> 
    186203<tr><td colspan="2"><div class="groupHeader">Connection to other classes</div></td></tr> 
    187 <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> 
    188 <br/><br/></div></td></tr> 
    189 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af423e28448dbb69ef4905295ec8de8ff"></a><!-- doxytag: member="bdm::eEmp::set_rv" ref="af423e28448dbb69ef4905295ec8de8ff" args="(const RV &amp;rv0)" --> 
    190 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> 
    191 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Name its rv. <br/></td></tr> 
    192 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac4b863ff84c7a4882fb3ad18556027f9"></a><!-- doxytag: member="bdm::eEmp::isnamed" ref="ac4b863ff84c7a4882fb3ad18556027f9" args="() const " --> 
    193 bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#ac4b863ff84c7a4882fb3ad18556027f9">isnamed</a> () const </td></tr> 
    194 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">True if rv is assigned. <br/></td></tr> 
    195 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa4ab378d5e004c3ff3e2d4e64f7bba21"></a><!-- doxytag: member="bdm::eEmp::_rv" ref="aa4ab378d5e004c3ff3e2d4e64f7bba21" args="() const " --> 
    196 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> 
    197 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return name (fails when isnamed is false). <br/></td></tr> 
     204<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> 
     205<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f423e28448dbb69ef4905295ec8de8ff"></a><!-- doxytag: member="bdm::eEmp::set_rv" ref="f423e28448dbb69ef4905295ec8de8ff" args="(const RV &amp;rv0)" --> 
     206void&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> 
     207 
     208<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Name its rv. <br></td></tr> 
     209<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c4b863ff84c7a4882fb3ad18556027f9"></a><!-- doxytag: member="bdm::eEmp::isnamed" ref="c4b863ff84c7a4882fb3ad18556027f9" args="() const " --> 
     210bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#c4b863ff84c7a4882fb3ad18556027f9">isnamed</a> () const </td></tr> 
     211 
     212<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">True if rv is assigned. <br></td></tr> 
     213<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4ab378d5e004c3ff3e2d4e64f7bba21"></a><!-- doxytag: member="bdm::eEmp::_rv" ref="a4ab378d5e004c3ff3e2d4e64f7bba21" args="() const " --> 
     214const <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> 
     215 
     216<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return name (fails when isnamed is false). <br></td></tr> 
    198217<tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 
    199 <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpb6eb094f9e6af11f8a7d9efa9d8e3623"></a> </p> 
    200 <br/><br/></div></td></tr> 
    201 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7083a65f7b7a0d0d13b2c516bd2ec29c"></a><!-- doxytag: member="bdm::eEmp::dimension" ref="a7083a65f7b7a0d0d13b2c516bd2ec29c" args="() const " --> 
    202 int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a7083a65f7b7a0d0d13b2c516bd2ec29c">dimension</a> () const </td></tr> 
    203 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Size of the random variable. <br/></td></tr> 
    204 <tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> 
    205 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9798006271ca77629855113f1283a031"></a><!-- doxytag: member="bdm::eEmp::n" ref="a9798006271ca77629855113f1283a031" args="" --> 
    206 int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#a9798006271ca77629855113f1283a031">n</a></td></tr> 
    207 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of particles. <br/></td></tr> 
    208 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d39241aab7c4bbeb07c6d516421c67d"></a><!-- doxytag: member="bdm::eEmp::w" ref="a9d39241aab7c4bbeb07c6d516421c67d" args="" --> 
    209 vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#a9d39241aab7c4bbeb07c6d516421c67d">w</a></td></tr> 
    210 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sample weights <img class="formulaInl" alt="$w$" src="form_106.png"/>. <br/></td></tr> 
    211 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a73d819553a0f268b055a087d2d4486f3"></a><!-- doxytag: member="bdm::eEmp::samples" ref="a73d819553a0f268b055a087d2d4486f3" args="" --> 
    212 Array&lt; vec &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#a73d819553a0f268b055a087d2d4486f3">samples</a></td></tr> 
    213 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Samples <img class="formulaInl" alt="$x^{(i)}, i=1..n$" src="form_107.png"/>. <br/></td></tr> 
    214 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a16adac20ec7fe07e1ea0b27d917788ce"></a><!-- doxytag: member="bdm::eEmp::dim" ref="a16adac20ec7fe07e1ea0b27d917788ce" args="" --> 
    215 int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a16adac20ec7fe07e1ea0b27d917788ce">dim</a></td></tr> 
    216 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dimension of the random variable <br/></td></tr> 
    217 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62c5b8ff71d9ebe6cd58d3c342eb1dc8"></a><!-- doxytag: member="bdm::eEmp::rv" ref="a62c5b8ff71d9ebe6cd58d3c342eb1dc8" args="" --> 
    218 <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> 
    219 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Description of the random variable. <br/></td></tr> 
     218<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7083a65f7b7a0d0d13b2c516bd2ec29c"></a><!-- doxytag: member="bdm::eEmp::dimension" ref="7083a65f7b7a0d0d13b2c516bd2ec29c" args="() const " --> 
     219int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#7083a65f7b7a0d0d13b2c516bd2ec29c">dimension</a> () const </td></tr> 
     220 
     221<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Size of the random variable. <br></td></tr> 
     222<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 
     223<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9798006271ca77629855113f1283a031"></a><!-- doxytag: member="bdm::eEmp::n" ref="9798006271ca77629855113f1283a031" args="" --> 
     224int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#9798006271ca77629855113f1283a031">n</a></td></tr> 
     225 
     226<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of particles. <br></td></tr> 
     227<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9d39241aab7c4bbeb07c6d516421c67d"></a><!-- doxytag: member="bdm::eEmp::w" ref="9d39241aab7c4bbeb07c6d516421c67d" args="" --> 
     228vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#9d39241aab7c4bbeb07c6d516421c67d">w</a></td></tr> 
     229 
     230<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sample weights <img class="formulaInl" alt="$w$" src="form_106.png">. <br></td></tr> 
     231<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="73d819553a0f268b055a087d2d4486f3"></a><!-- doxytag: member="bdm::eEmp::samples" ref="73d819553a0f268b055a087d2d4486f3" args="" --> 
     232Array&lt; vec &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3">samples</a></td></tr> 
     233 
     234<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Samples <img class="formulaInl" alt="$x^{(i)}, i=1..n$" src="form_107.png">. <br></td></tr> 
     235<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="16adac20ec7fe07e1ea0b27d917788ce"></a><!-- doxytag: member="bdm::eEmp::dim" ref="16adac20ec7fe07e1ea0b27d917788ce" args="" --> 
     236int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce">dim</a></td></tr> 
     237 
     238<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dimension of the random variable <br></td></tr> 
     239<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62c5b8ff71d9ebe6cd58d3c342eb1dc8"></a><!-- doxytag: member="bdm::eEmp::rv" ref="62c5b8ff71d9ebe6cd58d3c342eb1dc8" args="" --> 
     240<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> 
     241 
     242<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Description of the random variable. <br></td></tr> 
    220243</table> 
    221 <hr/><h2>Member Function Documentation</h2> 
    222 <a class="anchor" id="afa9efc98a065b31c630fe18cc418f725"></a><!-- doxytag: member="bdm::eEmp::from_setting" ref="afa9efc98a065b31c630fe18cc418f725" args="(const Setting &amp;set)" --> 
     244<hr><a name="_details"></a><h2>Detailed Description</h2> 
     245Weighted empirical density.  
     246<p> 
     247Used e.g. in particle filters. <hr><h2>Member Function Documentation</h2> 
     248<a class="anchor" name="fa9efc98a065b31c630fe18cc418f725"></a><!-- doxytag: member="bdm::eEmp::from_setting" ref="fa9efc98a065b31c630fe18cc418f725" args="(const Setting &amp;set)" --> 
    223249<div class="memitem"> 
    224250<div class="memproto"> 
    225251      <table class="memname"> 
    226252        <tr> 
    227           <td class="memname">void bdm::epdf::from_setting </td> 
     253          <td class="memname">void bdm::epdf::from_setting           </td> 
    228254          <td>(</td> 
    229255          <td class="paramtype">const Setting &amp;&nbsp;</td> 
    230           <td class="paramname"> <em>set</em></td> 
     256          <td class="paramname"> <em>set</em>          </td> 
    231257          <td>&nbsp;)&nbsp;</td> 
    232258          <td><code> [inline, virtual, inherited]</code></td> 
     
    236262<div class="memdoc"> 
    237263 
    238 <p>Load from structure with elements:. </p> 
    239 <div class="fragment"><pre class="fragment">         { rv = {<span class="keyword">class</span>=<span class="stringliteral">&quot;RV&quot;</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable</span> 
     264<p> 
     265Load from structure with elements:.  
     266<p> 
     267<div class="fragment"><pre class="fragment">         { rv = {<span class="keyword">class</span>=<span class="stringliteral">"RV"</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable</span> 
    240268           <span class="comment">// elements of offsprings</span> 
    241269         } 
    242270</pre></div>  
    243 <p>Reimplemented from <a class="el" href="classbdm_1_1root.html#a0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> 
    244  
    245 <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_1eDirich.html#aaef2c328917dd80dce689d3d11d09567">bdm::eDirich</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> 
     271<p>Reimplemented from <a class="el" href="classbdm_1_1root.html#0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> 
     272 
     273<p>Reimplemented in <a class="el" href="classbdm_1_1enorm.html#61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; sq_T &gt;</a>, <a class="el" href="classbdm_1_1egiw.html#55b76ec75bd2df5ef9cab3be20a33bbb">bdm::egiw</a>, <a class="el" href="classbdm_1_1eDirich.html#aef2c328917dd80dce689d3d11d09567">bdm::eDirich</a>, <a class="el" href="classbdm_1_1egamma.html#8a6fd1a1c0190f3e0d95a2a1f99aafc1">bdm::egamma</a>, <a class="el" href="classbdm_1_1euni.html#77f5fef1f006fe056066da23b9e5f042">bdm::euni</a>, <a class="el" href="classbdm_1_1merger__base.html#10dd390fc6f0d1733bb07cb51977160c">bdm::merger_base</a>, <a class="el" href="classbdm_1_1merger__mix.html#9f12b2c66344e25e6b3ef0255d000478">bdm::merger_mix</a>, <a class="el" href="classbdm_1_1enorm.html#61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; ldmat &gt;</a>, <a class="el" href="classbdm_1_1enorm.html#61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; chmat &gt;</a>, and <a class="el" href="classbdm_1_1enorm.html#61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; fsqmat &gt;</a>.</p> 
    246274 
    247275<p>References <a class="el" href="bdmbase_8h_source.html#l00414">bdm::epdf::set_rv()</a>.</p> 
    248276 
    249277</div> 
    250 </div> 
    251 <a class="anchor" id="af59ed50888a31057ac2038d80f607d3d"></a><!-- doxytag: member="bdm::eEmp::resample" ref="af59ed50888a31057ac2038d80f607d3d" args="(ivec &amp;index, RESAMPLING_METHOD method=SYSTEMATIC)" --> 
     278</div><p> 
     279<a class="anchor" name="f59ed50888a31057ac2038d80f607d3d"></a><!-- doxytag: member="bdm::eEmp::resample" ref="f59ed50888a31057ac2038d80f607d3d" args="(ivec &amp;index, RESAMPLING_METHOD method=SYSTEMATIC)" --> 
    252280<div class="memitem"> 
    253281<div class="memproto"> 
    254282      <table class="memname"> 
    255283        <tr> 
    256           <td class="memname">void bdm::eEmp::resample </td> 
     284          <td class="memname">void bdm::eEmp::resample           </td> 
    257285          <td>(</td> 
    258286          <td class="paramtype">ivec &amp;&nbsp;</td> 
     
    273301</div> 
    274302<div class="memdoc"> 
    275 <p>Function performs resampling, i.e. removal of low-weight samples and duplication of high-weight samples such that the new samples represent the same density. The vector with indeces of new samples is returned in variable <code>index</code>. </p> 
    276  
    277 <p>References <a class="el" href="bdmerror_8h_source.html#l00051">bdm_error</a>, <a class="el" href="exp__family_8h_source.html#l01224">n</a>, <a class="el" href="exp__family_8h_source.html#l01228">samples</a>, and <a class="el" href="exp__family_8h_source.html#l01226">w</a>.</p> 
     303 
     304<p> 
     305Function performs resampling, i.e. removal of low-weight samples and duplication of high-weight samples such that the new samples represent the same density. The vector with indeces of new samples is returned in variable <code>index</code>.  
     306<p>References <a class="el" href="bdmerror_8h_source.html#l00051">bdm_error</a>, <a class="el" href="exp__family_8h_source.html#l01225">n</a>, <a class="el" href="exp__family_8h_source.html#l01229">samples</a>, and <a class="el" href="exp__family_8h_source.html#l01227">w</a>.</p> 
    278307 
    279308<p>Referenced by <a class="el" href="particles_8cpp_source.html#l00037">bdm::PF::bayes()</a>, and <a class="el" href="particles_8h_source.html#l00189">bdm::PF::resample()</a>.</p> 
    280309 
    281310</div> 
    282 </div> 
    283 <hr/>The documentation for this class was generated from the following files:<ul> 
    284 <li><a class="el" href="exp__family_8h_source.html">exp_family.h</a></li> 
    285 <li>exp_family.cpp</li> 
    286 </ul> 
    287 </div> 
    288 <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Sep 27 00:49:06 2009 for mixpp by&nbsp; 
     311</div><p> 
     312<hr>The documentation for this class was generated from the following files:<ul> 
     313<li><a class="el" href="exp__family_8h_source.html">exp_family.h</a><li>exp_family.cpp</ul> 
     314</div> 
     315<hr size="1"><address style="text-align: right;"><small>Generated on Wed Oct 7 17:34:49 2009 for mixpp by&nbsp; 
    289316<a href="http://www.doxygen.org/index.html"> 
    290 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> 
     317<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> 
    291318</body> 
    292319</html>