Changeset 171 for doc/html/classeEF.html
- Timestamp:
- 09/24/08 13:08:07 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/classeEF.html
r162 r171 34 34 <p><center><img src="classeEF__inherit__graph.png" border="0" usemap="#eEF__inherit__map" alt="Inheritance graph"></center> 35 35 <map name="eEF__inherit__map"> 36 <area shape="rect" href="classe gamma.html" title="Gamma posterior density." alt="" coords="5,161,77,185"><area shape="rect" href="classegiw.html" title="Gauss-inverse-Wishart density stored in LD form." alt="" coords="101,161,149,185"><area shape="rect" href="classenorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="295,161,404,185"><area shape="rect" href="classenorm.html" title="enorm\< ldmat \>" alt="" coords="151,249,263,273"><area shape="rect" href="classenorm.html" title="enorm\< chmat \>" alt="" coords="463,249,580,273"><area shape="rect" href="classenorm.html" title="enorm\< fsqmat \>" alt="" coords="297,249,417,273"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="189,7,235,31"></map>36 <area shape="rect" href="classeDirich.html" title="Dirichlet posterior density." alt="" coords="5,167,69,193"><area shape="rect" href="classegamma.html" title="Gamma posterior density." alt="" coords="93,167,173,193"><area shape="rect" href="classegiw.html" title="Gauss-inverse-Wishart density stored in LD form." alt="" coords="197,167,245,193"><area shape="rect" href="classenorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="392,167,515,193"><area shape="rect" href="classenorm.html" title="enorm\< ldmat \>" alt="" coords="233,263,364,289"><area shape="rect" href="classenorm.html" title="enorm\< chmat \>" alt="" coords="581,263,715,289"><area shape="rect" href="classenorm.html" title="enorm\< fsqmat \>" alt="" coords="396,263,535,289"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="259,7,307,33"></map> 37 37 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 38 38 <div class="dynheader"> … … 56 56 57 57 <tr><td class="mdescLeft"> </td><td class="mdescRight">logarithm of the normalizing constant, <img class="formulaInl" alt="$\mathcal{I}$" src="form_60.png"> <br></td></tr> 58 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" fd88bc35550ec8fe9281d358216d0fcf"></a><!-- doxytag: member="eEF::tupdate" ref="fd88bc35550ec8fe9281d358216d0fcf" args="(double phi, mat &vbar, double nubar)" -->59 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>58 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a89bef8996410609004fa019b5b48964"></a><!-- doxytag: member="eEF::dupdate" ref="a89bef8996410609004fa019b5b48964" args="(mat &v)" --> 59 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEF.html#a89bef8996410609004fa019b5b48964">dupdate</a> (mat &v)</td></tr> 60 60 61 61 <tr><td class="mdescLeft"> </td><td class="mdescRight">TODO decide if it is really needed. <br></td></tr> 62 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 5863718c3b2fb1496dece10c5b745d5c"></a><!-- doxytag: member="eEF::dupdate" ref="5863718c3b2fb1496dece10c5b745d5c" args="(mat &v, double nu=1.0)" -->63 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>62 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="48cdd33d0e20d1a1aa45683c956bc61c"></a><!-- doxytag: member="eEF::evalpdflog_nn" ref="48cdd33d0e20d1a1aa45683c956bc61c" args="(const vec &val) const " --> 63 virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEF.html#48cdd33d0e20d1a1aa45683c956bc61c">evalpdflog_nn</a> (const vec &val) const </td></tr> 64 64 65 <tr><td class="mdescLeft"> </td><td class="mdescRight">TODO decide if it is really needed. <br></td></tr> 66 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">sample</a> () const =0</td></tr> 65 <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluate normalized log-probability. <br></td></tr> 66 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6466e8d4aa9dd64698ed288cbb1afc03"></a><!-- doxytag: member="eEF::evalpdflog" ref="6466e8d4aa9dd64698ed288cbb1afc03" args="(const vec &val) const " --> 67 virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEF.html#6466e8d4aa9dd64698ed288cbb1afc03">evalpdflog</a> (const vec &val) const </td></tr> 67 68 68 <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="#8019654e494bf5e458f6fb947e11b262"></a><br></td></tr> 69 <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluate normalized log-probability. <br></td></tr> 70 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c71faf4b2d153efda14bf1f87dca1507"></a><!-- doxytag: member="eEF::evalpdflog" ref="c71faf4b2d153efda14bf1f87dca1507" args="(const mat &Val) const " --> 71 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEF.html#c71faf4b2d153efda14bf1f87dca1507">evalpdflog</a> (const mat &Val) const </td></tr> 72 73 <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluate normalized log-probability for many samples. <br></td></tr> 74 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4f8385dd1cc9740522dc373b1dc3cbf5"></a><!-- doxytag: member="eEF::pow" ref="4f8385dd1cc9740522dc373b1dc3cbf5" args="(double p)" --> 75 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEF.html#4f8385dd1cc9740522dc373b1dc3cbf5">pow</a> (double p)</td></tr> 76 77 <tr><td class="mdescLeft"> </td><td class="mdescRight">Power of the density, used e.g. to flatten the density. <br></td></tr> 78 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8019654e494bf5e458f6fb947e11b262"></a><!-- doxytag: member="eEF::sample" ref="8019654e494bf5e458f6fb947e11b262" args="() const =0" --> 79 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">sample</a> () const =0</td></tr> 80 81 <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> 69 82 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="54d7dd53a641b618771cd9bee135181f"></a><!-- doxytag: member="eEF::sampleN" ref="54d7dd53a641b618771cd9bee135181f" args="(int N) const " --> 70 83 virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#54d7dd53a641b618771cd9bee135181f">sampleN</a> (int N) const </td></tr> … … 75 88 76 89 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr> 77 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6aef3eca74899692503769c18add1a4c"></a><!-- doxytag: member="eEF::evalpdflog" ref="6aef3eca74899692503769c18add1a4c" args="(const vec &val) const =0" -->78 virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">evalpdflog</a> (const vec &val) const =0</td></tr>79 80 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of argument <code>val</code>. <br></td></tr>81 90 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bf0a070a8f3e67a93604ca724638b870"></a><!-- doxytag: member="eEF::mean" ref="bf0a070a8f3e67a93604ca724638b870" args="() const =0" --> 82 91 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870">mean</a> () const =0</td></tr> 83 92 84 93 <tr><td class="mdescLeft"> </td><td class="mdescRight">return expected value <br></td></tr> 85 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 4778ea61ef400813e47750e024e9fc2f"></a><!-- doxytag: member="eEF::_rv" ref="4778ea61ef400813e47750e024e9fc2f" args="()" -->86 <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>94 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ca0d32aabb4cbba347e0c37fe8607562"></a><!-- doxytag: member="eEF::_rv" ref="ca0d32aabb4cbba347e0c37fe8607562" args="() const " --> 95 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> 87 96 88 97 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function, possibly dangerous! <br></td></tr> 98 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7fb94ce90d1ac7077d29f7d6a6c3e0a5"></a><!-- doxytag: member="eEF::_renewrv" ref="7fb94ce90d1ac7077d29f7d6a6c3e0a5" args="(const RV &in_rv)" --> 99 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> 100 101 <tr><td class="mdescLeft"> </td><td class="mdescRight">modifier function - useful when copying epdfs <br></td></tr> 89 102 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 90 103 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="74da992e3f5d598da8850b646b79b9d9"></a><!-- doxytag: member="eEF::rv" ref="74da992e3f5d598da8850b646b79b9d9" args="" --> … … 96 109 General conjugate exponential family posterior density. 97 110 <p> 98 More?... <hr><h2>Member Function Documentation</h2> 99 <a class="anchor" name="8019654e494bf5e458f6fb947e11b262"></a><!-- doxytag: member="eEF::sample" ref="8019654e494bf5e458f6fb947e11b262" args="() const =0" --> 100 <div class="memitem"> 101 <div class="memproto"> 102 <table class="memname"> 103 <tr> 104 <td class="memname">virtual vec epdf::sample </td> 105 <td>(</td> 106 <td class="paramname"> </td> 107 <td> ) </td> 108 <td> const<code> [pure virtual, inherited]</code></td> 109 </tr> 110 </table> 111 </div> 112 <div class="memdoc"> 113 114 <p> 115 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>. 116 <p> 117 Returns a sample, <img class="formulaInl" alt="$x$" src="form_28.png"> from density <img class="formulaInl" alt="$epdf(rv)$" src="form_59.png"> 118 <p>Implemented in <a class="el" href="classemix.html#0650601f24e633e0ab09aa1e46c14483">emix</a>, <a class="el" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5">enorm< sq_T ></a>, <a class="el" href="classegiw.html#3d2c1f2ba0f9966781f1e0ae695e8a6f">egiw</a>, <a class="el" href="classegamma.html#8e10c0021b5dfdd9cb62c6959b5ef425">egamma</a>, <a class="el" href="classeuni.html#4a0e09392be17beaee120ba98fc038cd">euni</a>, <a class="el" href="classeEmp.html#83f9283f92b805508d896479dc1ccf12">eEmp</a>, <a class="el" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5">enorm< ldmat ></a>, <a class="el" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5">enorm< chmat ></a>, and <a class="el" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5">enorm< fsqmat ></a>.</p> 119 120 <p>Referenced by <a class="el" href="libBM_8h-source.html#l00184">mpdf::samplecond()</a>, <a class="el" href="libPF_8cpp-source.html#l00035">PF::set_est()</a>, and <a class="el" href="libEF_8cpp-source.html#l00199">eEmp::set_parameters()</a>.</p> 121 122 </div> 123 </div><p> 124 <hr>The documentation for this class was generated from the following file:<ul> 111 More?... <hr>The documentation for this class was generated from the following file:<ul> 125 112 <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 126 113 </div> 127 <hr size="1"><address style="text-align: right;"><small>Generated on T hu Sep 4 19:28:072008 for mixpp by 114 <hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:50 2008 for mixpp by 128 115 <a href="http://www.doxygen.org/index.html"> 129 116 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>