Changeset 33 for doc/html/classeEmp.html

Show
Ignore:
Timestamp:
03/05/08 16:01:56 (17 years ago)
Author:
smidl
Message:

Oprava PF a MPF + jejich implementace pro pmsm system

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/html/classeEmp.html

    r32 r33  
    4545<tr><td></td></tr> 
    4646<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="0b7235ea451df276dd2c57aae207fe34"></a><!-- doxytag: member="eEmp::eEmp" ref="0b7235ea451df276dd2c57aae207fe34" args="(const RV &amp;rv0)" --> 
    48 &nbsp;</td><td class="memItemRight" valign="bottom"><b>eEmp</b> (const <a class="el" href="classRV.html">RV</a> &amp;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 &amp;rv0, int n0)" --> 
     48&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#0c04b073ecd0dae3d498e680ae27e9e4">eEmp</a> (const <a class="el" href="classRV.html">RV</a> &amp;rv0, int n0)</td></tr> 
    4949 
     50<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor. <br></td></tr> 
    5051<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 &amp;w0, epdf *pdf0)" --> 
    51 void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (const vec &amp;w0, <a class="el" href="classepdf.html">epdf</a> *pdf0)</td></tr> 
     52void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#6606a656c1b28114f7384c25aaf80e8d">set_parameters</a> (const vec &amp;w0, <a class="el" href="classepdf.html">epdf</a> *pdf0)</td></tr> 
    5253 
     54<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set sample. <br></td></tr> 
    5355<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="31b2bfb73b72486a5c89f2ab850c7a9b"></a><!-- doxytag: member="eEmp::_w" ref="31b2bfb73b72486a5c89f2ab850c7a9b" args="()" --> 
    5456vec &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#31b2bfb73b72486a5c89f2ab850c7a9b">_w</a> ()</td></tr> 
     
    5658<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Potentially dangerous, use with care. <br></td></tr> 
    5759<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="31b747eca73b16f30370827ba4cc3575"></a><!-- doxytag: member="eEmp::_samples" ref="31b747eca73b16f30370827ba4cc3575" args="()" --> 
    58 Array&lt; vec &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>_samples</b> ()</td></tr> 
     60Array&lt; vec &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#31b747eca73b16f30370827ba4cc3575">_samples</a> ()</td></tr> 
    5961 
     62<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr> 
    6063<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)" --> 
    6164ivec&nbsp;</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> 
    6265 
    6366<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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 " --> 
     68vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#83f9283f92b805508d896479dc1ccf12">sample</a> () const </td></tr> 
    6569 
    66 <tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#de42454cb65a17fd8662d207dd59aacf">mean</a> ()</td></tr> 
     70<tr><td class="mdescLeft">&nbsp;</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 &amp;val) const " --> 
     72double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#23e7358995400865ad2e278945922fb3">evalpdflog</a> (const vec &amp;val) const </td></tr> 
     73 
     74<tr><td class="mdescLeft">&nbsp;</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 " --> 
     76vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#ba055c19038cc72628d98e25197e982d">mean</a> () const </td></tr> 
    6977 
    7078<tr><td class="mdescLeft">&nbsp;</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 &amp;val)" --> 
    72 virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#f333ceeb88ebc37d81fcd4cea4526bfc">eval</a> (const vec &amp;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 &amp;val) const " --> 
     80virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">eval</a> (const vec &amp;val) const </td></tr> 
    7381 
    7482<tr><td class="mdescLeft">&nbsp;</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 &amp;val)" --> 
    76 virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#113c76c61d20e3f2a24ba322a73dfc51">evalpdflog</a> (const vec &amp;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>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#b89143f12c9b49282e30841e4fb5f337">_rv</a> () const </td></tr> 
    7785 
    78 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of argument <code>val</code>. <br></td></tr> 
     86<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr> 
    7987<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 
    8088<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8c33034de0e35f03f8bb85d3d67438fd"></a><!-- doxytag: member="eEmp::n" ref="8c33034de0e35f03f8bb85d3d67438fd" args="" --> 
     
    8391<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of particles. <br></td></tr> 
    8492<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ae78d144404ddba843c93b171b215de8"></a><!-- doxytag: member="eEmp::w" ref="ae78d144404ddba843c93b171b215de8" args="" --> 
    85 vec&nbsp;</td><td class="memItemRight" valign="bottom"><b>w</b></td></tr> 
     93vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#ae78d144404ddba843c93b171b215de8">w</a></td></tr> 
    8694 
     95<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sample weights $w$. <br></td></tr> 
    8796<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4d6f4bbd6a6824fc39f14676701279a"></a><!-- doxytag: member="eEmp::samples" ref="a4d6f4bbd6a6824fc39f14676701279a" args="" --> 
    88 Array&lt; vec &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>samples</b></td></tr> 
     97Array&lt; vec &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeEmp.html#a4d6f4bbd6a6824fc39f14676701279a">samples</a></td></tr> 
    8998 
     99<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Samples <img class="formulaInl" alt="$x^{(i)}, i=1..n$" src="form_9.png">. <br></td></tr> 
    90100<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>&nbsp;</td><td class="memItemRight" valign="bottom"><b>rv</b></td></tr> 
     101<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">rv</a></td></tr> 
    92102 
     103<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Identified of the random variable. <br></td></tr> 
    93104</table> 
    94105<hr><a name="_details"></a><h2>Detailed Description</h2> 
    95106Weighted empirical density.  
    96107<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>&nbsp;)&nbsp;</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> 
     108Used e.g. in particle filters. <hr>The documentation for this class was generated from the following files:<ul> 
    122109<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:44 2008 for mixpp by&nbsp; 
     110<hr size="1"><address style="text-align: right;"><small>Generated on Wed Mar 5 15:40:05 2008 for mixpp by&nbsp; 
    124111<a href="http://www.doxygen.org/index.html"> 
    125112<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>