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: eEF 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.5 --> |
---|
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> |
---|
13 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
14 | <li><a href="files.html"><span>Files</span></a></li> |
---|
15 | </ul> |
---|
16 | </div> |
---|
17 | <div class="tabs"> |
---|
18 | <ul> |
---|
19 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
20 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
21 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
22 | </ul> |
---|
23 | </div> |
---|
24 | </div> |
---|
25 | <div class="contents"> |
---|
26 | <h1>eEF Class Reference</h1><!-- doxytag: class="eEF" --><!-- doxytag: inherits="epdf" -->General conjugate exponential family posterior density. |
---|
27 | <a href="#_details">More...</a> |
---|
28 | <p> |
---|
29 | <code>#include <<a class="el" href="libEF_8h-source.html">libEF.h</a>></code> |
---|
30 | <p> |
---|
31 | <div class="dynheader"> |
---|
32 | Inheritance diagram for eEF:</div> |
---|
33 | <div class="dynsection"> |
---|
34 | <p><center><img src="classeEF__inherit__graph.png" border="0" usemap="#eEF__inherit__map" alt="Inheritance graph"></center> |
---|
35 | <map name="eEF__inherit__map"> |
---|
36 | <area shape="rect" href="classegamma.html" title="Gamma posterior density." alt="" coords="5,161,77,185"><area shape="rect" href="classenorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="223,161,332,185"><area shape="rect" href="classenorm.html" title="enorm\< ldmat \>" alt="" coords="79,249,191,273"><area shape="rect" href="classenorm.html" title="enorm\< chmat \>" alt="" coords="391,249,508,273"><area shape="rect" href="classenorm.html" title="enorm\< fsqmat \>" alt="" coords="225,249,345,273"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="143,7,188,31"></map> |
---|
37 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
38 | <div class="dynheader"> |
---|
39 | Collaboration diagram for eEF:</div> |
---|
40 | <div class="dynsection"> |
---|
41 | <p><center><img src="classeEF__coll__graph.png" border="0" usemap="#eEF__coll__map" alt="Collaboration graph"></center> |
---|
42 | <map name="eEF__coll__map"> |
---|
43 | <area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="5,95,51,119"><area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="9,7,47,31"></map> |
---|
44 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
45 | |
---|
46 | <p> |
---|
47 | <a href="classeEF-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
48 | <tr><td></td></tr> |
---|
49 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
50 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7e3c63655e8375c76bf1f421245427a7"></a><!-- doxytag: member="eEF::eEF" ref="7e3c63655e8375c76bf1f421245427a7" args="(const RV &rv)" --> |
---|
51 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classeEF.html#7e3c63655e8375c76bf1f421245427a7">eEF</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9">rv</a>)</td></tr> |
---|
52 | |
---|
53 | <tr><td class="mdescLeft"> </td><td class="mdescRight">default constructor <br></td></tr> |
---|
54 | <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)" --> |
---|
55 | 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> |
---|
56 | |
---|
57 | <tr><td class="mdescLeft"> </td><td class="mdescRight">TODO decide if it is really needed. <br></td></tr> |
---|
58 | <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)" --> |
---|
59 | 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> |
---|
60 | |
---|
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">virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">sample</a> () const =0</td></tr> |
---|
63 | |
---|
64 | <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> |
---|
65 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3ea597362e11a0040fe7c990269d072c"></a><!-- doxytag: member="eEF::eval" ref="3ea597362e11a0040fe7c990269d072c" args="(const vec &val) const " --> |
---|
66 | virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">eval</a> (const vec &val) const </td></tr> |
---|
67 | |
---|
68 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr> |
---|
69 | <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" --> |
---|
70 | virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">evalpdflog</a> (const vec &val) const =0</td></tr> |
---|
71 | |
---|
72 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of argument <code>val</code>. <br></td></tr> |
---|
73 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bf0a070a8f3e67a93604ca724638b870"></a><!-- doxytag: member="eEF::mean" ref="bf0a070a8f3e67a93604ca724638b870" args="() const =0" --> |
---|
74 | virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870">mean</a> () const =0</td></tr> |
---|
75 | |
---|
76 | <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="b89143f12c9b49282e30841e4fb5f337"></a><!-- doxytag: member="eEF::_rv" ref="b89143f12c9b49282e30841e4fb5f337" args="() const " --> |
---|
78 | <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> |
---|
79 | |
---|
80 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
81 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
82 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="74da992e3f5d598da8850b646b79b9d9"></a><!-- doxytag: member="eEF::rv" ref="74da992e3f5d598da8850b646b79b9d9" args="" --> |
---|
83 | <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> |
---|
84 | |
---|
85 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Identified of the random variable. <br></td></tr> |
---|
86 | </table> |
---|
87 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
88 | General conjugate exponential family posterior density. |
---|
89 | <p> |
---|
90 | More?... <hr><h2>Member Function Documentation</h2> |
---|
91 | <a class="anchor" name="8019654e494bf5e458f6fb947e11b262"></a><!-- doxytag: member="eEF::sample" ref="8019654e494bf5e458f6fb947e11b262" args="() const =0" --> |
---|
92 | <div class="memitem"> |
---|
93 | <div class="memproto"> |
---|
94 | <table class="memname"> |
---|
95 | <tr> |
---|
96 | <td class="memname">virtual vec epdf::sample </td> |
---|
97 | <td>(</td> |
---|
98 | <td class="paramname"> </td> |
---|
99 | <td> ) </td> |
---|
100 | <td width="100%"> const<code> [pure virtual, inherited]</code></td> |
---|
101 | </tr> |
---|
102 | </table> |
---|
103 | </div> |
---|
104 | <div class="memdoc"> |
---|
105 | |
---|
106 | <p> |
---|
107 | 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>. |
---|
108 | <p> |
---|
109 | Returns a sample from the density, <img class="formulaInl" alt="$x \sim epdf(rv)$" src="form_3.png"> |
---|
110 | <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>, <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> |
---|
111 | |
---|
112 | <p>Referenced by <a class="el" href="libBM_8h-source.html#l00165">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#l00170">eEmp::set_parameters()</a>.</p> |
---|
113 | |
---|
114 | </div> |
---|
115 | </div><p> |
---|
116 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
117 | <li>work/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul> |
---|
118 | </div> |
---|
119 | <hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 20:46:40 2008 for mixpp by |
---|
120 | <a href="http://www.doxygen.org/index.html"> |
---|
121 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> |
---|
122 | </body> |
---|
123 | </html> |
---|