Changeset 661 for library/doc/html/classbdm_1_1MPF_1_1mpfepdf.html
- Timestamp:
- 10/15/09 00:10:19 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/doc/html/classbdm_1_1MPF_1_1mpfepdf.html
r656 r661 83 83 <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> 84 84 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9aa9a7e99f913443a88d32365ac3e640"></a><!-- doxytag: member="bdm::MPF::mpfepdf::mpfepdf" ref="a9aa9a7e99f913443a88d32365ac3e640" args="(shared_ptr< PF > &pf0, Array< BM * > &BMs0)" --> 85 </td><td class="memItemRight" valign="bottom"><b>mpfepdf</b> (<a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>< <a class="el" href="classbdm_1_1PF.html">PF</a> > &pf0, Array< <a class="el" href="classbdm_1_1BM.html">BM</a> * > &BMs0)</td></tr> 85 </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MPF_1_1mpfepdf.html#a9aa9a7e99f913443a88d32365ac3e640">mpfepdf</a> (<a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>< <a class="el" href="classbdm_1_1PF.html">PF</a> > &pf0, Array< <a class="el" href="classbdm_1_1BM.html">BM</a> * > &BMs0)</td></tr> 86 <tr><td class="mdescLeft"> </td><td class="mdescRight">constructor <br/></td></tr> 86 87 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a78e10feeacd2b7d1c29c5d1041832828"></a><!-- doxytag: member="bdm::MPF::mpfepdf::read_parameters" ref="a78e10feeacd2b7d1c29c5d1041832828" args="()" --> 87 88 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MPF_1_1mpfepdf.html#a78e10feeacd2b7d1c29c5d1041832828">read_parameters</a> ()</td></tr> … … 99 100 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MPF_1_1mpfepdf.html#a3825c7817ee2b5bf92f12b899fc39863">sample</a> () const </td></tr> 100 101 <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> 101 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a64823e29b83f15bfcb144126e03f4f3f"></a><!-- doxytag: member="bdm::MPF::mpfepdf::evallog" ref="a64823e29b83f15bfcb144126e03f4f3f" args="(const vec &val) const " --> 102 double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MPF_1_1mpfepdf.html#a64823e29b83f15bfcb144126e03f4f3f">evallog</a> (const vec &val) const </td></tr> 103 <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> 102 <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MPF_1_1mpfepdf.html#a64823e29b83f15bfcb144126e03f4f3f">evallog</a> (const vec &val) const </td></tr> 104 103 <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> 105 <tr><td class="mdescLeft"> </td><td class="mdescRight">Load from structure with elements:. <a href="#afa9efc98a065b31c630fe18cc418f725"></a><br/></td></tr>106 104 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::MPF::mpfepdf::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> 107 105 virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> … … 147 145 <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> 148 146 <tr><td colspan="2"><div class="groupHeader">Connection to other classes</div></td></tr> 149 <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>147 <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> 150 148 <br/><br/></div></td></tr> 151 149 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af423e28448dbb69ef4905295ec8de8ff"></a><!-- doxytag: member="bdm::MPF::mpfepdf::set_rv" ref="af423e28448dbb69ef4905295ec8de8ff" args="(const RV &rv0)" --> … … 173 171 </table> 174 172 <hr/><h2>Member Function Documentation</h2> 173 <a class="anchor" id="a64823e29b83f15bfcb144126e03f4f3f"></a><!-- doxytag: member="bdm::MPF::mpfepdf::evallog" ref="a64823e29b83f15bfcb144126e03f4f3f" args="(const vec &val) const " --> 174 <div class="memitem"> 175 <div class="memproto"> 176 <table class="memname"> 177 <tr> 178 <td class="memname">double bdm::MPF::mpfepdf::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 from <a class="el" href="classbdm_1_1epdf.html#adeab266d63c236c277538867d5c3f249">bdm::epdf</a>.</p> 191 192 <p>References <a class="el" href="bdmerror_8h_source.html#l00051">bdm_error</a>.</p> 193 194 </div> 195 </div> 175 196 <a class="anchor" id="afa9efc98a065b31c630fe18cc418f725"></a><!-- doxytag: member="bdm::MPF::mpfepdf::from_setting" ref="afa9efc98a065b31c630fe18cc418f725" args="(const Setting &set)" --> 176 197 <div class="memitem"> … … 188 209 </div> 189 210 <div class="memdoc"> 190 191 <p>Load from structure with elements:. </p> 192 <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> 193 <span class="comment">// elements of offsprings</span> 194 } 211 <p>Load from structure with elements: </p> 212 <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> 213 <span class="comment">// elements of offsprings</span> 214 } 195 215 </pre></div> 196 216 <p>Reimplemented from <a class="el" href="classbdm_1_1root.html#a0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> … … 206 226 </ul> 207 227 </div> 208 <hr size="1"/><address style="text-align: right;"><small>Generated on Mon Oct 12 19:37:212009 for mixpp by 228 <hr size="1"/><address style="text-align: right;"><small>Generated on Thu Oct 15 00:07:49 2009 for mixpp by 209 229 <a href="http://www.doxygen.org/index.html"> 210 230 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>