Changeset 608 for library/doc/html/classbdm_1_1eprod.html
- Timestamp:
- 09/12/09 11:41:43 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/doc/html/classbdm_1_1eprod.html
r591 r608 94 94 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf48debea25d3473bcb71b6a77fac741"></a><!-- doxytag: member="bdm::eprod::sample" ref="aaf48debea25d3473bcb71b6a77fac741" args="() const " --> 95 95 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eprod.html#aaf48debea25d3473bcb71b6a77fac741">sample</a> () const </td></tr> 96 <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> 97 <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eprod.html#aa5a91e67d2f74ff2b0b8eecde2fa42e2">evallog</a> (const vec &val) const </td></tr> 96 <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> 97 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa5a91e67d2f74ff2b0b8eecde2fa42e2"></a><!-- doxytag: member="bdm::eprod::evallog" ref="aa5a91e67d2f74ff2b0b8eecde2fa42e2" args="(const vec &val) const " --> 98 double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eprod.html#aa5a91e67d2f74ff2b0b8eecde2fa42e2">evallog</a> (const vec &val) const </td></tr> 99 <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> 98 100 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5194b47dd05a5886e0745250b6704953"></a><!-- doxytag: member="bdm::eprod::operator()" ref="a5194b47dd05a5886e0745250b6704953" args="(int i) const " --> 99 101 const <a class="el" href="classbdm_1_1epdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eprod.html#a5194b47dd05a5886e0745250b6704953">operator()</a> (int i) const </td></tr> … … 103 105 <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br/></td></tr> 104 106 <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> 107 <tr><td class="mdescLeft"> </td><td class="mdescRight">Load from structure with elements:. <a href="#afa9efc98a065b31c630fe18cc418f725"></a><br/></td></tr> 105 108 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::eprod::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> 106 109 virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> … … 132 135 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4cf45fd83cc7573ede9fe1215256058"></a><!-- doxytag: member="bdm::eprod::sample_m" ref="ab4cf45fd83cc7573ede9fe1215256058" args="(int N) const " --> 133 136 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> 134 <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>137 <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> 135 138 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad08b68a5abd461f1b6519597e344caf8"></a><!-- doxytag: member="bdm::eprod::evallog_m" ref="ad08b68a5abd461f1b6519597e344caf8" args="(const mat &Val) const " --> 136 139 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> … … 149 152 <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> 150 153 <tr><td colspan="2"><div class="groupHeader">Connection to other classes</div></td></tr> 151 <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp14fc6e1cb822e9dfc5edc16c20fabe11"></a> 154 <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> 152 155 <br/><br/></div></td></tr> 153 156 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af423e28448dbb69ef4905295ec8de8ff"></a><!-- doxytag: member="bdm::eprod::set_rv" ref="af423e28448dbb69ef4905295ec8de8ff" args="(const RV &rv0)" --> … … 183 186 <p>Product of independent epdfs. For dependent pdfs, use <a class="el" href="classbdm_1_1mprod.html" title="Chain rule decomposition of epdf.">mprod</a>. </p> 184 187 <hr/><h2>Member Function Documentation</h2> 185 <a class="anchor" id="aa5a91e67d2f74ff2b0b8eecde2fa42e2"></a><!-- doxytag: member="bdm::eprod::evallog" ref="aa5a91e67d2f74ff2b0b8eecde2fa42e2" args="(const vec &val) const " -->186 <div class="memitem">187 <div class="memproto">188 <table class="memname">189 <tr>190 <td class="memname">double bdm::eprod::evallog </td>191 <td>(</td>192 <td class="paramtype">const vec & </td>193 <td class="paramname"> <em>val</em></td>194 <td> ) </td>195 <td> const<code> [inline, virtual]</code></td>196 </tr>197 </table>198 </div>199 <div class="memdoc">200 <p>Compute log-probability of argument <code>val</code> In case the argument is out of suport return -Infinity </p>201 202 <p>Reimplemented from <a class="el" href="classbdm_1_1epdf.html#adeab266d63c236c277538867d5c3f249">bdm::epdf</a>.</p>203 204 <p>References <a class="el" href="bdmerror_8h_source.html#l00047">bdm_assert_debug</a>, <a class="el" href="emix_8h_source.html#l00376">dls</a>, and <a class="el" href="emix_8h_source.html#l00374">epdfs</a>.</p>205 206 </div>207 </div>208 188 <a class="anchor" id="afa9efc98a065b31c630fe18cc418f725"></a><!-- doxytag: member="bdm::eprod::from_setting" ref="afa9efc98a065b31c630fe18cc418f725" args="(const Setting &set)" --> 209 189 <div class="memitem"> … … 221 201 </div> 222 202 <div class="memdoc"> 223 <p>Load from structure with elements: </p> 224 <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> 225 <span class="comment">// elements of offsprings</span> 226 } 203 204 <p>Load from structure with elements:. </p> 205 <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> 206 <span class="comment">// elements of offsprings</span> 207 } 227 208 </pre></div> 228 209 <p>Reimplemented from <a class="el" href="classbdm_1_1root.html#a0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> 229 210 230 <p>Reimplemented in <a class="el" href="classbdm_1_1 enorm.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>231 232 <p>References <a class="el" href="bdmbase_8h_source.html#l00 357">bdm::epdf::set_rv()</a>.</p>211 <p>Reimplemented in <a class="el" href="classbdm_1_1mexEpdf.html#af371482ea8d21c8ac01f011b3d942298">bdm::mexEpdf</a>, <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> 212 213 <p>References <a class="el" href="bdmbase_8h_source.html#l00403">bdm::epdf::set_rv()</a>.</p> 233 214 234 215 </div> … … 238 219 </ul> 239 220 </div> 240 <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Aug 30 22:10:512009 for mixpp by 221 <hr size="1"/><address style="text-align: right;"><small>Generated on Tue Sep 8 22:11:33 2009 for mixpp by 241 222 <a href="http://www.doxygen.org/index.html"> 242 223 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>