[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: enorm< sq_T > Class Template 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> |
---|
[22] | 23 | <h1>enorm< sq_T > Class Template Reference</h1><!-- doxytag: class="enorm" --><!-- doxytag: inherits="eEF" -->Gaussian density with positive definite (decomposed) covariance matrix. |
---|
[8] | 24 | <a href="#_details">More...</a> |
---|
| 25 | <p> |
---|
| 26 | <code>#include <<a class="el" href="libEF_8h-source.html">libEF.h</a>></code> |
---|
| 27 | <p> |
---|
| 28 | <div class="dynheader"> |
---|
| 29 | Inheritance diagram for enorm< sq_T >:</div> |
---|
| 30 | <div class="dynsection"> |
---|
[19] | 31 | <p><center><img src="classenorm__inherit__graph.png" border="0" usemap="#enorm_3_01sq__T_01_4__inherit__map" alt="Inheritance graph"></center> |
---|
| 32 | <map name="enorm_3_01sq__T_01_4__inherit__map"> |
---|
| 33 | <area shape="rect" href="classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="43,84,88,111"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="40,7,91,33"></map> |
---|
| 34 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
| 35 | <div class="dynheader"> |
---|
| 36 | Collaboration diagram for enorm< sq_T >:</div> |
---|
| 37 | <div class="dynsection"> |
---|
| 38 | <p><center><img src="classenorm__coll__graph.png" border="0" usemap="#enorm_3_01sq__T_01_4__coll__map" alt="Collaboration graph"></center> |
---|
| 39 | <map name="enorm_3_01sq__T_01_4__coll__map"> |
---|
| 40 | <area shape="rect" href="classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="8,183,53,209"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="5,103,56,129"><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"><area shape="rect" title="R" alt="" coords="93,207,101,215"><area shape="rect" title="R" alt="" coords="77,275,85,283"></map> |
---|
| 41 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
[8] | 42 | |
---|
| 43 | <p> |
---|
| 44 | <a href="classenorm-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> |
---|
| 47 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="183891111686898adef0f6ca292e600d"></a><!-- doxytag: member="enorm::enorm" ref="183891111686898adef0f6ca292e600d" args="(RV &rv, vec &mu, sq_T &R)" --> |
---|
| 48 | </td><td class="memItemRight" valign="bottom"><b>enorm</b> (<a class="el" href="classRV.html">RV</a> &rv, vec &mu, sq_T &R)</td></tr> |
---|
| 49 | |
---|
| 50 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5b5fd142b6b17ea334597960e3fe126a"></a><!-- doxytag: member="enorm::tupdate" ref="5b5fd142b6b17ea334597960e3fe126a" args="(double phi, mat &vbar, double nubar)" --> |
---|
[22] | 51 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classenorm.html#5b5fd142b6b17ea334597960e3fe126a">tupdate</a> (double phi, mat &vbar, double nubar)</td></tr> |
---|
[8] | 52 | |
---|
[22] | 53 | <tr><td class="mdescLeft"> </td><td class="mdescRight">tupdate in exponential form (not really handy) <br></td></tr> |
---|
[8] | 54 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5bf185e31e5954fceb90ada3debd2ff2"></a><!-- doxytag: member="enorm::dupdate" ref="5bf185e31e5954fceb90ada3debd2ff2" args="(mat &v, double nu=1.0)" --> |
---|
| 55 | void </td><td class="memItemRight" valign="bottom"><b>dupdate</b> (mat &v, double nu=1.0)</td></tr> |
---|
| 56 | |
---|
[22] | 57 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2a1a522504c7788dfd7fb733157ee39e"></a><!-- doxytag: member="enorm::tupdate" ref="2a1a522504c7788dfd7fb733157ee39e" args="()" --> |
---|
| 58 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classenorm.html#2a1a522504c7788dfd7fb733157ee39e">tupdate</a> ()</td></tr> |
---|
| 59 | |
---|
| 60 | <tr><td class="mdescLeft"> </td><td class="mdescRight">tupdate used in KF <br></td></tr> |
---|
| 61 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d1b0faf61260de09cf63bf823add5b32"></a><!-- doxytag: member="enorm::dupdate" ref="d1b0faf61260de09cf63bf823add5b32" args="()" --> |
---|
| 62 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classenorm.html#d1b0faf61260de09cf63bf823add5b32">dupdate</a> ()</td></tr> |
---|
| 63 | |
---|
| 64 | <tr><td class="mdescLeft"> </td><td class="mdescRight">dupdate used in KF <br></td></tr> |
---|
[8] | 65 | <tr><td class="memItemLeft" nowrap align="right" valign="top">vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classenorm.html#6020bcd89db2c9584bd8871001bd2023">sample</a> ()</td></tr> |
---|
| 66 | |
---|
| 67 | <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="#6020bcd89db2c9584bd8871001bd2023"></a><br></td></tr> |
---|
[19] | 68 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="531bd094057afa768f4853a7e441920d"></a><!-- doxytag: member="enorm::sample" ref="531bd094057afa768f4853a7e441920d" args="(int N)" --> |
---|
| 69 | mat </td><td class="memItemRight" valign="bottom"><b>sample</b> (int N)</td></tr> |
---|
| 70 | |
---|
[8] | 71 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="93107f05a8e9b34b64853767200121a4"></a><!-- doxytag: member="enorm::eval" ref="93107f05a8e9b34b64853767200121a4" args="(const vec &val)" --> |
---|
[22] | 72 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classenorm.html#93107f05a8e9b34b64853767200121a4">eval</a> (const vec &val)</td></tr> |
---|
[8] | 73 | |
---|
[22] | 74 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute probability of argument <code>val</code>. <br></td></tr> |
---|
[19] | 75 | <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> |
---|
| 76 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4de82a0d7ba9eaf31206318ae35d0d5"></a><!-- doxytag: member="enorm::RNG" ref="a4de82a0d7ba9eaf31206318ae35d0d5" args="" --> |
---|
| 77 | Normal_RNG </td><td class="memItemRight" valign="bottom"><b>RNG</b></td></tr> |
---|
| 78 | |
---|
[8] | 79 | </table> |
---|
| 80 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 81 | <h3>template<class sq_T><br> |
---|
| 82 | class enorm< sq_T ></h3> |
---|
| 83 | |
---|
[22] | 84 | Gaussian density with positive definite (decomposed) covariance matrix. |
---|
[8] | 85 | <p> |
---|
| 86 | More?... <hr><h2>Member Function Documentation</h2> |
---|
| 87 | <a class="anchor" name="6020bcd89db2c9584bd8871001bd2023"></a><!-- doxytag: member="enorm::sample" ref="6020bcd89db2c9584bd8871001bd2023" args="()" --> |
---|
| 88 | <div class="memitem"> |
---|
| 89 | <div class="memproto"> |
---|
| 90 | <div class="memtemplate"> |
---|
| 91 | template<class sq_T> </div> |
---|
| 92 | <table class="memname"> |
---|
| 93 | <tr> |
---|
| 94 | <td class="memname">vec <a class="el" href="classenorm.html">enorm</a>< sq_T >::sample </td> |
---|
| 95 | <td>(</td> |
---|
| 96 | <td class="paramname"> </td> |
---|
| 97 | <td> ) </td> |
---|
| 98 | <td width="100%"><code> [inline, virtual]</code></td> |
---|
| 99 | </tr> |
---|
| 100 | </table> |
---|
| 101 | </div> |
---|
| 102 | <div class="memdoc"> |
---|
| 103 | |
---|
| 104 | <p> |
---|
| 105 | 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>. |
---|
| 106 | <p> |
---|
[22] | 107 | Returns a sample from the density, <img class="formulaInl" alt="$x \sim epdf(rv)$" src="form_3.png"> |
---|
[19] | 108 | <p>Implements <a class="el" href="classepdf.html#7f74d871d50b9ff360f1b3879092a9fa">epdf</a>.</p> |
---|
[8] | 109 | |
---|
| 110 | </div> |
---|
| 111 | </div><p> |
---|
| 112 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
[19] | 113 | <li>work/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul> |
---|
[28] | 114 | <hr size="1"><address style="text-align: right;"><small>Generated on Mon Feb 18 21:48:43 2008 for mixpp by |
---|
[8] | 115 | <a href="http://www.doxygen.org/index.html"> |
---|
| 116 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address> |
---|
| 117 | </body> |
---|
| 118 | </html> |
---|