Show
Ignore:
Timestamp:
02/16/09 10:02:08 (15 years ago)
Author:
smidl
Message:

Changes in the very root classes!
* rv and rvc are no longer compulsory,
* samplecond does not return ll
* BM has drv

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/html/classbdm_1_1eEF.html

    r269 r270  
    2929</div> 
    3030<div class="contents"> 
    31 <h1>bdm::eEF Class Reference</h1><!-- doxytag: class="bdm::eEF" --><!-- doxytag: inherits="bdm::epdf" -->General conjugate exponential family posterior density.   
    32 <a href="#_details">More...</a> 
    33 <p> 
    34 <code>#include &lt;<a class="el" href="libEF_8h-source.html">libEF.h</a>&gt;</code> 
     31<h1>bdm::eEF Class Reference</h1><!-- doxytag: class="bdm::eEF" --><!-- doxytag: inherits="bdm::epdf" --><code>#include &lt;<a class="el" href="libEF_8h-source.html">libEF.h</a>&gt;</code> 
    3532<p> 
    3633<div class="dynheader"> 
     
    4138<area shape="rect" href="classbdm_1_1eDirich.html" title="Dirichlet posterior density." alt="" coords="472,5,573,32"><area shape="rect" href="classbdm_1_1egamma.html" title="Gamma posterior density." alt="" coords="465,56,580,83"><area shape="rect" href="classbdm_1_1egiw.html" title="Gauss&#45;inverse&#45;Wishart density stored in LD form." alt="" coords="480,107,565,133"><area shape="rect" href="classbdm_1_1eigamma.html" title="Inverse&#45;Gamma posterior density." alt="" coords="463,157,583,184"><area shape="rect" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="443,280,603,307"><area shape="rect" href="classbdm_1_1enorm.html" title="bdm::enorm\&lt; ldmat \&gt;" alt="" coords="729,233,897,260"><area shape="rect" href="classbdm_1_1enorm.html" title="bdm::enorm\&lt; chmat \&gt;" alt="" coords="728,307,899,333"><area shape="rect" href="classbdm_1_1enorm.html" title="bdm::enorm\&lt; fsqmat \&gt;" alt="" coords="725,401,901,428"><area shape="rect" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="172,183,257,209"><area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="7,183,119,209"></map> 
    4239<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 
    43 <div class="dynheader"> 
    44 Collaboration diagram for bdm::eEF:</div> 
    45 <div class="dynsection"> 
    46 <p><center><img src="classbdm_1_1eEF__coll__graph.png" border="0" usemap="#bdm_1_1eEF__coll__map" alt="Collaboration graph"></center> 
    47 <map name="bdm_1_1eEF__coll__map"> 
    48 <area shape="rect" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="13,183,99,209"><area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="5,7,117,33"><area shape="rect" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables." alt="" coords="72,87,147,113"></map> 
    49 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 
    5040 
    5141<p> 
    52 <a href="classbdm_1_1eEF-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> 
     42<a href="classbdm_1_1eEF-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> 
     43General conjugate exponential family posterior density.  
     44<p> 
     45More?... <table border="0" cellpadding="0" cellspacing="0"> 
    5346<tr><td></td></tr> 
    5447<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> 
    55 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1e92e3f94e594edb20adfa81ae9e2959"></a><!-- doxytag: member="bdm::eEF::eEF" ref="1e92e3f94e594edb20adfa81ae9e2959" args="(const RV &amp;rv)" --> 
    56 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEF.html#1e92e3f94e594edb20adfa81ae9e2959">eEF</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;<a class="el" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a>)</td></tr> 
     48<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d5459d472d0feca7cf1fb5f65c4b9ef4"></a><!-- doxytag: member="bdm::eEF::eEF" ref="d5459d472d0feca7cf1fb5f65c4b9ef4" args="()" --> 
     49&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEF.html#d5459d472d0feca7cf1fb5f65c4b9ef4">eEF</a> ()</td></tr> 
    5750 
    5851<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">default constructor <br></td></tr> 
     
    8174 
    8275<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Power of the density, used e.g. to flatten the density. <br></td></tr> 
     76<tr><td colspan="2"><div class="groupHeader">Matematical Operations</div></td></tr> 
    8377<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="09721eb148bc49d6ec2f1956039f3a10"></a><!-- doxytag: member="bdm::eEF::sample" ref="09721eb148bc49d6ec2f1956039f3a10" args="() const =0" --> 
    8478virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#09721eb148bc49d6ec2f1956039f3a10">sample</a> () const =0</td></tr> 
    8579 
    86 <tr><td class="mdescLeft">&nbsp;</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> 
     80<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a sample, <img class="formulaInl" alt="$ x $" src="form_106.png"> from density <img class="formulaInl" alt="$ f_x()$" src="form_107.png">. <br></td></tr> 
    8781<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4cf45fd83cc7573ede9fe1215256058"></a><!-- doxytag: member="bdm::eEF::sample_m" ref="b4cf45fd83cc7573ede9fe1215256058" args="(int N) const " --> 
    8882virtual mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#b4cf45fd83cc7573ede9fe1215256058">sample_m</a> (int N) const </td></tr> 
    8983 
    90 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns N samples from density <img class="formulaInl" alt="$epdf(rv)$" src="form_59.png">. <br></td></tr> 
     84<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns N samples, <img class="formulaInl" alt="$ [x_1 , x_2 , \ldots \ $" src="form_108.png"> from density <img class="formulaInl" alt="$ f_x(rv)$" src="form_109.png">. <br></td></tr> 
    9185<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="34956d4dd3176eeb5937cf48a1546b62"></a><!-- doxytag: member="bdm::eEF::evallog_m" ref="34956d4dd3176eeb5937cf48a1546b62" args="(const mat &amp;Val) const " --> 
    9286virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#34956d4dd3176eeb5937cf48a1546b62">evallog_m</a> (const mat &amp;Val) const </td></tr> 
     
    109103 
    110104<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return expected variance (not covariance!) <br></td></tr> 
     105<tr><td colspan="2"><div class="groupHeader">Connection to other classes</div></td></tr> 
     106<tr><td colspan="2"><div class="groupText">Description of the random quantity via attribute <code>rv</code> is optional. For operations such as sampling <code>rv</code> does not need to be set. However, for <code>marginalization</code> and <code>conditioning</code> <code>rv</code> has to be set. NB: <br><br></div></td></tr> 
     107<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f423e28448dbb69ef4905295ec8de8ff"></a><!-- doxytag: member="bdm::eEF::set_rv" ref="f423e28448dbb69ef4905295ec8de8ff" args="(const RV &amp;rv0)" --> 
     108void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#f423e28448dbb69ef4905295ec8de8ff">set_rv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;rv0)</td></tr> 
     109 
     110<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Name its rv. <br></td></tr> 
     111<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c4b863ff84c7a4882fb3ad18556027f9"></a><!-- doxytag: member="bdm::eEF::isnamed" ref="c4b863ff84c7a4882fb3ad18556027f9" args="() const " --> 
     112bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#c4b863ff84c7a4882fb3ad18556027f9">isnamed</a> () const </td></tr> 
     113 
     114<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">True if rv is assigned. <br></td></tr> 
    111115<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4ab378d5e004c3ff3e2d4e64f7bba21"></a><!-- doxytag: member="bdm::eEF::_rv" ref="a4ab378d5e004c3ff3e2d4e64f7bba21" args="() const " --> 
    112116const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a4ab378d5e004c3ff3e2d4e64f7bba21">_rv</a> () const </td></tr> 
    113117 
    114 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function, possibly dangerous! <br></td></tr> 
    115 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62e88cbce0ce77a8692f5e15d76e805f"></a><!-- doxytag: member="bdm::eEF::_renewrv" ref="62e88cbce0ce77a8692f5e15d76e805f" args="(const RV &amp;in_rv)" --> 
    116 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#62e88cbce0ce77a8692f5e15d76e805f">_renewrv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;in_rv)</td></tr> 
     118<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return name (fails when isnamed is false). <br></td></tr> 
     119<tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 
     120<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="46dfe100cd621716ee5c7ee25a20f24b"></a><!-- doxytag: member="bdm::eEF::dimension" ref="46dfe100cd621716ee5c7ee25a20f24b" args="() const " --> 
     121bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#46dfe100cd621716ee5c7ee25a20f24b">dimension</a> () const </td></tr> 
    117122 
    118 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">modifier function - useful when copying epdfs <br></td></tr> 
     123<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Size of the random variable. <br></td></tr> 
    119124<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 
     125<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="16adac20ec7fe07e1ea0b27d917788ce"></a><!-- doxytag: member="bdm::eEF::dim" ref="16adac20ec7fe07e1ea0b27d917788ce" args="" --> 
     126int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce">dim</a></td></tr> 
     127 
     128<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dimension of the random variable <br></td></tr> 
    120129<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62c5b8ff71d9ebe6cd58d3c342eb1dc8"></a><!-- doxytag: member="bdm::eEF::rv" ref="62c5b8ff71d9ebe6cd58d3c342eb1dc8" args="" --> 
    121130<a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a></td></tr> 
    122131 
    123 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Identified of the random variable. <br></td></tr> 
     132<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Description of the random variable. <br></td></tr> 
    124133</table> 
    125 <hr><a name="_details"></a><h2>Detailed Description</h2> 
    126 General conjugate exponential family posterior density.  
    127 <p> 
    128 More?... <hr>The documentation for this class was generated from the following file:<ul> 
     134<hr>The documentation for this class was generated from the following file:<ul> 
    129135<li><a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 
    130136</div> 
    131 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 11 10:21:03 2009 for mixpp by&nbsp; 
     137<hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 11 23:34:05 2009 for mixpp by&nbsp; 
    132138<a href="http://www.doxygen.org/index.html"> 
    133139<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>