Changeset 608 for library/doc/html/classbdm_1_1eDirich.html
- Timestamp:
- 09/12/09 11:41:43 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/doc/html/classbdm_1_1eDirich.html
r591 r608 82 82 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3290613d31d58daa8a45a54b003871fc"></a><!-- doxytag: member="bdm::eDirich::sample" ref="a3290613d31d58daa8a45a54b003871fc" args="() const " --> 83 83 vec </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"> </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"> </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> 85 85 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acb343355ec791298bb5a3404cd482fb6"></a><!-- doxytag: member="bdm::eDirich::mean" ref="acb343355ec791298bb5a3404cd482fb6" args="() const " --> 86 86 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eDirich.html#acb343355ec791298bb5a3404cd482fb6">mean</a> () const </td></tr> … … 94 94 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a279a99f6266c82fe2273e83841f19eb2"></a><!-- doxytag: member="bdm::eDirich::lognc" ref="a279a99f6266c82fe2273e83841f19eb2" args="() const " --> 95 95 double </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"> </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"> </td><td class="mdescRight">logarithm of the normalizing constant, <img class="formulaInl" alt="$\mathcal{I}$" src="form_97.png"/> <br/></td></tr> 97 97 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a175e0add26d2105c28d8121eefb9e324"></a><!-- doxytag: member="bdm::eDirich::_beta" ref="a175e0add26d2105c28d8121eefb9e324" args="()" --> 98 98 vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eDirich.html#a175e0add26d2105c28d8121eefb9e324">_beta</a> ()</td></tr> … … 111 111 <tr><td class="mdescLeft"> </td><td class="mdescRight">Power of the density, used e.g. to flatten the density. <br/></td></tr> 112 112 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#afa9efc98a065b31c630fe18cc418f725">from_setting</a> (const Setting &set)</td></tr> 113 <tr><td class="mdescLeft"> </td><td class="mdescRight">Load from structure with elements:. <a href="#afa9efc98a065b31c630fe18cc418f725"></a><br/></td></tr> 113 114 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::eDirich::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> 114 115 virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> … … 151 152 <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 " --> 152 153 virtual mat </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"> </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"> </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> 154 155 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1499d35b79bce0cfa64fc5cafb9c03b2"></a><!-- doxytag: member="bdm::eDirich::condition" ref="a1499d35b79bce0cfa64fc5cafb9c03b2" args="(const RV &rv) const " --> 155 156 virtual <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>< <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> > </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> &<a class="el" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a>) const </td></tr> … … 162 163 <tr><td class="mdescLeft"> </td><td class="mdescRight">Lower and upper bounds of <code>percentage</code> % quantile, returns mean-2*sigma as default. <br/></td></tr> 163 164 <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> 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> 165 166 <br/><br/></div></td></tr> 166 167 <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 &rv0)" --> … … 192 193 <hr/><a name="_details"></a><h2>Detailed Description</h2> 193 194 <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> 195 196 <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"/> 197 198 </p> 198 <p> where <img class="formulaInl" alt="$\gamma=\sum_i \beta_i$" src="form_7 0.png"/>. </p>199 <p> where <img class="formulaInl" alt="$\gamma=\sum_i \beta_i$" src="form_78.png"/>. </p> 199 200 <hr/><h2>Member Function Documentation</h2> 200 201 <a class="anchor" id="afa9efc98a065b31c630fe18cc418f725"></a><!-- doxytag: member="bdm::eDirich::from_setting" ref="afa9efc98a065b31c630fe18cc418f725" args="(const Setting &set)" --> … … 213 214 </div> 214 215 <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">"RV"</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">"RV"</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable</span> 219 <span class="comment">// elements of offsprings</span> 220 } 219 221 </pre></div> 220 222 <p>Reimplemented from <a class="el" href="classbdm_1_1root.html#a0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> 221 223 222 <p>Reimplemented in <a class="el" href="classbdm_1_1 enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm< sq_T ></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< ldmat ></a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm< chmat ></a>, and <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm< fsqmat ></a>.</p>223 224 <p>References <a class="el" href="bdmbase_8h_source.html#l00 357">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< sq_T ></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< ldmat ></a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm< chmat ></a>, and <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm< fsqmat ></a>.</p> 225 226 <p>References <a class="el" href="bdmbase_8h_source.html#l00403">bdm::epdf::set_rv()</a>.</p> 225 227 226 228 </div> … … 230 232 </ul> 231 233 </div> 232 <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Aug 30 22:10:512009 for mixpp by 234 <hr size="1"/><address style="text-align: right;"><small>Generated on Tue Sep 8 22:11:33 2009 for mixpp by 233 235 <a href="http://www.doxygen.org/index.html"> 234 236 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>