[8] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
| 2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
| 3 | <title>mixpp: epdf Class Reference</title> |
---|
| 4 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
| 5 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
| 6 | </head><body> |
---|
| 7 | <!-- Generated by Doxygen 1.5.3 --> |
---|
| 8 | <div class="tabs"> |
---|
| 9 | <ul> |
---|
| 10 | <li><a href="index.html"><span>Main Page</span></a></li> |
---|
| 11 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
| 12 | <li><a href="files.html"><span>Files</span></a></li> |
---|
[28] | 13 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
[8] | 14 | </ul> |
---|
| 15 | </div> |
---|
| 16 | <div class="tabs"> |
---|
| 17 | <ul> |
---|
| 18 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
| 19 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
| 20 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
| 21 | </ul> |
---|
| 22 | </div> |
---|
| 23 | <h1>epdf Class Reference</h1><!-- doxytag: class="epdf" -->Probability density function with numerical statistics, e.g. posterior density. |
---|
| 24 | <a href="#_details">More...</a> |
---|
| 25 | <p> |
---|
| 26 | <code>#include <<a class="el" href="libBM_8h-source.html">libBM.h</a>></code> |
---|
| 27 | <p> |
---|
| 28 | <div class="dynheader"> |
---|
| 29 | Inheritance diagram for epdf:</div> |
---|
| 30 | <div class="dynsection"> |
---|
[19] | 31 | <p><center><img src="classepdf__inherit__graph.png" border="0" usemap="#epdf__inherit__map" alt="Inheritance graph"></center> |
---|
| 32 | <map name="epdf__inherit__map"> |
---|
[33] | 33 | <area shape="rect" href="classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="147,87,192,113"><area shape="rect" href="classeEmp.html" title="Weighted empirical density." alt="" coords="216,87,275,113"><area shape="rect" href="classeuni.html" title="Uniform distributed density on a rectangular support." alt="" coords="299,87,347,113"><area shape="rect" title="internal class for MPDF providing composition of eEmp with external components" alt="" coords="371,87,549,113"><area shape="rect" href="classegamma.html" title="Gamma posterior density." alt="" coords="5,167,85,193"><area shape="rect" href="classenorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="109,167,229,193"><area shape="rect" href="classenorm.html" title="enorm\< ldmat \>" alt="" coords="155,263,285,289"><area shape="rect" title="\< ldmat \>" alt="" coords="167,191,175,199"><area shape="rect" title="\< ldmat \>" alt="" coords="199,259,207,267"></map> |
---|
[19] | 34 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
| 35 | <div class="dynheader"> |
---|
| 36 | Collaboration diagram for epdf:</div> |
---|
| 37 | <div class="dynsection"> |
---|
| 38 | <p><center><img src="classepdf__coll__graph.png" border="0" usemap="#epdf__coll__map" alt="Collaboration graph"></center> |
---|
| 39 | <map name="epdf__coll__map"> |
---|
| 40 | <area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="12,7,49,33"><area shape="rect" title="rv" alt="" coords="27,31,35,39"><area shape="rect" title="rv" alt="" coords="27,99,35,107"></map> |
---|
| 41 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
[8] | 42 | |
---|
| 43 | <p> |
---|
| 44 | <a href="classepdf-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
| 45 | <tr><td></td></tr> |
---|
| 46 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
[32] | 47 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d8eb760037b3bad5a0d64081606697cd"></a><!-- doxytag: member="epdf::epdf" ref="d8eb760037b3bad5a0d64081606697cd" args="()" --> |
---|
| 48 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#d8eb760037b3bad5a0d64081606697cd">epdf</a> ()</td></tr> |
---|
| 49 | |
---|
| 50 | <tr><td class="mdescLeft"> </td><td class="mdescRight">default constructor <br></td></tr> |
---|
| 51 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c95b1a27a8dd9507bb9a5a3cb2809c7a"></a><!-- doxytag: member="epdf::epdf" ref="c95b1a27a8dd9507bb9a5a3cb2809c7a" args="(const RV &rv0)" --> |
---|
| 52 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#c95b1a27a8dd9507bb9a5a3cb2809c7a">epdf</a> (const <a class="el" href="classRV.html">RV</a> &rv0)</td></tr> |
---|
| 53 | |
---|
| 54 | <tr><td class="mdescLeft"> </td><td class="mdescRight">default constructor <br></td></tr> |
---|
[33] | 55 | <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> |
---|
[8] | 56 | |
---|
[33] | 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="#8019654e494bf5e458f6fb947e11b262"></a><br></td></tr> |
---|
| 58 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3ea597362e11a0040fe7c990269d072c"></a><!-- doxytag: member="epdf::eval" ref="3ea597362e11a0040fe7c990269d072c" args="(const vec &val) const " --> |
---|
| 59 | virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">eval</a> (const vec &val) const </td></tr> |
---|
[8] | 60 | |
---|
[22] | 61 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr> |
---|
[33] | 62 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6aef3eca74899692503769c18add1a4c"></a><!-- doxytag: member="epdf::evalpdflog" ref="6aef3eca74899692503769c18add1a4c" args="(const vec &val) const =0" --> |
---|
| 63 | virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">evalpdflog</a> (const vec &val) const =0</td></tr> |
---|
[32] | 64 | |
---|
| 65 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of argument <code>val</code>. <br></td></tr> |
---|
[33] | 66 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bf0a070a8f3e67a93604ca724638b870"></a><!-- doxytag: member="epdf::mean" ref="bf0a070a8f3e67a93604ca724638b870" args="() const =0" --> |
---|
| 67 | virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870">mean</a> () const =0</td></tr> |
---|
[32] | 68 | |
---|
| 69 | <tr><td class="mdescLeft"> </td><td class="mdescRight">return expected value <br></td></tr> |
---|
| 70 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0a322dd106f04c0a2915e3d4f4227396"></a><!-- doxytag: member="epdf::~epdf" ref="0a322dd106f04c0a2915e3d4f4227396" args="()" --> |
---|
| 71 | virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#0a322dd106f04c0a2915e3d4f4227396">~epdf</a> ()</td></tr> |
---|
| 72 | |
---|
| 73 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor for future use;. <br></td></tr> |
---|
[33] | 74 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b89143f12c9b49282e30841e4fb5f337"></a><!-- doxytag: member="epdf::_rv" ref="b89143f12c9b49282e30841e4fb5f337" args="() const " --> |
---|
| 75 | <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> |
---|
| 76 | |
---|
| 77 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
[32] | 78 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
| 79 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="74da992e3f5d598da8850b646b79b9d9"></a><!-- doxytag: member="epdf::rv" ref="74da992e3f5d598da8850b646b79b9d9" args="" --> |
---|
[33] | 80 | <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> |
---|
[32] | 81 | |
---|
[33] | 82 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Identified of the random variable. <br></td></tr> |
---|
[8] | 83 | </table> |
---|
| 84 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 85 | Probability density function with numerical statistics, e.g. posterior density. <hr><h2>Member Function Documentation</h2> |
---|
[33] | 86 | <a class="anchor" name="8019654e494bf5e458f6fb947e11b262"></a><!-- doxytag: member="epdf::sample" ref="8019654e494bf5e458f6fb947e11b262" args="() const =0" --> |
---|
[8] | 87 | <div class="memitem"> |
---|
| 88 | <div class="memproto"> |
---|
| 89 | <table class="memname"> |
---|
| 90 | <tr> |
---|
| 91 | <td class="memname">virtual vec epdf::sample </td> |
---|
| 92 | <td>(</td> |
---|
| 93 | <td class="paramname"> </td> |
---|
| 94 | <td> ) </td> |
---|
[33] | 95 | <td width="100%"> const<code> [pure virtual]</code></td> |
---|
[8] | 96 | </tr> |
---|
| 97 | </table> |
---|
| 98 | </div> |
---|
| 99 | <div class="memdoc"> |
---|
| 100 | |
---|
| 101 | <p> |
---|
| 102 | 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>. |
---|
| 103 | <p> |
---|
[22] | 104 | Returns a sample from the density, <img class="formulaInl" alt="$x \sim epdf(rv)$" src="form_3.png"> |
---|
[33] | 105 | <p>Implemented in <a class="el" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5">enorm< sq_T ></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>, and <a class="el" href="classenorm.html#60b47544f6181ffd4530d3e415ce12c5">enorm< ldmat ></a>.</p> |
---|
[8] | 106 | |
---|
| 107 | </div> |
---|
| 108 | </div><p> |
---|
| 109 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
[19] | 110 | <li>work/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul> |
---|
[33] | 111 | <hr size="1"><address style="text-align: right;"><small>Generated on Wed Mar 5 15:40:05 2008 for mixpp by |
---|
[8] | 112 | <a href="http://www.doxygen.org/index.html"> |
---|
| 113 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address> |
---|
| 114 | </body> |
---|
| 115 | </html> |
---|