Show
Ignore:
Timestamp:
09/04/08 20:27:01 (16 years ago)
Author:
smidl
Message:

opravy a dokumentace

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/html/classmgamma__fix.html

    r145 r162  
    6464 
    6565<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set value of <code>k</code>. <br></td></tr> 
    66 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9f40dc43885085fad8e3d6652b79e139"></a><!-- doxytag: member="mgamma_fix::samplecond" ref="9f40dc43885085fad8e3d6652b79e139" args="(vec &amp;cond, double &amp;lik)" --> 
    67 vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmgamma.html#9f40dc43885085fad8e3d6652b79e139">samplecond</a> (vec &amp;cond, double &amp;lik)</td></tr> 
    68  
    69 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generate one sample of the posterior. <br></td></tr> 
    70 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e9d52749793f40aad85b70c6db4435ae"></a><!-- doxytag: member="mgamma_fix::samplecond" ref="e9d52749793f40aad85b70c6db4435ae" args="(vec &amp;cond, vec &amp;lik, int n)" --> 
    71 mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmgamma.html#e9d52749793f40aad85b70c6db4435ae">samplecond</a> (vec &amp;cond, vec &amp;lik, int n)</td></tr> 
    72  
    73 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generate matrix of samples of the posterior. <br></td></tr> 
     66<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b">samplecond</a> (const vec &amp;cond, double &amp;ll)</td></tr> 
     67 
     68<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="#3f172b79ec4a5ebc87898a5381141f1b"></a><br></td></tr> 
     69<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#0e37163660f93df2a4d723cedb1da89c">samplecond</a> (const vec &amp;cond, vec &amp;ll, int N)</td></tr> 
     70 
     71<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns.  <a href="#0e37163660f93df2a4d723cedb1da89c"></a><br></td></tr> 
    7472<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="80b738ece5bd4f8c4edaee4b38906f91"></a><!-- doxytag: member="mgamma_fix::evalcond" ref="80b738ece5bd4f8c4edaee4b38906f91" args="(const vec &amp;dt, const vec &amp;cond)" --> 
    7573virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#80b738ece5bd4f8c4edaee4b38906f91">evalcond</a> (const vec &amp;dt, const vec &amp;cond)</td></tr> 
     
    7876<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ec9c850305984582548e8deb64f0ffe8"></a><!-- doxytag: member="mgamma_fix::_rvc" ref="ec9c850305984582548e8deb64f0ffe8" args="()" --> 
    7977<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#ec9c850305984582548e8deb64f0ffe8">_rvc</a> ()</td></tr> 
     78 
     79<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr> 
     80<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1e71ad4c66d5884c82d4a3b06b42fe32"></a><!-- doxytag: member="mgamma_fix::_rv" ref="1e71ad4c66d5884c82d4a3b06b42fe32" args="()" --> 
     81<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#1e71ad4c66d5884c82d4a3b06b42fe32">_rv</a> ()</td></tr> 
    8082 
    8183<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr> 
     
    126128<p> 
    127129Standard deviation of the random walk is proportional to one <img class="formulaInl" alt="$k$" src="form_41.png">-th the mean. This is achieved by setting <img class="formulaInl" alt="$\alpha=k$" src="form_11.png"> and <img class="formulaInl" alt="$\beta=k/\mu$" src="form_12.png">.<p> 
    128 The standard deviation of the walk is then: <img class="formulaInl" alt="$\mu/\sqrt(k)$" src="form_13.png">. <hr>The documentation for this class was generated from the following file:<ul> 
     130The standard deviation of the walk is then: <img class="formulaInl" alt="$\mu/\sqrt(k)$" src="form_13.png">. <hr><h2>Member Function Documentation</h2> 
     131<a class="anchor" name="3f172b79ec4a5ebc87898a5381141f1b"></a><!-- doxytag: member="mgamma_fix::samplecond" ref="3f172b79ec4a5ebc87898a5381141f1b" args="(const vec &amp;cond, double &amp;ll)" --> 
     132<div class="memitem"> 
     133<div class="memproto"> 
     134      <table class="memname"> 
     135        <tr> 
     136          <td class="memname">virtual vec mpdf::samplecond           </td> 
     137          <td>(</td> 
     138          <td class="paramtype">const vec &amp;&nbsp;</td> 
     139          <td class="paramname"> <em>cond</em>, </td> 
     140        </tr> 
     141        <tr> 
     142          <td class="paramkey"></td> 
     143          <td></td> 
     144          <td class="paramtype">double &amp;&nbsp;</td> 
     145          <td class="paramname"> <em>ll</em></td><td>&nbsp;</td> 
     146        </tr> 
     147        <tr> 
     148          <td></td> 
     149          <td>)</td> 
     150          <td></td><td></td><td><code> [inline, virtual, inherited]</code></td> 
     151        </tr> 
     152      </table> 
     153</div> 
     154<div class="memdoc"> 
     155 
     156<p> 
     157Returns the required moment of the <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.  
     158<p> 
     159Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_10.png">. <dl compact><dt><b>Parameters:</b></dt><dd> 
     160  <table border="0" cellspacing="2" cellpadding="0"> 
     161    <tr><td valign="top"></td><td valign="top"><em>cond</em>&nbsp;</td><td>is numeric value of <code>rv</code> </td></tr> 
     162    <tr><td valign="top"></td><td valign="top"><em>ll</em>&nbsp;</td><td>is a return value of log-likelihood of the sample. </td></tr> 
     163  </table> 
     164</dl> 
     165 
     166<p>References <a class="el" href="libBM_8h-source.html#l00195">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00178">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> 
     167 
     168<p>Referenced by <a class="el" href="libPF_8h-source.html#l00137">MPF&lt; BM_T &gt;::bayes()</a>, and <a class="el" href="libPF_8cpp-source.html#l00007">PF::bayes()</a>.</p> 
     169 
     170</div> 
     171</div><p> 
     172<a class="anchor" name="0e37163660f93df2a4d723cedb1da89c"></a><!-- doxytag: member="mgamma_fix::samplecond" ref="0e37163660f93df2a4d723cedb1da89c" args="(const vec &amp;cond, vec &amp;ll, int N)" --> 
     173<div class="memitem"> 
     174<div class="memproto"> 
     175      <table class="memname"> 
     176        <tr> 
     177          <td class="memname">virtual mat mpdf::samplecond           </td> 
     178          <td>(</td> 
     179          <td class="paramtype">const vec &amp;&nbsp;</td> 
     180          <td class="paramname"> <em>cond</em>, </td> 
     181        </tr> 
     182        <tr> 
     183          <td class="paramkey"></td> 
     184          <td></td> 
     185          <td class="paramtype">vec &amp;&nbsp;</td> 
     186          <td class="paramname"> <em>ll</em>, </td> 
     187        </tr> 
     188        <tr> 
     189          <td class="paramkey"></td> 
     190          <td></td> 
     191          <td class="paramtype">int&nbsp;</td> 
     192          <td class="paramname"> <em>N</em></td><td>&nbsp;</td> 
     193        </tr> 
     194        <tr> 
     195          <td></td> 
     196          <td>)</td> 
     197          <td></td><td></td><td><code> [inline, virtual, inherited]</code></td> 
     198        </tr> 
     199      </table> 
     200</div> 
     201<div class="memdoc"> 
     202 
     203<p> 
     204Returns.  
     205<p> 
     206<dl compact><dt><b>Parameters:</b></dt><dd> 
     207  <table border="0" cellspacing="2" cellpadding="0"> 
     208    <tr><td valign="top"></td><td valign="top"><em>N</em>&nbsp;</td><td>samples from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_10.png">. </td></tr> 
     209    <tr><td valign="top"></td><td valign="top"><em>cond</em>&nbsp;</td><td>is numeric value of <code>rv</code> </td></tr> 
     210    <tr><td valign="top"></td><td valign="top"><em>ll</em>&nbsp;</td><td>is a return value of log-likelihood of the sample. </td></tr> 
     211  </table> 
     212</dl> 
     213 
     214<p>References <a class="el" href="libBM_8h-source.html#l00195">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00178">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, <a class="el" href="libBM_8h-source.html#l00174">mpdf::rv</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> 
     215 
     216</div> 
     217</div><p> 
     218<hr>The documentation for this class was generated from the following file:<ul> 
    129219<li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 
    130220</div> 
    131 <hr size="1"><address style="text-align: right;"><small>Generated on Sat Aug 16 17:22:10 2008 for mixpp by&nbsp; 
     221<hr size="1"><address style="text-align: right;"><small>Generated on Thu Sep 4 19:28:12 2008 for mixpp by&nbsp; 
    132222<a href="http://www.doxygen.org/index.html"> 
    133223<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>