Changeset 33 for doc/html/classegamma.html
- Timestamp:
- 03/05/08 16:01:56 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/classegamma.html
r32 r33 46 46 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> 47 47 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4b1d34f3b244ea51a58ec10c468788c1"></a><!-- doxytag: member="egamma::egamma" ref="4b1d34f3b244ea51a58ec10c468788c1" args="(const RV &rv)" --> 48 </td><td class="memItemRight" valign="bottom"><a class="el" href="classegamma.html#4b1d34f3b244ea51a58ec10c468788c1">egamma</a> (const <a class="el" href="classRV.html">RV</a> & rv)</td></tr>48 </td><td class="memItemRight" valign="bottom"><a class="el" href="classegamma.html#4b1d34f3b244ea51a58ec10c468788c1">egamma</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">rv</a>)</td></tr> 49 49 50 50 <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> … … 53 53 54 54 <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets parameters. <br></td></tr> 55 <tr><td class="memItemLeft" nowrap align="right" valign="top">vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classegamma.html# 0a2186a586432c2c3f22d09c5341890f">sample</a> ()</td></tr>55 <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> 56 56 57 <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="# 0a2186a586432c2c3f22d09c5341890f"></a><br></td></tr>58 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 44bf6a5361059cf7a219bc9f68ff570a"></a><!-- doxytag: member="egamma::sample" ref="44bf6a5361059cf7a219bc9f68ff570a" args="(int N)" -->59 mat </td><td class="memItemRight" valign="bottom">< b>sample</b> (int N)</td></tr>57 <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> 58 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="13ae455ec9621b99ca2eb4850f586b45"></a><!-- doxytag: member="egamma::sample" ref="13ae455ec9621b99ca2eb4850f586b45" args="(int N) const " --> 59 mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classegamma.html#13ae455ec9621b99ca2eb4850f586b45">sample</a> (int N) const </td></tr> 60 60 61 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fdf5819ed32377d364d6e0f8e8d30868"></a><!-- doxytag: member="egamma::evalpdflog" ref="fdf5819ed32377d364d6e0f8e8d30868" args="(const vec val)" --> 62 double </td><td class="memItemRight" valign="bottom"><b>evalpdflog</b> (const vec val)</td></tr> 61 <tr><td class="mdescLeft"> </td><td class="mdescRight">TODO: is it used anywhere? <br></td></tr> 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 " --> 63 double </td><td class="memItemRight" valign="bottom"><a class="el" href="classegamma.html#de84faac8f9799dfe2777ddbedf997ef">evalpdflog</a> (const vec &val) const </td></tr> 63 64 65 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of argument <code>val</code>. <br></td></tr> 64 66 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="44445c56e60b91b377f207f8d5089790"></a><!-- doxytag: member="egamma::_param" ref="44445c56e60b91b377f207f8d5089790" args="(vec *&a, vec *&b)" --> 65 67 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classegamma.html#44445c56e60b91b377f207f8d5089790">_param</a> (vec *&a, vec *&b)</td></tr> 66 68 67 69 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns poiter to alpha and beta. Potentially dengerous: use with care! <br></td></tr> 68 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6 617890ffa40767fc196876534d4119d"></a><!-- doxytag: member="egamma::mean" ref="6617890ffa40767fc196876534d4119d" args="()" -->69 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classegamma.html#6 617890ffa40767fc196876534d4119d">mean</a> ()</td></tr>70 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6ab5ba56f7cdb2e5921c3e77524fa50a"></a><!-- doxytag: member="egamma::mean" ref="6ab5ba56f7cdb2e5921c3e77524fa50a" args="() const " --> 71 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classegamma.html#6ab5ba56f7cdb2e5921c3e77524fa50a">mean</a> () const </td></tr> 70 72 71 73 <tr><td class="mdescLeft"> </td><td class="mdescRight">return expected value <br></td></tr> 72 74 <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)" --> 73 virtual void </td><td class="memItemRight" valign="bottom">< b>tupdate</b> (double phi, mat &vbar, double nubar)</td></tr>75 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> 74 76 77 <tr><td class="mdescLeft"> </td><td class="mdescRight">TODO decide if it is really needed. <br></td></tr> 75 78 <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)" --> 76 virtual void </td><td class="memItemRight" valign="bottom">< b>dupdate</b> (mat &v, double nu=1.0)</td></tr>79 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> 77 80 78 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f333ceeb88ebc37d81fcd4cea4526bfc"></a><!-- doxytag: member="egamma::eval" ref="f333ceeb88ebc37d81fcd4cea4526bfc" args="(const vec &val)" --> 79 virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#f333ceeb88ebc37d81fcd4cea4526bfc">eval</a> (const vec &val)</td></tr> 81 <tr><td class="mdescLeft"> </td><td class="mdescRight">TODO decide if it is really needed. <br></td></tr> 82 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3ea597362e11a0040fe7c990269d072c"></a><!-- doxytag: member="egamma::eval" ref="3ea597362e11a0040fe7c990269d072c" args="(const vec &val) const " --> 83 virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">eval</a> (const vec &val) const </td></tr> 80 84 81 85 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr> 82 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 113c76c61d20e3f2a24ba322a73dfc51"></a><!-- doxytag: member="egamma::evalpdflog" ref="113c76c61d20e3f2a24ba322a73dfc51" args="(const vec &val)" -->83 virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#113c76c61d20e3f2a24ba322a73dfc51">evalpdflog</a> (const vec &val)</td></tr>86 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b89143f12c9b49282e30841e4fb5f337"></a><!-- doxytag: member="egamma::_rv" ref="b89143f12c9b49282e30841e4fb5f337" args="() const " --> 87 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#b89143f12c9b49282e30841e4fb5f337">_rv</a> () const </td></tr> 84 88 85 <tr><td class="mdescLeft"> </td><td class="mdescRight"> Compute log-probability of argument <code>val</code>.<br></td></tr>89 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 86 90 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 87 91 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="376cebd8932546c440f21b182910b01b"></a><!-- doxytag: member="egamma::alpha" ref="376cebd8932546c440f21b182910b01b" args="" --> 88 vec </td><td class="memItemRight" valign="bottom">< b>alpha</b></td></tr>92 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classegamma.html#376cebd8932546c440f21b182910b01b">alpha</a></td></tr> 89 93 94 <tr><td class="mdescLeft"> </td><td class="mdescRight">Vector <img class="formulaInl" alt="$\alpha$" src="form_15.png">. <br></td></tr> 90 95 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cfc5f136467488a421ab22f886323790"></a><!-- doxytag: member="egamma::beta" ref="cfc5f136467488a421ab22f886323790" args="" --> 91 vec </td><td class="memItemRight" valign="bottom">< b>beta</b></td></tr>96 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classegamma.html#cfc5f136467488a421ab22f886323790">beta</a></td></tr> 92 97 98 <tr><td class="mdescLeft"> </td><td class="mdescRight">Vector <img class="formulaInl" alt="$\beta$" src="form_16.png">. <br></td></tr> 93 99 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="74da992e3f5d598da8850b646b79b9d9"></a><!-- doxytag: member="egamma::rv" ref="74da992e3f5d598da8850b646b79b9d9" args="" --> 94 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom">< b>rv</b></td></tr>100 <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">rv</a></td></tr> 95 101 102 <tr><td class="mdescLeft"> </td><td class="mdescRight">Identified of the random variable. <br></td></tr> 96 103 </table> 97 104 <hr><a name="_details"></a><h2>Detailed Description</h2> … … 99 106 <p> 100 107 Multvariate Gamma density as product of independent univariate densities. <p class="formulaDsp"> 101 <img class="formulaDsp" alt="\[ f(x| a,b) = \prod f(x_i|a_i,b_i) \]" src="form_4.png">108 <img class="formulaDsp" alt="\[ f(x|\alpha,\beta) = \prod f(x_i|\alpha_i,\beta_i) \]" src="form_8.png"> 102 109 <p> 103 110 <hr><h2>Member Function Documentation</h2> 104 <a class="anchor" name=" 0a2186a586432c2c3f22d09c5341890f"></a><!-- doxytag: member="egamma::sample" ref="0a2186a586432c2c3f22d09c5341890f" args="()" -->111 <a class="anchor" name="8e10c0021b5dfdd9cb62c6959b5ef425"></a><!-- doxytag: member="egamma::sample" ref="8e10c0021b5dfdd9cb62c6959b5ef425" args="() const " --> 105 112 <div class="memitem"> 106 113 <div class="memproto"> … … 111 118 <td class="paramname"> </td> 112 119 <td> ) </td> 113 <td width="100%"> <code> [virtual]</code></td>120 <td width="100%"> const<code> [virtual]</code></td> 114 121 </tr> 115 122 </table> … … 121 128 <p> 122 129 Returns a sample from the density, <img class="formulaInl" alt="$x \sim epdf(rv)$" src="form_3.png"> 123 <p>Implements <a class="el" href="classepdf.html# 7f74d871d50b9ff360f1b3879092a9fa">epdf</a>.</p>130 <p>Implements <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf</a>.</p> 124 131 125 132 </div> … … 127 134 <hr>The documentation for this class was generated from the following files:<ul> 128 135 <li>work/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a><li>work/mixpp/bdm/stat/libEF.cpp</ul> 129 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 28 16:54:45 2008 for mixpp by 136 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Mar 5 15:40:05 2008 for mixpp by 130 137 <a href="http://www.doxygen.org/index.html"> 131 138 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>