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: eprod 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.6 --> |
---|
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>eprod Class Reference</h1><!-- doxytag: class="eprod" --><!-- doxytag: inherits="epdf" -->Chain rule decomposition of <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>. |
---|
27 | <a href="#_details">More...</a> |
---|
28 | <p> |
---|
29 | <code>#include <<a class="el" href="emix_8h-source.html">emix.h</a>></code> |
---|
30 | <p> |
---|
31 | <div class="dynheader"> |
---|
32 | Inheritance diagram for eprod:</div> |
---|
33 | <div class="dynsection"> |
---|
34 | <p><center><img src="classeprod__inherit__graph.png" border="0" usemap="#eprod__inherit__map" alt="Inheritance graph"></center> |
---|
35 | <map name="eprod__inherit__map"> |
---|
36 | <area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="11,7,59,33"></map> |
---|
37 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
38 | <div class="dynheader"> |
---|
39 | Collaboration diagram for eprod:</div> |
---|
40 | <div class="dynsection"> |
---|
41 | <p><center><img src="classeprod__coll__graph.png" border="0" usemap="#eprod__coll__map" alt="Collaboration graph"></center> |
---|
42 | <map name="eprod__coll__map"> |
---|
43 | <area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="11,103,59,129"><area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="16,7,53,33"></map> |
---|
44 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
45 | |
---|
46 | <p> |
---|
47 | <a href="classeprod-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="6c76cb1658c345cc30374c340608006c"></a><!-- doxytag: member="eprod::eprod" ref="6c76cb1658c345cc30374c340608006c" args="(Array< epdf > Facs)" --> |
---|
51 | </td><td class="memItemRight" valign="bottom"><b>eprod</b> (Array< <a class="el" href="classepdf.html">epdf</a> > Facs)</td></tr> |
---|
52 | |
---|
53 | <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> |
---|
54 | |
---|
55 | <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> |
---|
56 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="54d7dd53a641b618771cd9bee135181f"></a><!-- doxytag: member="eprod::sampleN" ref="54d7dd53a641b618771cd9bee135181f" args="(int N) const " --> |
---|
57 | virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#54d7dd53a641b618771cd9bee135181f">sampleN</a> (int N) const </td></tr> |
---|
58 | |
---|
59 | <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> |
---|
60 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3ea597362e11a0040fe7c990269d072c"></a><!-- doxytag: member="eprod::eval" ref="3ea597362e11a0040fe7c990269d072c" args="(const vec &val) const " --> |
---|
61 | virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#3ea597362e11a0040fe7c990269d072c">eval</a> (const vec &val) const </td></tr> |
---|
62 | |
---|
63 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr> |
---|
64 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6aef3eca74899692503769c18add1a4c"></a><!-- doxytag: member="eprod::evalpdflog" ref="6aef3eca74899692503769c18add1a4c" args="(const vec &val) const =0" --> |
---|
65 | virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">evalpdflog</a> (const vec &val) const =0</td></tr> |
---|
66 | |
---|
67 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of argument <code>val</code>. <br></td></tr> |
---|
68 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bf0a070a8f3e67a93604ca724638b870"></a><!-- doxytag: member="eprod::mean" ref="bf0a070a8f3e67a93604ca724638b870" args="() const =0" --> |
---|
69 | virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870">mean</a> () const =0</td></tr> |
---|
70 | |
---|
71 | <tr><td class="mdescLeft"> </td><td class="mdescRight">return expected value <br></td></tr> |
---|
72 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b89143f12c9b49282e30841e4fb5f337"></a><!-- doxytag: member="eprod::_rv" ref="b89143f12c9b49282e30841e4fb5f337" args="() const " --> |
---|
73 | <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> |
---|
74 | |
---|
75 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
76 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
77 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5307a27aaf48be8213294b05ac533c39"></a><!-- doxytag: member="eprod::epdfs" ref="5307a27aaf48be8213294b05ac533c39" args="" --> |
---|
78 | Array< <a class="el" href="classepdf.html">epdf</a> * > </td><td class="memItemRight" valign="bottom"><b>epdfs</b></td></tr> |
---|
79 | |
---|
80 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4387c81276ca66c1ca9336cf8bf74a8"></a><!-- doxytag: member="eprod::mpdfs" ref="a4387c81276ca66c1ca9336cf8bf74a8" args="" --> |
---|
81 | Array< <a class="el" href="classmpdf.html">mpdf</a> * > </td><td class="memItemRight" valign="bottom"><b>mpdfs</b></td></tr> |
---|
82 | |
---|
83 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="68b66b05b3b6987472247f541846a366"></a><!-- doxytag: member="eprod::sizes" ref="68b66b05b3b6987472247f541846a366" args="" --> |
---|
84 | ivec </td><td class="memItemRight" valign="bottom"><b>sizes</b></td></tr> |
---|
85 | |
---|
86 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="74da992e3f5d598da8850b646b79b9d9"></a><!-- doxytag: member="eprod::rv" ref="74da992e3f5d598da8850b646b79b9d9" args="" --> |
---|
87 | <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> |
---|
88 | |
---|
89 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Identified of the random variable. <br></td></tr> |
---|
90 | </table> |
---|
91 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
92 | Chain rule decomposition of <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>. |
---|
93 | <p> |
---|
94 | Probability density in the form of Chain-rule decomposition: \[ f(x_1,x_2,x_3) = f(x_1|x_2,x_3)f(x_2,x_3)f(x_3) \] Note that <hr><h2>Member Function Documentation</h2> |
---|
95 | <a class="anchor" name="8019654e494bf5e458f6fb947e11b262"></a><!-- doxytag: member="eprod::sample" ref="8019654e494bf5e458f6fb947e11b262" args="() const =0" --> |
---|
96 | <div class="memitem"> |
---|
97 | <div class="memproto"> |
---|
98 | <table class="memname"> |
---|
99 | <tr> |
---|
100 | <td class="memname">virtual vec epdf::sample </td> |
---|
101 | <td>(</td> |
---|
102 | <td class="paramname"> </td> |
---|
103 | <td> ) </td> |
---|
104 | <td> const<code> [pure virtual, inherited]</code></td> |
---|
105 | </tr> |
---|
106 | </table> |
---|
107 | </div> |
---|
108 | <div class="memdoc"> |
---|
109 | |
---|
110 | <p> |
---|
111 | 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>. |
---|
112 | <p> |
---|
113 | Returns a sample, <img class="formulaInl" alt="$x$" src="form_28.png"> from density <img class="formulaInl" alt="$epdf(rv)$" src="form_59.png"> |
---|
114 | <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> |
---|
115 | |
---|
116 | <p>Referenced by <a class="el" href="libBM_8h-source.html#l00169">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#l00223">eEmp::set_parameters()</a>.</p> |
---|
117 | |
---|
118 | </div> |
---|
119 | </div><p> |
---|
120 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
121 | <li>work/git/mixpp/bdm/stat/<a class="el" href="emix_8h-source.html">emix.h</a></ul> |
---|
122 | </div> |
---|
123 | <hr size="1"><address style="text-align: right;"><small>Generated on Sat Aug 16 17:22:08 2008 for mixpp by |
---|
124 | <a href="http://www.doxygen.org/index.html"> |
---|
125 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> |
---|
126 | </body> |
---|
127 | </html> |
---|