Changeset 33 for doc/html/classeEmp.html
- Timestamp:
- 03/05/08 16:01:56 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/classeEmp.html
r32 r33 45 45 <tr><td></td></tr> 46 46 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> 47 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0 b7235ea451df276dd2c57aae207fe34"></a><!-- doxytag: member="eEmp::eEmp" ref="0b7235ea451df276dd2c57aae207fe34" args="(const RV &rv0)" -->48 </td><td class="memItemRight" valign="bottom">< b>eEmp</b> (const <a class="el" href="classRV.html">RV</a> &rv0)</td></tr>47 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0c04b073ecd0dae3d498e680ae27e9e4"></a><!-- doxytag: member="eEmp::eEmp" ref="0c04b073ecd0dae3d498e680ae27e9e4" args="(const RV &rv0, int n0)" --> 48 </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#0c04b073ecd0dae3d498e680ae27e9e4">eEmp</a> (const <a class="el" href="classRV.html">RV</a> &rv0, int n0)</td></tr> 49 49 50 <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> 50 51 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6606a656c1b28114f7384c25aaf80e8d"></a><!-- doxytag: member="eEmp::set_parameters" ref="6606a656c1b28114f7384c25aaf80e8d" args="(const vec &w0, epdf *pdf0)" --> 51 void </td><td class="memItemRight" valign="bottom">< b>set_parameters</b> (const vec &w0, <a class="el" href="classepdf.html">epdf</a> *pdf0)</td></tr>52 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#6606a656c1b28114f7384c25aaf80e8d">set_parameters</a> (const vec &w0, <a class="el" href="classepdf.html">epdf</a> *pdf0)</td></tr> 52 53 54 <tr><td class="mdescLeft"> </td><td class="mdescRight">Set sample. <br></td></tr> 53 55 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="31b2bfb73b72486a5c89f2ab850c7a9b"></a><!-- doxytag: member="eEmp::_w" ref="31b2bfb73b72486a5c89f2ab850c7a9b" args="()" --> 54 56 vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#31b2bfb73b72486a5c89f2ab850c7a9b">_w</a> ()</td></tr> … … 56 58 <tr><td class="mdescLeft"> </td><td class="mdescRight">Potentially dangerous, use with care. <br></td></tr> 57 59 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="31b747eca73b16f30370827ba4cc3575"></a><!-- doxytag: member="eEmp::_samples" ref="31b747eca73b16f30370827ba4cc3575" args="()" --> 58 Array< vec > & </td><td class="memItemRight" valign="bottom">< b>_samples</b> ()</td></tr>60 Array< vec > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#31b747eca73b16f30370827ba4cc3575">_samples</a> ()</td></tr> 59 61 62 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 60 63 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="77268292fc4465cb73ddbfb1f2932a59"></a><!-- doxytag: member="eEmp::resample" ref="77268292fc4465cb73ddbfb1f2932a59" args="(RESAMPLING_METHOD method=SYSTEMATIC)" --> 61 64 ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#77268292fc4465cb73ddbfb1f2932a59">resample</a> (<a class="el" href="libEF_8h.html#99497a3ff630f761cf6bff7babd23212">RESAMPLING_METHOD</a> method=SYSTEMATIC)</td></tr> 62 65 63 66 <tr><td class="mdescLeft"> </td><td class="mdescRight">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. <br></td></tr> 64 <tr><td class="memItemLeft" nowrap align="right" valign="top">vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#c9b44099a400579b88aff9f5afaf9c13">sample</a> ()</td></tr> 67 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="83f9283f92b805508d896479dc1ccf12"></a><!-- doxytag: member="eEmp::sample" ref="83f9283f92b805508d896479dc1ccf12" args="() const " --> 68 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#83f9283f92b805508d896479dc1ccf12">sample</a> () const </td></tr> 65 69 66 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the required moment of the <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>. <a href="#c9b44099a400579b88aff9f5afaf9c13"></a><br></td></tr> 67 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="de42454cb65a17fd8662d207dd59aacf"></a><!-- doxytag: member="eEmp::mean" ref="de42454cb65a17fd8662d207dd59aacf" args="()" --> 68 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#de42454cb65a17fd8662d207dd59aacf">mean</a> ()</td></tr> 70 <tr><td class="mdescLeft"> </td><td class="mdescRight">inherited operation : NOT implemneted <br></td></tr> 71 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="23e7358995400865ad2e278945922fb3"></a><!-- doxytag: member="eEmp::evalpdflog" ref="23e7358995400865ad2e278945922fb3" args="(const vec &val) const " --> 72 double </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#23e7358995400865ad2e278945922fb3">evalpdflog</a> (const vec &val) const </td></tr> 73 74 <tr><td class="mdescLeft"> </td><td class="mdescRight">inherited operation : NOT implemneted <br></td></tr> 75 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ba055c19038cc72628d98e25197e982d"></a><!-- doxytag: member="eEmp::mean" ref="ba055c19038cc72628d98e25197e982d" args="() const " --> 76 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#ba055c19038cc72628d98e25197e982d">mean</a> () const </td></tr> 69 77 70 78 <tr><td class="mdescLeft"> </td><td class="mdescRight">return expected value <br></td></tr> 71 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" f333ceeb88ebc37d81fcd4cea4526bfc"></a><!-- doxytag: member="eEmp::eval" ref="f333ceeb88ebc37d81fcd4cea4526bfc" args="(const vec &val)" -->72 virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html# f333ceeb88ebc37d81fcd4cea4526bfc">eval</a> (const vec &val)</td></tr>79 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3ea597362e11a0040fe7c990269d072c"></a><!-- doxytag: member="eEmp::eval" ref="3ea597362e11a0040fe7c990269d072c" args="(const vec &val) const " --> 80 virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">eval</a> (const vec &val) const </td></tr> 73 81 74 82 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr> 75 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 113c76c61d20e3f2a24ba322a73dfc51"></a><!-- doxytag: member="eEmp::evalpdflog" ref="113c76c61d20e3f2a24ba322a73dfc51" args="(const vec &val)" -->76 virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#113c76c61d20e3f2a24ba322a73dfc51">evalpdflog</a> (const vec &val)</td></tr>83 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b89143f12c9b49282e30841e4fb5f337"></a><!-- doxytag: member="eEmp::_rv" ref="b89143f12c9b49282e30841e4fb5f337" args="() const " --> 84 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#b89143f12c9b49282e30841e4fb5f337">_rv</a> () const </td></tr> 77 85 78 <tr><td class="mdescLeft"> </td><td class="mdescRight"> Compute log-probability of argument <code>val</code>.<br></td></tr>86 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 79 87 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 80 88 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8c33034de0e35f03f8bb85d3d67438fd"></a><!-- doxytag: member="eEmp::n" ref="8c33034de0e35f03f8bb85d3d67438fd" args="" --> … … 83 91 <tr><td class="mdescLeft"> </td><td class="mdescRight">Number of particles. <br></td></tr> 84 92 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ae78d144404ddba843c93b171b215de8"></a><!-- doxytag: member="eEmp::w" ref="ae78d144404ddba843c93b171b215de8" args="" --> 85 vec </td><td class="memItemRight" valign="bottom">< b>w</b></td></tr>93 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#ae78d144404ddba843c93b171b215de8">w</a></td></tr> 86 94 95 <tr><td class="mdescLeft"> </td><td class="mdescRight">Sample weights $w$. <br></td></tr> 87 96 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4d6f4bbd6a6824fc39f14676701279a"></a><!-- doxytag: member="eEmp::samples" ref="a4d6f4bbd6a6824fc39f14676701279a" args="" --> 88 Array< vec > </td><td class="memItemRight" valign="bottom">< b>samples</b></td></tr>97 Array< vec > </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#a4d6f4bbd6a6824fc39f14676701279a">samples</a></td></tr> 89 98 99 <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> 90 100 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="74da992e3f5d598da8850b646b79b9d9"></a><!-- doxytag: member="eEmp::rv" ref="74da992e3f5d598da8850b646b79b9d9" args="" --> 91 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom">< b>rv</b></td></tr>101 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">rv</a></td></tr> 92 102 103 <tr><td class="mdescLeft"> </td><td class="mdescRight">Identified of the random variable. <br></td></tr> 93 104 </table> 94 105 <hr><a name="_details"></a><h2>Detailed Description</h2> 95 106 Weighted empirical density. 96 107 <p> 97 Used e.g. in particle filters. <hr><h2>Member Function Documentation</h2> 98 <a class="anchor" name="c9b44099a400579b88aff9f5afaf9c13"></a><!-- doxytag: member="eEmp::sample" ref="c9b44099a400579b88aff9f5afaf9c13" args="()" --> 99 <div class="memitem"> 100 <div class="memproto"> 101 <table class="memname"> 102 <tr> 103 <td class="memname">vec eEmp::sample </td> 104 <td>(</td> 105 <td class="paramname"> </td> 106 <td> ) </td> 107 <td width="100%"><code> [inline, virtual]</code></td> 108 </tr> 109 </table> 110 </div> 111 <div class="memdoc"> 112 113 <p> 114 Returns the required moment of the <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>. 115 <p> 116 Returns a sample from the density, <img class="formulaInl" alt="$x \sim epdf(rv)$" src="form_3.png"> 117 <p>Implements <a class="el" href="classepdf.html#7f74d871d50b9ff360f1b3879092a9fa">epdf</a>.</p> 118 119 </div> 120 </div><p> 121 <hr>The documentation for this class was generated from the following files:<ul> 108 Used e.g. in particle filters. <hr>The documentation for this class was generated from the following files:<ul> 122 109 <li>work/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a><li>work/mixpp/bdm/stat/libEF.cpp</ul> 123 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 28 16:54:442008 for mixpp by 110 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Mar 5 15:40:05 2008 for mixpp by 124 111 <a href="http://www.doxygen.org/index.html"> 125 112 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>