[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> |
---|
[139] | 7 | <!-- Generated by Doxygen 1.5.6 --> |
---|
[91] | 8 | <div class="navigation" id="top"> |
---|
| 9 | <div class="tabs"> |
---|
| 10 | <ul> |
---|
| 11 | <li><a href="index.html"><span>Main Page</span></a></li> |
---|
| 12 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
[219] | 13 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
[91] | 14 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
| 15 | <li><a href="files.html"><span>Files</span></a></li> |
---|
| 16 | </ul> |
---|
| 17 | </div> |
---|
| 18 | <div class="tabs"> |
---|
| 19 | <ul> |
---|
| 20 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
| 21 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
| 22 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
| 23 | </ul> |
---|
| 24 | </div> |
---|
[8] | 25 | </div> |
---|
[91] | 26 | <div class="contents"> |
---|
[219] | 27 | <h1>epdf Class Reference<br> |
---|
| 28 | <small> |
---|
| 29 | [<a class="el" href="group__core.html">Core BDM classes</a>]</small> |
---|
| 30 | </h1><!-- doxytag: class="epdf" -->Probability density function with numerical statistics, e.g. posterior density. |
---|
[8] | 31 | <a href="#_details">More...</a> |
---|
| 32 | <p> |
---|
| 33 | <code>#include <<a class="el" href="libBM_8h-source.html">libBM.h</a>></code> |
---|
| 34 | <p> |
---|
| 35 | <div class="dynheader"> |
---|
| 36 | Inheritance diagram for epdf:</div> |
---|
| 37 | <div class="dynsection"> |
---|
[19] | 38 | <p><center><img src="classepdf__inherit__graph.png" border="0" usemap="#epdf__inherit__map" alt="Inheritance graph"></center> |
---|
| 39 | <map name="epdf__inherit__map"> |
---|
[180] | 40 | <area shape="rect" href="classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="261,87,304,113"><area shape="rect" href="classeEmp.html" title="Weighted empirical density." alt="" coords="328,87,387,113"><area shape="rect" href="classemix.html" title="Mixture of epdfs." alt="" coords="411,87,461,113"><area shape="rect" href="classeprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod." alt="" coords="485,87,544,113"><area shape="rect" href="classeuni.html" title="Uniform distributed density on a rectangular support." alt="" coords="568,87,616,113"><area shape="rect" href="classmerger.html" title="Function for general combination of pdfs." alt="" coords="640,87,707,113"><area shape="rect" title="internal class for MPDF providing composition of eEmp with external components" alt="" coords="731,87,901,113"><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"></map> |
---|
[19] | 41 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
| 42 | <div class="dynheader"> |
---|
| 43 | Collaboration diagram for epdf:</div> |
---|
| 44 | <div class="dynsection"> |
---|
| 45 | <p><center><img src="classepdf__coll__graph.png" border="0" usemap="#epdf__coll__map" alt="Collaboration graph"></center> |
---|
| 46 | <map name="epdf__coll__map"> |
---|
[91] | 47 | <area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="9,6,47,30"></map> |
---|
[19] | 48 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
[8] | 49 | |
---|
| 50 | <p> |
---|
| 51 | <a href="classepdf-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
| 52 | <tr><td></td></tr> |
---|
| 53 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
[32] | 54 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d8eb760037b3bad5a0d64081606697cd"></a><!-- doxytag: member="epdf::epdf" ref="d8eb760037b3bad5a0d64081606697cd" args="()" --> |
---|
| 55 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#d8eb760037b3bad5a0d64081606697cd">epdf</a> ()</td></tr> |
---|
| 56 | |
---|
| 57 | <tr><td class="mdescLeft"> </td><td class="mdescRight">default constructor <br></td></tr> |
---|
| 58 | <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)" --> |
---|
| 59 | </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> |
---|
| 60 | |
---|
| 61 | <tr><td class="mdescLeft"> </td><td class="mdescRight">default constructor <br></td></tr> |
---|
[171] | 62 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8019654e494bf5e458f6fb947e11b262"></a><!-- doxytag: member="epdf::sample" ref="8019654e494bf5e458f6fb947e11b262" args="() const =0" --> |
---|
| 63 | virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">sample</a> () const =0</td></tr> |
---|
[8] | 64 | |
---|
[171] | 65 | <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> |
---|
[210] | 66 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="76608914c3b19e150292d5c56e93e508"></a><!-- doxytag: member="epdf::sample_m" ref="76608914c3b19e150292d5c56e93e508" args="(int N) const " --> |
---|
| 67 | virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#76608914c3b19e150292d5c56e93e508">sample_m</a> (int N) const </td></tr> |
---|
[106] | 68 | |
---|
| 69 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns N samples from density <img class="formulaInl" alt="$epdf(rv)$" src="form_59.png">. <br></td></tr> |
---|
[219] | 70 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e1996af1da1fa1214270066a96ca113e"></a><!-- doxytag: member="epdf::evallog" ref="e1996af1da1fa1214270066a96ca113e" args="(const vec &val) const =0" --> |
---|
| 71 | virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#e1996af1da1fa1214270066a96ca113e">evallog</a> (const vec &val) const =0</td></tr> |
---|
[32] | 72 | |
---|
| 73 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of argument <code>val</code>. <br></td></tr> |
---|
[219] | 74 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2495a04bbacb9b55fe5a3a59b78affca"></a><!-- doxytag: member="epdf::evallog_m" ref="2495a04bbacb9b55fe5a3a59b78affca" args="(const mat &Val) const " --> |
---|
| 75 | virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#2495a04bbacb9b55fe5a3a59b78affca">evallog_m</a> (const mat &Val) const </td></tr> |
---|
[171] | 76 | |
---|
| 77 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr> |
---|
[210] | 78 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e87dc8260a5c37bc1b03eb66174741a0"></a><!-- doxytag: member="epdf::condition" ref="e87dc8260a5c37bc1b03eb66174741a0" args="(const RV &rv) const " --> |
---|
| 79 | virtual <a class="el" href="classmpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#e87dc8260a5c37bc1b03eb66174741a0">condition</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">rv</a>) const </td></tr> |
---|
[181] | 80 | |
---|
| 81 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return conditional density on the given <a class="el" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>, the remaining rvs will be in conditioning. <br></td></tr> |
---|
[210] | 82 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="38de9f59b65ee06028554f3f74b66025"></a><!-- doxytag: member="epdf::marginal" ref="38de9f59b65ee06028554f3f74b66025" args="(const RV &rv) const " --> |
---|
| 83 | virtual <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#38de9f59b65ee06028554f3f74b66025">marginal</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">rv</a>) const </td></tr> |
---|
[181] | 84 | |
---|
| 85 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return marginal density on the given <a class="el" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>, the remainig rvs are intergrated out. <br></td></tr> |
---|
[33] | 86 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bf0a070a8f3e67a93604ca724638b870"></a><!-- doxytag: member="epdf::mean" ref="bf0a070a8f3e67a93604ca724638b870" args="() const =0" --> |
---|
| 87 | virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870">mean</a> () const =0</td></tr> |
---|
[32] | 88 | |
---|
| 89 | <tr><td class="mdescLeft"> </td><td class="mdescRight">return expected value <br></td></tr> |
---|
| 90 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0a322dd106f04c0a2915e3d4f4227396"></a><!-- doxytag: member="epdf::~epdf" ref="0a322dd106f04c0a2915e3d4f4227396" args="()" --> |
---|
| 91 | virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#0a322dd106f04c0a2915e3d4f4227396">~epdf</a> ()</td></tr> |
---|
| 92 | |
---|
| 93 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor for future use;. <br></td></tr> |
---|
[171] | 94 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ca0d32aabb4cbba347e0c37fe8607562"></a><!-- doxytag: member="epdf::_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> |
---|
[33] | 96 | |
---|
[162] | 97 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function, possibly dangerous! <br></td></tr> |
---|
[171] | 98 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7fb94ce90d1ac7077d29f7d6a6c3e0a5"></a><!-- doxytag: member="epdf::_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> |
---|
[32] | 102 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
| 103 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="74da992e3f5d598da8850b646b79b9d9"></a><!-- doxytag: member="epdf::rv" ref="74da992e3f5d598da8850b646b79b9d9" args="" --> |
---|
[33] | 104 | <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] | 105 | |
---|
[33] | 106 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Identified of the random variable. <br></td></tr> |
---|
[8] | 107 | </table> |
---|
| 108 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
[171] | 109 | Probability density function with numerical statistics, e.g. posterior density. <hr>The documentation for this class was generated from the following files:<ul> |
---|
[145] | 110 | <li>work/git/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a><li>work/git/mixpp/bdm/stat/libBM.cpp</ul> |
---|
[91] | 111 | </div> |
---|
[219] | 112 | <hr size="1"><address style="text-align: right;"><small>Generated on Thu Dec 4 14:42:22 2008 for mixpp by |
---|
[8] | 113 | <a href="http://www.doxygen.org/index.html"> |
---|
[139] | 114 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> |
---|
[8] | 115 | </body> |
---|
| 116 | </html> |
---|