Changeset 171 for doc/html/classegamma.html
- Timestamp:
- 09/24/08 13:08:07 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/classegamma.html
r162 r171 56 56 57 57 <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets parameters. <br></td></tr> 58 <tr><td class="memItemLeft" nowrap align="right" valign="top">vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classegamma.html#8e10c0021b5dfdd9cb62c6959b5ef425">sample</a> () const </td></tr> 58 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8e10c0021b5dfdd9cb62c6959b5ef425"></a><!-- doxytag: member="egamma::sample" ref="8e10c0021b5dfdd9cb62c6959b5ef425" args="() const " --> 59 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classegamma.html#8e10c0021b5dfdd9cb62c6959b5ef425">sample</a> () const </td></tr> 59 60 60 <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="#8e10c0021b5dfdd9cb62c6959b5ef425"></a><br></td></tr>61 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a sample, <img class="formulaInl" alt="$x$" src="form_28.png"> from density <img class="formulaInl" alt="$epdf(rv)$" src="form_59.png">. <br></td></tr> 61 62 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="de84faac8f9799dfe2777ddbedf997ef"></a><!-- doxytag: member="egamma::evalpdflog" ref="de84faac8f9799dfe2777ddbedf997ef" args="(const vec &val) const " --> 62 63 double </td><td class="memItemRight" valign="bottom"><a class="el" href="classegamma.html#de84faac8f9799dfe2777ddbedf997ef">evalpdflog</a> (const vec &val) const </td></tr> … … 75 76 76 77 <tr><td class="mdescLeft"> </td><td class="mdescRight">return expected value <br></td></tr> 77 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" fd88bc35550ec8fe9281d358216d0fcf"></a><!-- doxytag: member="egamma::tupdate" ref="fd88bc35550ec8fe9281d358216d0fcf" args="(double phi, mat &vbar, double nubar)" -->78 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEF.html# fd88bc35550ec8fe9281d358216d0fcf">tupdate</a> (double phi, mat &vbar, double nubar)</td></tr>78 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a89bef8996410609004fa019b5b48964"></a><!-- doxytag: member="egamma::dupdate" ref="a89bef8996410609004fa019b5b48964" args="(mat &v)" --> 79 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEF.html#a89bef8996410609004fa019b5b48964">dupdate</a> (mat &v)</td></tr> 79 80 80 81 <tr><td class="mdescLeft"> </td><td class="mdescRight">TODO decide if it is really needed. <br></td></tr> 81 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 5863718c3b2fb1496dece10c5b745d5c"></a><!-- doxytag: member="egamma::dupdate" ref="5863718c3b2fb1496dece10c5b745d5c" args="(mat &v, double nu=1.0)" -->82 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEF.html#5863718c3b2fb1496dece10c5b745d5c">dupdate</a> (mat &v, double nu=1.0)</td></tr>82 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="48cdd33d0e20d1a1aa45683c956bc61c"></a><!-- doxytag: member="egamma::evalpdflog_nn" ref="48cdd33d0e20d1a1aa45683c956bc61c" args="(const vec &val) const " --> 83 virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEF.html#48cdd33d0e20d1a1aa45683c956bc61c">evalpdflog_nn</a> (const vec &val) const </td></tr> 83 84 84 <tr><td class="mdescLeft"> </td><td class="mdescRight">TODO decide if it is really needed. <br></td></tr> 85 <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluate normalized log-probability. <br></td></tr> 86 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c71faf4b2d153efda14bf1f87dca1507"></a><!-- doxytag: member="egamma::evalpdflog" ref="c71faf4b2d153efda14bf1f87dca1507" args="(const mat &Val) const " --> 87 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">evalpdflog</a> (const mat &Val) const </td></tr> 88 89 <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluate normalized log-probability for many samples. <br></td></tr> 90 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4f8385dd1cc9740522dc373b1dc3cbf5"></a><!-- doxytag: member="egamma::pow" ref="4f8385dd1cc9740522dc373b1dc3cbf5" args="(double p)" --> 91 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEF.html#4f8385dd1cc9740522dc373b1dc3cbf5">pow</a> (double p)</td></tr> 92 93 <tr><td class="mdescLeft"> </td><td class="mdescRight">Power of the density, used e.g. to flatten the density. <br></td></tr> 85 94 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="54d7dd53a641b618771cd9bee135181f"></a><!-- doxytag: member="egamma::sampleN" ref="54d7dd53a641b618771cd9bee135181f" args="(int N) const " --> 86 95 virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#54d7dd53a641b618771cd9bee135181f">sampleN</a> (int N) const </td></tr> … … 91 100 92 101 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr> 93 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 4778ea61ef400813e47750e024e9fc2f"></a><!-- doxytag: member="egamma::_rv" ref="4778ea61ef400813e47750e024e9fc2f" args="()" -->94 <a class="el" href="classRV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#4778ea61ef400813e47750e024e9fc2f">_rv</a> ()</td></tr>102 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ca0d32aabb4cbba347e0c37fe8607562"></a><!-- doxytag: member="egamma::_rv" ref="ca0d32aabb4cbba347e0c37fe8607562" args="() const " --> 103 const <a class="el" href="classRV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562">_rv</a> () const </td></tr> 95 104 96 105 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function, possibly dangerous! <br></td></tr> 106 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7fb94ce90d1ac7077d29f7d6a6c3e0a5"></a><!-- doxytag: member="egamma::_renewrv" ref="7fb94ce90d1ac7077d29f7d6a6c3e0a5" args="(const RV &in_rv)" --> 107 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#7fb94ce90d1ac7077d29f7d6a6c3e0a5">_renewrv</a> (const <a class="el" href="classRV.html">RV</a> &in_rv)</td></tr> 108 109 <tr><td class="mdescLeft"> </td><td class="mdescRight">modifier function - useful when copying epdfs <br></td></tr> 97 110 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 98 111 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="376cebd8932546c440f21b182910b01b"></a><!-- doxytag: member="egamma::alpha" ref="376cebd8932546c440f21b182910b01b" args="" --> … … 112 125 Gamma posterior density. 113 126 <p> 114 Mult variate Gamma density as product of independent univariate densities. <p class="formulaDsp">127 Multivariate Gamma density as product of independent univariate densities. <p class="formulaDsp"> 115 128 <img class="formulaDsp" alt="\[ f(x|\alpha,\beta) = \prod f(x_i|\alpha_i,\beta_i) \]" src="form_8.png"> 116 129 <p> 117 <hr><h2>Member Function Documentation</h2> 118 <a class="anchor" name="8e10c0021b5dfdd9cb62c6959b5ef425"></a><!-- doxytag: member="egamma::sample" ref="8e10c0021b5dfdd9cb62c6959b5ef425" args="() const " --> 119 <div class="memitem"> 120 <div class="memproto"> 121 <table class="memname"> 122 <tr> 123 <td class="memname">vec egamma::sample </td> 124 <td>(</td> 125 <td class="paramname"> </td> 126 <td> ) </td> 127 <td> const<code> [virtual]</code></td> 128 </tr> 129 </table> 130 </div> 131 <div class="memdoc"> 132 133 <p> 134 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>. 135 <p> 136 Returns a sample, <img class="formulaInl" alt="$x$" src="form_28.png"> from density <img class="formulaInl" alt="$epdf(rv)$" src="form_59.png"> 137 <p>Implements <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf</a>.</p> 138 139 <p>References <a class="el" href="libEF_8h-source.html#l00154">alpha</a>, <a class="el" href="libEF_8h-source.html#l00156">beta</a>, <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00138">epdf::rv</a>, and <a class="el" href="itpp__ext_8h-source.html#l00041">itpp::Gamma_RNG::setup()</a>.</p> 140 141 </div> 142 </div><p> 143 <hr>The documentation for this class was generated from the following files:<ul> 130 <hr>The documentation for this class was generated from the following files:<ul> 144 131 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a><li>work/git/mixpp/bdm/stat/libEF.cpp</ul> 145 132 </div> 146 <hr size="1"><address style="text-align: right;"><small>Generated on T hu Sep 4 19:28:082008 for mixpp by 133 <hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:50 2008 for mixpp by 147 134 <a href="http://www.doxygen.org/index.html"> 148 135 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>