Changeset 270 for doc/html/classbdm_1_1eprod.html
- Timestamp:
- 02/16/09 10:02:08 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/classbdm_1_1eprod.html
r269 r270 29 29 </div> 30 30 <div class="contents"> 31 <h1>bdm::eprod Class Reference</h1><!-- doxytag: class="bdm::eprod" --><!-- doxytag: inherits="bdm::epdf" -->Product of independent epdfs. For dependent pdfs, use <a class="el" href="classbdm_1_1mprod.html" title="Chain rule decomposition of epdf.">mprod</a>. 32 <a href="#_details">More...</a> 33 <p> 34 <code>#include <<a class="el" href="emix_8h-source.html">emix.h</a>></code> 31 <h1>bdm::eprod Class Reference</h1><!-- doxytag: class="bdm::eprod" --><!-- doxytag: inherits="bdm::epdf" --><code>#include <<a class="el" href="emix_8h-source.html">emix.h</a>></code> 35 32 <p> 36 33 <div class="dynheader"> … … 41 38 <area shape="rect" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="19,84,104,111"><area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="5,7,117,33"></map> 42 39 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 43 <div class="dynheader">44 Collaboration diagram for bdm::eprod:</div>45 <div class="dynsection">46 <p><center><img src="classbdm_1_1eprod__coll__graph.png" border="0" usemap="#bdm_1_1eprod__coll__map" alt="Collaboration graph"></center>47 <map name="bdm_1_1eprod__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>50 40 51 41 <p> 52 <a href="classbdm_1_1eprod-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> 42 <a href="classbdm_1_1eprod-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> 43 Product of independent epdfs. For dependent pdfs, use <a class="el" href="classbdm_1_1mprod.html" title="Chain rule decomposition of epdf.">mprod</a>. <table border="0" cellpadding="0" cellspacing="0"> 53 44 <tr><td></td></tr> 54 45 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> … … 67 58 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eprod.html#af48debea25d3473bcb71b6a77fac741">sample</a> () const </td></tr> 68 59 69 <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>60 <tr><td class="mdescLeft"> </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> 70 61 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5a91e67d2f74ff2b0b8eecde2fa42e2"></a><!-- doxytag: member="bdm::eprod::evallog" ref="a5a91e67d2f74ff2b0b8eecde2fa42e2" args="(const vec &val) const " --> 71 62 double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eprod.html#a5a91e67d2f74ff2b0b8eecde2fa42e2">evallog</a> (const vec &val) const </td></tr> … … 80 71 81 72 <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br></td></tr> 73 <tr><td colspan="2"><div class="groupHeader">Matematical Operations</div></td></tr> 82 74 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4cf45fd83cc7573ede9fe1215256058"></a><!-- doxytag: member="bdm::eprod::sample_m" ref="b4cf45fd83cc7573ede9fe1215256058" args="(int N) const " --> 83 75 virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#b4cf45fd83cc7573ede9fe1215256058">sample_m</a> (int N) const </td></tr> 84 76 85 <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>77 <tr><td class="mdescLeft"> </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> 86 78 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="34956d4dd3176eeb5937cf48a1546b62"></a><!-- doxytag: member="bdm::eprod::evallog_m" ref="34956d4dd3176eeb5937cf48a1546b62" args="(const mat &Val) const " --> 87 79 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#34956d4dd3176eeb5937cf48a1546b62">evallog_m</a> (const mat &Val) const </td></tr> … … 96 88 97 89 <tr><td class="mdescLeft"> </td><td class="mdescRight">Return marginal density on the given <a class="el" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>, the remainig rvs are intergrated out. <br></td></tr> 90 <tr><td colspan="2"><div class="groupHeader">Connection to other classes</div></td></tr> 91 <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> 92 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f423e28448dbb69ef4905295ec8de8ff"></a><!-- doxytag: member="bdm::eprod::set_rv" ref="f423e28448dbb69ef4905295ec8de8ff" args="(const RV &rv0)" --> 93 void </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> &rv0)</td></tr> 94 95 <tr><td class="mdescLeft"> </td><td class="mdescRight">Name its rv. <br></td></tr> 96 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c4b863ff84c7a4882fb3ad18556027f9"></a><!-- doxytag: member="bdm::eprod::isnamed" ref="c4b863ff84c7a4882fb3ad18556027f9" args="() const " --> 97 bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#c4b863ff84c7a4882fb3ad18556027f9">isnamed</a> () const </td></tr> 98 99 <tr><td class="mdescLeft"> </td><td class="mdescRight">True if rv is assigned. <br></td></tr> 98 100 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4ab378d5e004c3ff3e2d4e64f7bba21"></a><!-- doxytag: member="bdm::eprod::_rv" ref="a4ab378d5e004c3ff3e2d4e64f7bba21" args="() const " --> 99 101 const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a4ab378d5e004c3ff3e2d4e64f7bba21">_rv</a> () const </td></tr> 100 102 101 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function, possibly dangerous! <br></td></tr> 102 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62e88cbce0ce77a8692f5e15d76e805f"></a><!-- doxytag: member="bdm::eprod::_renewrv" ref="62e88cbce0ce77a8692f5e15d76e805f" args="(const RV &in_rv)" --> 103 void </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> &in_rv)</td></tr> 103 <tr><td class="mdescLeft"> </td><td class="mdescRight">Return name (fails when isnamed is false). <br></td></tr> 104 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 105 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="46dfe100cd621716ee5c7ee25a20f24b"></a><!-- doxytag: member="bdm::eprod::dimension" ref="46dfe100cd621716ee5c7ee25a20f24b" args="() const " --> 106 bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#46dfe100cd621716ee5c7ee25a20f24b">dimension</a> () const </td></tr> 104 107 105 <tr><td class="mdescLeft"> </td><td class="mdescRight"> modifier function - useful when copying epdfs<br></td></tr>108 <tr><td class="mdescLeft"> </td><td class="mdescRight">Size of the random variable. <br></td></tr> 106 109 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 107 110 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fa0b0981730f0a8339b9ff3e29d78391"></a><!-- doxytag: member="bdm::eprod::epdfs" ref="fa0b0981730f0a8339b9ff3e29d78391" args="" --> … … 109 112 110 113 <tr><td class="mdescLeft"> </td><td class="mdescRight">Components (epdfs). <br></td></tr> 111 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" a42b1820428ac06eecb6d938cb6896ff"></a><!-- doxytag: member="bdm::eprod::dls" ref="a42b1820428ac06eecb6d938cb6896ff" args="" -->112 Array< <a class="el" href="classbdm_1_1datalink __e2e.html">datalink_e2e</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eprod.html#a42b1820428ac06eecb6d938cb6896ff">dls</a></td></tr>114 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6b5a9be71a644f6009e7beda6c762a43"></a><!-- doxytag: member="bdm::eprod::dls" ref="6b5a9be71a644f6009e7beda6c762a43" args="" --> 115 Array< <a class="el" href="classbdm_1_1datalink.html">datalink</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43">dls</a></td></tr> 113 116 114 117 <tr><td class="mdescLeft"> </td><td class="mdescRight">Array of indeces. <br></td></tr> 118 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="16adac20ec7fe07e1ea0b27d917788ce"></a><!-- doxytag: member="bdm::eprod::dim" ref="16adac20ec7fe07e1ea0b27d917788ce" args="" --> 119 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce">dim</a></td></tr> 120 121 <tr><td class="mdescLeft"> </td><td class="mdescRight">dimension of the random variable <br></td></tr> 115 122 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62c5b8ff71d9ebe6cd58d3c342eb1dc8"></a><!-- doxytag: member="bdm::eprod::rv" ref="62c5b8ff71d9ebe6cd58d3c342eb1dc8" args="" --> 116 123 <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a></td></tr> 117 124 118 <tr><td class="mdescLeft"> </td><td class="mdescRight"> Identifiedof the random variable. <br></td></tr>125 <tr><td class="mdescLeft"> </td><td class="mdescRight">Description of the random variable. <br></td></tr> 119 126 </table> 120 <hr><a name="_details"></a><h2>Detailed Description</h2> 121 Product of independent epdfs. For dependent pdfs, use <a class="el" href="classbdm_1_1mprod.html" title="Chain rule decomposition of epdf.">mprod</a>. <hr>The documentation for this class was generated from the following file:<ul> 127 <hr>The documentation for this class was generated from the following file:<ul> 122 128 <li><a class="el" href="emix_8h-source.html">emix.h</a></ul> 123 129 </div> 124 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 11 10:20:522009 for mixpp by 130 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 11 23:34:03 2009 for mixpp by 125 131 <a href="http://www.doxygen.org/index.html"> 126 132 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>