Show
Ignore:
Timestamp:
09/12/09 11:41:43 (15 years ago)
Author:
smidl
Message:

doc

Files:
1 modified

Legend:

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

    r591 r608  
    8282<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3290613d31d58daa8a45a54b003871fc"></a><!-- doxytag: member="bdm::eDirich::sample" ref="a3290613d31d58daa8a45a54b003871fc" args="() const " --> 
    8383vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eDirich.html#a3290613d31d58daa8a45a54b003871fc">sample</a> () const </td></tr> 
    84 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a sample, <img class="formulaInl" alt="$ x $" src="form_7.png"/> from density <img class="formulaInl" alt="$ f_x()$" src="form_8.png"/>. <br/></td></tr> 
     84<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a sample, <img class="formulaInl" alt="$ x $" src="form_3.png"/> from density <img class="formulaInl" alt="$ f_x()$" src="form_13.png"/>. <br/></td></tr> 
    8585<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acb343355ec791298bb5a3404cd482fb6"></a><!-- doxytag: member="bdm::eDirich::mean" ref="acb343355ec791298bb5a3404cd482fb6" args="() const " --> 
    8686vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eDirich.html#acb343355ec791298bb5a3404cd482fb6">mean</a> () const </td></tr> 
     
    9494<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a279a99f6266c82fe2273e83841f19eb2"></a><!-- doxytag: member="bdm::eDirich::lognc" ref="a279a99f6266c82fe2273e83841f19eb2" args="() const " --> 
    9595double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eDirich.html#a279a99f6266c82fe2273e83841f19eb2">lognc</a> () const </td></tr> 
    96 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">logarithm of the normalizing constant, <img class="formulaInl" alt="$\mathcal{I}$" src="form_89.png"/> <br/></td></tr> 
     96<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">logarithm of the normalizing constant, <img class="formulaInl" alt="$\mathcal{I}$" src="form_97.png"/> <br/></td></tr> 
    9797<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a175e0add26d2105c28d8121eefb9e324"></a><!-- doxytag: member="bdm::eDirich::_beta" ref="a175e0add26d2105c28d8121eefb9e324" args="()" --> 
    9898vec &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eDirich.html#a175e0add26d2105c28d8121eefb9e324">_beta</a> ()</td></tr> 
     
    111111<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Power of the density, used e.g. to flatten the density. <br/></td></tr> 
    112112<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> 
     113<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Load from structure with elements:.  <a href="#afa9efc98a065b31c630fe18cc418f725"></a><br/></td></tr> 
    113114<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::eDirich::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> 
    114115virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> 
     
    151152<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4cf45fd83cc7573ede9fe1215256058"></a><!-- doxytag: member="bdm::eDirich::sample_m" ref="ab4cf45fd83cc7573ede9fe1215256058" args="(int N) const " --> 
    152153virtual 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> 
    153 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns N samples, <img class="formulaInl" alt="$ [x_1 , x_2 , \ldots \ $" src="form_9.png"/> from density <img class="formulaInl" alt="$ f_x(rv)$" src="form_10.png"/>. <br/></td></tr> 
     154<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> 
    154155<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1499d35b79bce0cfa64fc5cafb9c03b2"></a><!-- doxytag: member="bdm::eDirich::condition" ref="a1499d35b79bce0cfa64fc5cafb9c03b2" args="(const RV &amp;rv) const " --> 
    155156virtual <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> 
     
    162163<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Lower and upper bounds of <code>percentage</code> % quantile, returns mean-2*sigma as default. <br/></td></tr> 
    163164<tr><td colspan="2"><div class="groupHeader">Connection to other classes</div></td></tr> 
    164 <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> 
     165<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> 
    165166<br/><br/></div></td></tr> 
    166167<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af423e28448dbb69ef4905295ec8de8ff"></a><!-- doxytag: member="bdm::eDirich::set_rv" ref="af423e28448dbb69ef4905295ec8de8ff" args="(const RV &amp;rv0)" --> 
     
    192193<hr/><a name="_details"></a><h2>Detailed Description</h2> 
    193194<p>Dirichlet posterior density. </p> 
    194 <p>Continuous Dirichlet density of <img class="formulaInl" alt="$n$" src="form_68.png"/>-dimensional variable <img class="formulaInl" alt="$x$" src="form_1.png"/> </p> 
     195<p>Continuous Dirichlet density of <img class="formulaInl" alt="$n$" src="form_76.png"/>-dimensional variable <img class="formulaInl" alt="$x$" src="form_1.png"/> </p> 
    195196<p class="formulaDsp"> 
    196 <img class="formulaDsp" alt="\[ f(x|\beta) = \frac{\Gamma[\gamma]}{\prod_{i=1}^{n}\Gamma(\beta_i)} \prod_{i=1}^{n}x_i^{\beta_i-1} \]" src="form_69.png"/> 
     197<img class="formulaDsp" alt="\[ f(x|\beta) = \frac{\Gamma[\gamma]}{\prod_{i=1}^{n}\Gamma(\beta_i)} \prod_{i=1}^{n}x_i^{\beta_i-1} \]" src="form_77.png"/> 
    197198</p> 
    198 <p> where <img class="formulaInl" alt="$\gamma=\sum_i \beta_i$" src="form_70.png"/>. </p> 
     199<p> where <img class="formulaInl" alt="$\gamma=\sum_i \beta_i$" src="form_78.png"/>. </p> 
    199200<hr/><h2>Member Function Documentation</h2> 
    200201<a class="anchor" id="afa9efc98a065b31c630fe18cc418f725"></a><!-- doxytag: member="bdm::eDirich::from_setting" ref="afa9efc98a065b31c630fe18cc418f725" args="(const Setting &amp;set)" --> 
     
    213214</div> 
    214215<div class="memdoc"> 
    215 <p>Load from structure with elements: </p> 
    216 <div class="fragment"><pre class="fragment"> { <a class="code" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> = {<span class="keyword">class</span>=<span class="stringliteral">&quot;RV&quot;</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable</span> 
    217    <span class="comment">// elements of offsprings</span> 
    218  } 
     216 
     217<p>Load from structure with elements:. </p> 
     218<div class="fragment"><pre class="fragment">         { <a class="code" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> = {<span class="keyword">class</span>=<span class="stringliteral">&quot;RV&quot;</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable</span> 
     219           <span class="comment">// elements of offsprings</span> 
     220         } 
    219221</pre></div>  
    220222<p>Reimplemented from <a class="el" href="classbdm_1_1root.html#a0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> 
    221223 
    222 <p>Reimplemented in <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_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> 
    223  
    224 <p>References <a class="el" href="bdmbase_8h_source.html#l00357">bdm::epdf::set_rv()</a>.</p> 
     224<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_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> 
     225 
     226<p>References <a class="el" href="bdmbase_8h_source.html#l00403">bdm::epdf::set_rv()</a>.</p> 
    225227 
    226228</div> 
     
    230232</ul> 
    231233</div> 
    232 <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Aug 30 22:10:51 2009 for mixpp by&nbsp; 
     234<hr size="1"/><address style="text-align: right;"><small>Generated on Tue Sep 8 22:11:33 2009 for mixpp by&nbsp; 
    233235<a href="http://www.doxygen.org/index.html"> 
    234236<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>