Changeset 608 for library/doc/html/classbdm_1_1mexEpdf.html
- Timestamp:
- 09/12/09 11:41:43 (15 years ago)
- Files:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
library/doc/html/classbdm_1_1mexEpdf.html
r591 r608 3 3 <head> 4 4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 5 <title>mixpp: bdm:: epdf Class Reference</title>5 <title>mixpp: bdm::mexEpdf Class Reference</title> 6 6 <link href="tabs.css" rel="stylesheet" type="text/css"/> 7 7 <link href="doxygen.css" rel="stylesheet" type="text/css"/> … … 67 67 </ul> 68 68 </div> 69 <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1 epdf.html">epdf</a>69 <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1mexEpdf.html">mexEpdf</a> 70 70 </div> 71 71 </div> 72 72 <div class="contents"> 73 <h1>bdm::epdf Class Reference</h1><!-- doxytag: class="bdm::epdf" --><!-- doxytag: inherits="bdm::root" --> 74 <p>Probability density function with numerical statistics, e.g. posterior density. 75 <a href="#_details">More...</a></p> 76 77 <p><code>#include <<a class="el" href="bdmbase_8h_source.html">bdmbase.h</a>></code></p> 78 79 <p><a href="classbdm_1_1epdf-members.html">List of all members.</a></p> 73 <h1>bdm::mexEpdf Class Reference</h1><!-- doxytag: class="bdm::mexEpdf" --><!-- doxytag: inherits="bdm::epdf" --> 74 <p><a href="classbdm_1_1mexEpdf-members.html">List of all members.</a></p> 80 75 <table border="0" cellpadding="0" cellspacing="0"> 81 76 <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> 82 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#afa9efc98a065b31c630fe18cc418f725">from_setting</a> (const Setting &set)</td></tr> 83 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::epdf::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> 77 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mexEpdf.html#af371482ea8d21c8ac01f011b3d942298">from_setting</a> (const Setting &S)</td></tr> 78 <tr><td class="mdescLeft"> </td><td class="mdescRight">Load from structure with elements:. <a href="#af371482ea8d21c8ac01f011b3d942298"></a><br/></td></tr> 79 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a028dd3432d55e1fcc49f786a27f5afe8"></a><!-- doxytag: member="bdm::mexEpdf::mean" ref="a028dd3432d55e1fcc49f786a27f5afe8" args="() const " --> 80 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mexEpdf.html#a028dd3432d55e1fcc49f786a27f5afe8">mean</a> () const </td></tr> 81 <tr><td class="mdescLeft"> </td><td class="mdescRight">return expected value <br/></td></tr> 82 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::mexEpdf::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> 84 83 virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> 85 84 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br/></td></tr> 86 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm:: epdf::to_setting" ref="a67d954d255ede776eade7334d4895790" args="(Setting &set) const " -->85 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::mexEpdf::to_setting" ref="a67d954d255ede776eade7334d4895790" args="(Setting &set) const " --> 87 86 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a67d954d255ede776eade7334d4895790">to_setting</a> (Setting &set) const </td></tr> 88 87 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br/></td></tr> 89 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm:: epdf::validate" ref="a1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" -->88 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::mexEpdf::validate" ref="a1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" --> 90 89 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr> 91 90 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br/></td></tr> … … 103 102 <p>All internal data structures are constructed as empty. Their values (including sizes) will be set by method <code>set_parameters()</code>. This way references can be initialized in constructors. </p> 104 103 <br/><br/></div></td></tr> 105 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a992f3de956fb3439c62225156aafb6f6"></a><!-- doxytag: member="bdm::epdf::epdf" ref="a992f3de956fb3439c62225156aafb6f6" args="()" --> 106 </td><td class="memItemRight" valign="bottom"><b>epdf</b> ()</td></tr> 107 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae50af83245e56edf5cd76dbb4347d030"></a><!-- doxytag: member="bdm::epdf::epdf" ref="ae50af83245e56edf5cd76dbb4347d030" args="(const epdf &e)" --> 108 </td><td class="memItemRight" valign="bottom"><b>epdf</b> (const <a class="el" href="classbdm_1_1epdf.html">epdf</a> &e)</td></tr> 109 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afdfed7aa18f2870951888b1dde977415"></a><!-- doxytag: member="bdm::epdf::epdf" ref="afdfed7aa18f2870951888b1dde977415" args="(const RV &rv0)" --> 110 </td><td class="memItemRight" valign="bottom"><b>epdf</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv0)</td></tr> 111 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a840de94aa33cf4f2ebd2427f45a165d8"></a><!-- doxytag: member="bdm::epdf::set_parameters" ref="a840de94aa33cf4f2ebd2427f45a165d8" args="(int dim0)" --> 104 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a840de94aa33cf4f2ebd2427f45a165d8"></a><!-- doxytag: member="bdm::mexEpdf::set_parameters" ref="a840de94aa33cf4f2ebd2427f45a165d8" args="(int dim0)" --> 112 105 void </td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (int dim0)</td></tr> 113 106 <tr><td colspan="2"><div class="groupHeader">Matematical Operations</div></td></tr> 114 107 <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp96552c993870a5dd6bb0ea321f1ceb78"></a> </p> 115 108 <br/><br/></div></td></tr> 116 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a75ba57a89681a8efec488f5796c7cc1b"></a><!-- doxytag: member="bdm:: epdf::sample" ref="a75ba57a89681a8efec488f5796c7cc1b" args="() const " -->109 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a75ba57a89681a8efec488f5796c7cc1b"></a><!-- doxytag: member="bdm::mexEpdf::sample" ref="a75ba57a89681a8efec488f5796c7cc1b" args="() const " --> 117 110 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a75ba57a89681a8efec488f5796c7cc1b">sample</a> () const </td></tr> 118 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a sample, <img class="formulaInl" alt="$ x $" src="form_ 7.png"/> from density <img class="formulaInl" alt="$ f_x()$" src="form_8.png"/>. <br/></td></tr>119 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4cf45fd83cc7573ede9fe1215256058"></a><!-- doxytag: member="bdm:: epdf::sample_m" ref="ab4cf45fd83cc7573ede9fe1215256058" args="(int N) const " -->111 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a sample, <img class="formulaInl" alt="$ x $" src="form_3.png"/> from density <img class="formulaInl" alt="$ f_x()$" src="form_13.png"/>. <br/></td></tr> 112 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4cf45fd83cc7573ede9fe1215256058"></a><!-- doxytag: member="bdm::mexEpdf::sample_m" ref="ab4cf45fd83cc7573ede9fe1215256058" args="(int N) const " --> 120 113 virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#ab4cf45fd83cc7573ede9fe1215256058">sample_m</a> (int N) const </td></tr> 121 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns N samples, <img class="formulaInl" alt="$ [x_1 , x_2 , \ldots \ $" src="form_9.png"/> from density <img class="formulaInl" alt="$ f_x(rv)$" src="form_10.png"/>. <br/></td></tr> 122 <tr><td class="memItemLeft" align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#adeab266d63c236c277538867d5c3f249">evallog</a> (const vec &val) const </td></tr> 123 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad08b68a5abd461f1b6519597e344caf8"></a><!-- doxytag: member="bdm::epdf::evallog_m" ref="ad08b68a5abd461f1b6519597e344caf8" args="(const mat &Val) const " --> 114 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns N samples, <img class="formulaInl" alt="$ [x_1 , x_2 , \ldots \ $" src="form_14.png"/> from density <img class="formulaInl" alt="$ f_x(rv)$" src="form_15.png"/>. <br/></td></tr> 115 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adeab266d63c236c277538867d5c3f249"></a><!-- doxytag: member="bdm::mexEpdf::evallog" ref="adeab266d63c236c277538867d5c3f249" args="(const vec &val) const " --> 116 virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#adeab266d63c236c277538867d5c3f249">evallog</a> (const vec &val) const </td></tr> 117 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of argument <code>val</code> In case the argument is out of suport return -Infinity. <br/></td></tr> 118 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad08b68a5abd461f1b6519597e344caf8"></a><!-- doxytag: member="bdm::mexEpdf::evallog_m" ref="ad08b68a5abd461f1b6519597e344caf8" args="(const mat &Val) const " --> 124 119 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#ad08b68a5abd461f1b6519597e344caf8">evallog_m</a> (const mat &Val) const </td></tr> 125 120 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br/></td></tr> 126 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9bc02dae61584138443baf6b1cbc1ac9"></a><!-- doxytag: member="bdm:: epdf::evallog_m" ref="a9bc02dae61584138443baf6b1cbc1ac9" args="(const Array< vec > &Avec) const " -->121 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9bc02dae61584138443baf6b1cbc1ac9"></a><!-- doxytag: member="bdm::mexEpdf::evallog_m" ref="a9bc02dae61584138443baf6b1cbc1ac9" args="(const Array< vec > &Avec) const " --> 127 122 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a9bc02dae61584138443baf6b1cbc1ac9">evallog_m</a> (const Array< vec > &Avec) const </td></tr> 128 123 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br/></td></tr> 129 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1499d35b79bce0cfa64fc5cafb9c03b2"></a><!-- doxytag: member="bdm:: epdf::condition" ref="a1499d35b79bce0cfa64fc5cafb9c03b2" args="(const RV &rv) const " -->124 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1499d35b79bce0cfa64fc5cafb9c03b2"></a><!-- doxytag: member="bdm::mexEpdf::condition" ref="a1499d35b79bce0cfa64fc5cafb9c03b2" args="(const RV &rv) const " --> 130 125 virtual <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>< <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a1499d35b79bce0cfa64fc5cafb9c03b2">condition</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &<a class="el" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a>) const </td></tr> 131 126 <tr><td class="mdescLeft"> </td><td class="mdescRight">Return conditional density on the given <a class="el" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>, the remaining rvs will be in conditioning. <br/></td></tr> 132 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa84b05f5293cab2aeb4e07faffa60906"></a><!-- doxytag: member="bdm:: epdf::marginal" ref="aa84b05f5293cab2aeb4e07faffa60906" args="(const RV &rv) const " -->127 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa84b05f5293cab2aeb4e07faffa60906"></a><!-- doxytag: member="bdm::mexEpdf::marginal" ref="aa84b05f5293cab2aeb4e07faffa60906" args="(const RV &rv) const " --> 133 128 virtual <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>< <a class="el" href="classbdm_1_1epdf.html">epdf</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#aa84b05f5293cab2aeb4e07faffa60906">marginal</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &<a class="el" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a>) const </td></tr> 134 129 <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> 135 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0c8d13d788094605b3cdab20a6e22b75"></a><!-- doxytag: member="bdm::epdf::mean" ref="a0c8d13d788094605b3cdab20a6e22b75" args="() const " --> 136 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a0c8d13d788094605b3cdab20a6e22b75">mean</a> () const </td></tr> 137 <tr><td class="mdescLeft"> </td><td class="mdescRight">return expected value <br/></td></tr> 138 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4543d40ccfc5d549b0c831a57a3ed84c"></a><!-- doxytag: member="bdm::epdf::variance" ref="a4543d40ccfc5d549b0c831a57a3ed84c" args="() const " --> 130 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4543d40ccfc5d549b0c831a57a3ed84c"></a><!-- doxytag: member="bdm::mexEpdf::variance" ref="a4543d40ccfc5d549b0c831a57a3ed84c" args="() const " --> 139 131 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a4543d40ccfc5d549b0c831a57a3ed84c">variance</a> () const </td></tr> 140 132 <tr><td class="mdescLeft"> </td><td class="mdescRight">return expected variance (not covariance!) <br/></td></tr> 141 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0a7705e80601957f7226d333a0a6d539"></a><!-- doxytag: member="bdm:: epdf::qbounds" ref="a0a7705e80601957f7226d333a0a6d539" args="(vec &lb, vec &ub, double percentage=0.95) const " -->133 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0a7705e80601957f7226d333a0a6d539"></a><!-- doxytag: member="bdm::mexEpdf::qbounds" ref="a0a7705e80601957f7226d333a0a6d539" args="(vec &lb, vec &ub, double percentage=0.95) const " --> 142 134 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a0a7705e80601957f7226d333a0a6d539">qbounds</a> (vec &lb, vec &ub, double percentage=0.95) const </td></tr> 143 135 <tr><td class="mdescLeft"> </td><td class="mdescRight">Lower and upper bounds of <code>percentage</code> % quantile, returns mean-2*sigma as default. <br/></td></tr> 144 136 <tr><td colspan="2"><div class="groupHeader">Connection to other classes</div></td></tr> 145 <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp14fc6e1cb822e9dfc5edc16c20fabe11"></a> 146 <br/><br/></div></td></tr> 147 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af423e28448dbb69ef4905295ec8de8ff"></a><!-- doxytag: member="bdm:: epdf::set_rv" ref="af423e28448dbb69ef4905295ec8de8ff" args="(const RV &rv0)" -->137 <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp14fc6e1cb822e9dfc5edc16c20fabe11"></a>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: </p> 138 <br/><br/></div></td></tr> 139 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af423e28448dbb69ef4905295ec8de8ff"></a><!-- doxytag: member="bdm::mexEpdf::set_rv" ref="af423e28448dbb69ef4905295ec8de8ff" args="(const RV &rv0)" --> 148 140 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#af423e28448dbb69ef4905295ec8de8ff">set_rv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv0)</td></tr> 149 141 <tr><td class="mdescLeft"> </td><td class="mdescRight">Name its rv. <br/></td></tr> 150 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac4b863ff84c7a4882fb3ad18556027f9"></a><!-- doxytag: member="bdm:: epdf::isnamed" ref="ac4b863ff84c7a4882fb3ad18556027f9" args="() const " -->142 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac4b863ff84c7a4882fb3ad18556027f9"></a><!-- doxytag: member="bdm::mexEpdf::isnamed" ref="ac4b863ff84c7a4882fb3ad18556027f9" args="() const " --> 151 143 bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#ac4b863ff84c7a4882fb3ad18556027f9">isnamed</a> () const </td></tr> 152 144 <tr><td class="mdescLeft"> </td><td class="mdescRight">True if rv is assigned. <br/></td></tr> 153 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa4ab378d5e004c3ff3e2d4e64f7bba21"></a><!-- doxytag: member="bdm:: epdf::_rv" ref="aa4ab378d5e004c3ff3e2d4e64f7bba21" args="() const " -->145 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa4ab378d5e004c3ff3e2d4e64f7bba21"></a><!-- doxytag: member="bdm::mexEpdf::_rv" ref="aa4ab378d5e004c3ff3e2d4e64f7bba21" args="() const " --> 154 146 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#aa4ab378d5e004c3ff3e2d4e64f7bba21">_rv</a> () const </td></tr> 155 147 <tr><td class="mdescLeft"> </td><td class="mdescRight">Return name (fails when isnamed is false). <br/></td></tr> … … 157 149 <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpb6eb094f9e6af11f8a7d9efa9d8e3623"></a> </p> 158 150 <br/><br/></div></td></tr> 159 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7083a65f7b7a0d0d13b2c516bd2ec29c"></a><!-- doxytag: member="bdm:: epdf::dimension" ref="a7083a65f7b7a0d0d13b2c516bd2ec29c" args="() const " -->151 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7083a65f7b7a0d0d13b2c516bd2ec29c"></a><!-- doxytag: member="bdm::mexEpdf::dimension" ref="a7083a65f7b7a0d0d13b2c516bd2ec29c" args="() const " --> 160 152 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a7083a65f7b7a0d0d13b2c516bd2ec29c">dimension</a> () const </td></tr> 161 153 <tr><td class="mdescLeft"> </td><td class="mdescRight">Size of the random variable. <br/></td></tr> 162 154 <tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> 163 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a16adac20ec7fe07e1ea0b27d917788ce"></a><!-- doxytag: member="bdm::epdf::dim" ref="a16adac20ec7fe07e1ea0b27d917788ce" args="" --> 155 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a287414259db205e5bc82c0023c09e633"></a><!-- doxytag: member="bdm::mexEpdf::name" ref="a287414259db205e5bc82c0023c09e633" args="" --> 156 string </td><td class="memItemRight" valign="bottom"><b>name</b></td></tr> 157 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5190ab6b434834d4efdecaa7c264df67"></a><!-- doxytag: member="bdm::mexEpdf::data" ref="a5190ab6b434834d4efdecaa7c264df67" args="" --> 158 mxArray * </td><td class="memItemRight" valign="bottom"><b>data</b></td></tr> 159 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a16adac20ec7fe07e1ea0b27d917788ce"></a><!-- doxytag: member="bdm::mexEpdf::dim" ref="a16adac20ec7fe07e1ea0b27d917788ce" args="" --> 164 160 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a16adac20ec7fe07e1ea0b27d917788ce">dim</a></td></tr> 165 161 <tr><td class="mdescLeft"> </td><td class="mdescRight">dimension of the random variable <br/></td></tr> 166 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62c5b8ff71d9ebe6cd58d3c342eb1dc8"></a><!-- doxytag: member="bdm:: epdf::rv" ref="a62c5b8ff71d9ebe6cd58d3c342eb1dc8" args="" -->162 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62c5b8ff71d9ebe6cd58d3c342eb1dc8"></a><!-- doxytag: member="bdm::mexEpdf::rv" ref="a62c5b8ff71d9ebe6cd58d3c342eb1dc8" args="" --> 167 163 <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a></td></tr> 168 164 <tr><td class="mdescLeft"> </td><td class="mdescRight">Description of the random variable. <br/></td></tr> 169 165 </table> 170 <hr/><a name="_details"></a><h2>Detailed Description</h2>171 <p>Probability density function with numerical statistics, e.g. posterior density. </p>172 166 <hr/><h2>Member Function Documentation</h2> 173 <a class="anchor" id="a deab266d63c236c277538867d5c3f249"></a><!-- doxytag: member="bdm::epdf::evallog" ref="adeab266d63c236c277538867d5c3f249" args="(const vec &val) const" -->167 <a class="anchor" id="af371482ea8d21c8ac01f011b3d942298"></a><!-- doxytag: member="bdm::mexEpdf::from_setting" ref="af371482ea8d21c8ac01f011b3d942298" args="(const Setting &S)" --> 174 168 <div class="memitem"> 175 169 <div class="memproto"> 176 170 <table class="memname"> 177 171 <tr> 178 <td class="memname">virtual double bdm::epdf::evallog </td> 179 <td>(</td> 180 <td class="paramtype">const vec & </td> 181 <td class="paramname"> <em>val</em></td> 182 <td> ) </td> 183 <td> const<code> [inline, virtual]</code></td> 184 </tr> 185 </table> 186 </div> 187 <div class="memdoc"> 188 <p>Compute log-probability of argument <code>val</code> In case the argument is out of suport return -Infinity </p> 189 190 <p>Reimplemented in <a class="el" href="classbdm_1_1emix.html#a0f3db99f730bde6b7953931594537e8e">bdm::emix</a>, <a class="el" href="classbdm_1_1eprod.html#aa5a91e67d2f74ff2b0b8eecde2fa42e2">bdm::eprod</a>, <a class="el" href="classbdm_1_1eEF.html#aa36d06ecdd6f4c79dc122510eaccc692">bdm::eEF</a>, <a class="el" href="classbdm_1_1egamma.html#aa8e11e5a580ff42a1b205974c60768c6">bdm::egamma</a>, <a class="el" href="classbdm_1_1euni.html#acaa07b8307bd793d5339d6583e0aba81">bdm::euni</a>, <a class="el" href="classbdm_1_1eiWishartCh.html#aa6ddbd815b8b666dd542e97f009f89bb">bdm::eiWishartCh</a>, <a class="el" href="classbdm_1_1eEmp.html#a01654c014d3aa068f8d4ecba4be86d09">bdm::eEmp</a>, and <a class="el" href="classbdm_1_1merger__mix.html#a9737ad6d1ecf4e0cdd6cea6a40875a34">bdm::merger_mix</a>.</p> 191 192 <p>References <a class="el" href="bdmerror_8h_source.html#l00051">bdm_error</a>.</p> 193 194 <p>Referenced by <a class="el" href="bdmbase_8cpp_source.html#l00152">evallog_m()</a>, and <a class="el" href="emix_8h_source.html#l00076">bdm::mratio::evallogcond()</a>.</p> 195 196 </div> 197 </div> 198 <a class="anchor" id="afa9efc98a065b31c630fe18cc418f725"></a><!-- doxytag: member="bdm::epdf::from_setting" ref="afa9efc98a065b31c630fe18cc418f725" args="(const Setting &set)" --> 199 <div class="memitem"> 200 <div class="memproto"> 201 <table class="memname"> 202 <tr> 203 <td class="memname">void bdm::epdf::from_setting </td> 172 <td class="memname">void bdm::mexEpdf::from_setting </td> 204 173 <td>(</td> 205 174 <td class="paramtype">const Setting & </td> … … 211 180 </div> 212 181 <div class="memdoc"> 213 <p>Load from structure with elements: </p> 214 <div class="fragment"><pre class="fragment"> { <a class="code" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> = {<span class="keyword">class</span>=<span class="stringliteral">"RV"</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable</span> 215 <span class="comment">// elements of offsprings</span> 216 } 182 183 <p>Load from structure with elements:. </p> 184 <div class="fragment"><pre class="fragment"> { <a class="code" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> = {<span class="keyword">class</span>=<span class="stringliteral">"RV"</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable</span> 185 <span class="comment">// elements of offsprings</span> 186 } 217 187 </pre></div> 218 <p>Reimplemented from <a class="el" href="classbdm_1_1root.html#a0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> 219 220 <p>Reimplemented in <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm< sq_T ></a>, <a class="el" href="classbdm_1_1egiw.html#a55b76ec75bd2df5ef9cab3be20a33bbb">bdm::egiw</a>, <a class="el" href="classbdm_1_1egamma.html#a8a6fd1a1c0190f3e0d95a2a1f99aafc1">bdm::egamma</a>, <a class="el" href="classbdm_1_1euni.html#a77f5fef1f006fe056066da23b9e5f042">bdm::euni</a>, <a class="el" href="classbdm_1_1merger__base.html#a10dd390fc6f0d1733bb07cb51977160c">bdm::merger_base</a>, <a class="el" href="classbdm_1_1merger__mix.html#a9f12b2c66344e25e6b3ef0255d000478">bdm::merger_mix</a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm< ldmat ></a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm< chmat ></a>, and <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm< fsqmat ></a>.</p> 221 222 <p>References <a class="el" href="bdmbase_8h_source.html#l00357">set_rv()</a>.</p> 223 224 </div> 225 </div> 226 <hr/>The documentation for this class was generated from the following files:<ul> 227 <li><a class="el" href="bdmbase_8h_source.html">bdmbase.h</a></li> 228 <li>bdmbase.cpp</li> 188 <p>Reimplemented from <a class="el" href="classbdm_1_1epdf.html#afa9efc98a065b31c630fe18cc418f725">bdm::epdf</a>.</p> 189 190 <p>References <a class="el" href="config2mxstruct_8h_source.html#l00017">UImxConfig::mxconfig</a>.</p> 191 192 <p>Referenced by <a class="el" href="mex__BM_8h_source.html#l00055">bdm::mexBM::from_setting()</a>.</p> 193 194 </div> 195 </div> 196 <hr/>The documentation for this class was generated from the following file:<ul> 197 <li><a class="el" href="mex__BM_8h_source.html">mex_BM.h</a></li> 229 198 </ul> 230 199 </div> 231 <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Aug 30 22:10:502009 for mixpp by 200 <hr size="1"/><address style="text-align: right;"><small>Generated on Tue Sep 8 22:11:33 2009 for mixpp by 232 201 <a href="http://www.doxygen.org/index.html"> 233 202 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>