Changeset 270 for doc/html/classbdm_1_1eEmp.html
- Timestamp:
- 02/16/09 10:02:08 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/classbdm_1_1eEmp.html
r269 r270 29 29 </div> 30 30 <div class="contents"> 31 <h1>bdm::eEmp Class Reference</h1><!-- doxytag: class="bdm::eEmp" --><!-- doxytag: inherits="bdm::epdf" -->Weighted empirical density. 32 <a href="#_details">More...</a> 33 <p> 34 <code>#include <<a class="el" href="libEF_8h-source.html">libEF.h</a>></code> 31 <h1>bdm::eEmp Class Reference</h1><!-- doxytag: class="bdm::eEmp" --><!-- doxytag: inherits="bdm::epdf" --><code>#include <<a class="el" href="libEF_8h-source.html">libEF.h</a>></code> 35 32 <p> 36 33 <div class="dynheader"> … … 41 38 <area shape="rect" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="19,84,104,111"><area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="5,7,117,33"></map> 42 39 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 43 <div class="dynheader">44 Collaboration diagram for bdm::eEmp:</div>45 <div class="dynsection">46 <p><center><img src="classbdm_1_1eEmp__coll__graph.png" border="0" usemap="#bdm_1_1eEmp__coll__map" alt="Collaboration graph"></center>47 <map name="bdm_1_1eEmp__coll__map">48 <area shape="rect" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="13,183,99,209"><area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="5,7,117,33"><area shape="rect" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables." alt="" coords="72,87,147,113"></map>49 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>50 40 51 41 <p> 52 <a href="classbdm_1_1eEmp-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> 42 <a href="classbdm_1_1eEmp-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> 43 Weighted empirical density. 44 <p> 45 Used e.g. in particle filters. <table border="0" cellpadding="0" cellspacing="0"> 53 46 <tr><td></td></tr> 54 47 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> 55 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 47ee4feee19b3f3e2d371f8fc9f9a863"></a><!-- doxytag: member="bdm::eEmp::eEmp" ref="47ee4feee19b3f3e2d371f8fc9f9a863" args="(const RV &rv0,int n0)" -->56 </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html# 47ee4feee19b3f3e2d371f8fc9f9a863">eEmp</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv0,int n0)</td></tr>48 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="34d7f929fbab6c1e4ce318c56a6399c7"></a><!-- doxytag: member="bdm::eEmp::eEmp" ref="34d7f929fbab6c1e4ce318c56a6399c7" args="(int n0)" --> 49 </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#34d7f929fbab6c1e4ce318c56a6399c7">eEmp</a> (int n0)</td></tr> 57 50 58 51 <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> … … 105 98 106 99 <tr><td class="mdescLeft"> </td><td class="mdescRight">return expected variance (not covariance!) <br></td></tr> 100 <tr><td colspan="2"><div class="groupHeader">Matematical Operations</div></td></tr> 107 101 <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 " --> 108 102 virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#b4cf45fd83cc7573ede9fe1215256058">sample_m</a> (int N) const </td></tr> 109 103 110 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns N samples from density <img class="formulaInl" alt="$epdf(rv)$" src="form_59.png">. <br></td></tr>104 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns N samples, <img class="formulaInl" alt="$ [x_1 , x_2 , \ldots \ $" src="form_108.png"> from density <img class="formulaInl" alt="$ f_x(rv)$" src="form_109.png">. <br></td></tr> 111 105 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="34956d4dd3176eeb5937cf48a1546b62"></a><!-- doxytag: member="bdm::eEmp::evallog_m" ref="34956d4dd3176eeb5937cf48a1546b62" args="(const mat &Val) const " --> 112 106 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#34956d4dd3176eeb5937cf48a1546b62">evallog_m</a> (const mat &Val) const </td></tr> … … 121 115 122 116 <tr><td class="mdescLeft"> </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> 117 <tr><td colspan="2"><div class="groupHeader">Connection to other classes</div></td></tr> 118 <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> 119 <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 &rv0)" --> 120 void </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> &rv0)</td></tr> 121 122 <tr><td class="mdescLeft"> </td><td class="mdescRight">Name its rv. <br></td></tr> 123 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c4b863ff84c7a4882fb3ad18556027f9"></a><!-- doxytag: member="bdm::eEmp::isnamed" ref="c4b863ff84c7a4882fb3ad18556027f9" args="() const " --> 124 bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#c4b863ff84c7a4882fb3ad18556027f9">isnamed</a> () const </td></tr> 125 126 <tr><td class="mdescLeft"> </td><td class="mdescRight">True if rv is assigned. <br></td></tr> 123 127 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4ab378d5e004c3ff3e2d4e64f7bba21"></a><!-- doxytag: member="bdm::eEmp::_rv" ref="a4ab378d5e004c3ff3e2d4e64f7bba21" args="() const " --> 124 128 const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a4ab378d5e004c3ff3e2d4e64f7bba21">_rv</a> () const </td></tr> 125 129 126 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function, possibly dangerous! <br></td></tr> 127 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62e88cbce0ce77a8692f5e15d76e805f"></a><!-- doxytag: member="bdm::eEmp::_renewrv" ref="62e88cbce0ce77a8692f5e15d76e805f" args="(const RV &in_rv)" --> 128 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#62e88cbce0ce77a8692f5e15d76e805f">_renewrv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &in_rv)</td></tr> 130 <tr><td class="mdescLeft"> </td><td class="mdescRight">Return name (fails when isnamed is false). <br></td></tr> 131 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 132 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="46dfe100cd621716ee5c7ee25a20f24b"></a><!-- doxytag: member="bdm::eEmp::dimension" ref="46dfe100cd621716ee5c7ee25a20f24b" args="() const " --> 133 bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#46dfe100cd621716ee5c7ee25a20f24b">dimension</a> () const </td></tr> 129 134 130 <tr><td class="mdescLeft"> </td><td class="mdescRight"> modifier function - useful when copying epdfs<br></td></tr>135 <tr><td class="mdescLeft"> </td><td class="mdescRight">Size of the random variable. <br></td></tr> 131 136 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 132 137 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9798006271ca77629855113f1283a031"></a><!-- doxytag: member="bdm::eEmp::n" ref="9798006271ca77629855113f1283a031" args="" --> … … 142 147 143 148 <tr><td class="mdescLeft"> </td><td class="mdescRight">Samples <img class="formulaInl" alt="$x^{(i)}, i=1..n$" src="form_9.png">. <br></td></tr> 149 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="16adac20ec7fe07e1ea0b27d917788ce"></a><!-- doxytag: member="bdm::eEmp::dim" ref="16adac20ec7fe07e1ea0b27d917788ce" args="" --> 150 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce">dim</a></td></tr> 151 152 <tr><td class="mdescLeft"> </td><td class="mdescRight">dimension of the random variable <br></td></tr> 144 153 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62c5b8ff71d9ebe6cd58d3c342eb1dc8"></a><!-- doxytag: member="bdm::eEmp::rv" ref="62c5b8ff71d9ebe6cd58d3c342eb1dc8" args="" --> 145 154 <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a></td></tr> 146 155 147 <tr><td class="mdescLeft"> </td><td class="mdescRight"> Identifiedof the random variable. <br></td></tr>156 <tr><td class="mdescLeft"> </td><td class="mdescRight">Description of the random variable. <br></td></tr> 148 157 </table> 149 <hr><a name="_details"></a><h2>Detailed Description</h2> 150 Weighted empirical density. 151 <p> 152 Used e.g. in particle filters. <hr>The documentation for this class was generated from the following files:<ul> 158 <hr>The documentation for this class was generated from the following files:<ul> 153 159 <li><a class="el" href="libEF_8h-source.html">libEF.h</a><li>libEF.cpp</ul> 154 160 </div> 155 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 11 10:21:07 2009 for mixpp by 161 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 11 23:34:07 2009 for mixpp by 156 162 <a href="http://www.doxygen.org/index.html"> 157 163 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>