Changeset 661 for library/doc/html/classbdm_1_1egrid.html
- Timestamp:
- 10/15/09 00:10:19 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/doc/html/classbdm_1_1egrid.html
r656 r661 83 83 <tr><td class="mdescLeft"> </td><td class="mdescRight">we assume that evallog is not called too often otherwise we should cache log(values) <br/></td></tr> 84 84 <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> 85 <tr><td class="mdescLeft"> </td><td class="mdescRight">Load from structure with elements:. <a href="#afa9efc98a065b31c630fe18cc418f725"></a><br/></td></tr>86 85 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::egrid::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> 87 86 virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> … … 117 116 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> 118 117 <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> 119 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adeab266d63c236c277538867d5c3f249"></a><!-- doxytag: member="bdm::egrid::evallog" ref="adeab266d63c236c277538867d5c3f249" args="(const vec &val) const " --> 120 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> 121 <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">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> 122 119 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad08b68a5abd461f1b6519597e344caf8"></a><!-- doxytag: member="bdm::egrid::evallog_m" ref="ad08b68a5abd461f1b6519597e344caf8" args="(const mat &Val) const " --> 123 120 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> … … 142 139 <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> 143 140 <tr><td colspan="2"><div class="groupHeader">Connection to other classes</div></td></tr> 144 <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>141 <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> 145 142 <br/><br/></div></td></tr> 146 143 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af423e28448dbb69ef4905295ec8de8ff"></a><!-- doxytag: member="bdm::egrid::set_rv" ref="af423e28448dbb69ef4905295ec8de8ff" args="(const RV &rv0)" --> … … 161 158 <tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> 162 159 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a15f195f36f489a4856bcb7c56ef50c4c"></a><!-- doxytag: member="bdm::egrid::sup" ref="a15f195f36f489a4856bcb7c56ef50c4c" args="" --> 163 <a class="el" href="classbdm_1_1rectangular__support.html">rectangular_support</a> </td><td class="memItemRight" valign="bottom"><b>sup</b></td></tr> 160 <a class="el" href="classbdm_1_1rectangular__support.html">rectangular_support</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1egrid.html#a15f195f36f489a4856bcb7c56ef50c4c">sup</a></td></tr> 161 <tr><td class="mdescLeft"> </td><td class="mdescRight">support of the pdf - grid <br/></td></tr> 164 162 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6e2bd7bcd849ac8e90cca062eeb4150f"></a><!-- doxytag: member="bdm::egrid::values" ref="a6e2bd7bcd849ac8e90cca062eeb4150f" args="" --> 165 vec </td><td class="memItemRight" valign="bottom"><b>values</b></td></tr> 163 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1egrid.html#a6e2bd7bcd849ac8e90cca062eeb4150f">values</a></td></tr> 164 <tr><td class="mdescLeft"> </td><td class="mdescRight">values at the grid <br/></td></tr> 166 165 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a16adac20ec7fe07e1ea0b27d917788ce"></a><!-- doxytag: member="bdm::egrid::dim" ref="a16adac20ec7fe07e1ea0b27d917788ce" args="" --> 167 166 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a16adac20ec7fe07e1ea0b27d917788ce">dim</a></td></tr> … … 172 171 </table> 173 172 <hr/><h2>Member Function Documentation</h2> 173 <a class="anchor" id="adeab266d63c236c277538867d5c3f249"></a><!-- doxytag: member="bdm::egrid::evallog" ref="adeab266d63c236c277538867d5c3f249" args="(const vec &val) const " --> 174 <div class="memitem"> 175 <div class="memproto"> 176 <table class="memname"> 177 <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, inherited]</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_1MPF_1_1mpfepdf.html#a64823e29b83f15bfcb144126e03f4f3f">bdm::MPF::mpfepdf</a>, <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#l00164">bdm::epdf::evallog_m()</a>, and <a class="el" href="emix_8h_source.html#l00076">bdm::mratio::evallogcond()</a>.</p> 195 196 </div> 197 </div> 174 198 <a class="anchor" id="afa9efc98a065b31c630fe18cc418f725"></a><!-- doxytag: member="bdm::egrid::from_setting" ref="afa9efc98a065b31c630fe18cc418f725" args="(const Setting &set)" --> 175 199 <div class="memitem"> … … 187 211 </div> 188 212 <div class="memdoc"> 189 190 <p>Load from structure with elements:. </p> 191 <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> 192 <span class="comment">// elements of offsprings</span> 193 } 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 } 194 217 </pre></div> 195 218 <p>Reimplemented from <a class="el" href="classbdm_1_1root.html#a0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> … … 205 228 </ul> 206 229 </div> 207 <hr size="1"/><address style="text-align: right;"><small>Generated on Mon Oct 12 19:37:212009 for mixpp by 230 <hr size="1"/><address style="text-align: right;"><small>Generated on Thu Oct 15 00:07:50 2009 for mixpp by 208 231 <a href="http://www.doxygen.org/index.html"> 209 232 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>