Changeset 354 for doc/html/classbdm_1_1mratio.html
- Timestamp:
- 06/02/09 10:24:26 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/classbdm_1_1mratio.html
r353 r354 70 70 <div class="contents"> 71 71 <h1>bdm::mratio Class Reference</h1><!-- doxytag: class="bdm::mratio" --><!-- doxytag: inherits="bdm::mpdf" -->Class representing ratio of two densities which arise e.g. by applying the Bayes rule. It represents density in the form: <p class="formulaDsp"> 72 <img class="formulaDsp" alt="\[ f(rv|rvc) = \frac{f(rv,rvc)}{f(rvc)} \]" src="form_3 6.png">73 <p> 74 where <img class="formulaInl" alt="$ f(rvc) = \int f(rv,rvc) d\ rv $" src="form_3 7.png">.72 <img class="formulaDsp" alt="\[ f(rv|rvc) = \frac{f(rv,rvc)}{f(rvc)} \]" src="form_35.png"> 73 <p> 74 where <img class="formulaInl" alt="$ f(rvc) = \int f(rv,rvc) d\ rv $" src="form_36.png">. 75 75 <a href="#_details">More...</a> 76 76 <p> … … 104 104 105 105 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method arrange instance properties according the data stored in the Setting structure. <br></td></tr> 106 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" a80210bbe266bf26f100f342460a313f"></a><!-- doxytag: member="bdm::mratio::to_setting" ref="a80210bbe266bf26f100f342460a313f" args="(Setting &root)" -->107 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bdmroot.html# a80210bbe266bf26f100f342460a313f">to_setting</a> (Setting &root)</td></tr>106 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dd74cb898b22b95b7ee528e040a07618"></a><!-- doxytag: member="bdm::mratio::to_setting" ref="dd74cb898b22b95b7ee528e040a07618" args="(Setting &root) const " --> 107 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bdmroot.html#dd74cb898b22b95b7ee528e040a07618">to_setting</a> (Setting &root) const </td></tr> 108 108 109 109 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr> … … 111 111 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#f0c1db6fcbb3aae2dd6123884457a367">samplecond</a> (const vec &cond)</td></tr> 112 112 113 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_ 50.png">. <a href="#f0c1db6fcbb3aae2dd6123884457a367"></a><br></td></tr>113 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_49.png">. <a href="#f0c1db6fcbb3aae2dd6123884457a367"></a><br></td></tr> 114 114 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#afe4185b26baeb03688202e254d3b005">samplecond_m</a> (const vec &cond, int N)</td></tr> 115 115 … … 184 184 <hr><a name="_details"></a><h2>Detailed Description</h2> 185 185 Class representing ratio of two densities which arise e.g. by applying the Bayes rule. It represents density in the form: <p class="formulaDsp"> 186 <img class="formulaDsp" alt="\[ f(rv|rvc) = \frac{f(rv,rvc)}{f(rvc)} \]" src="form_3 6.png">187 <p> 188 where <img class="formulaInl" alt="$ f(rvc) = \int f(rv,rvc) d\ rv $" src="form_3 7.png">.186 <img class="formulaDsp" alt="\[ f(rv|rvc) = \frac{f(rv,rvc)}{f(rvc)} \]" src="form_35.png"> 187 <p> 188 where <img class="formulaInl" alt="$ f(rvc) = \int f(rv,rvc) d\ rv $" src="form_36.png">. 189 189 <p> 190 190 In particular this type of arise by conditioning of a mixture model.<p> … … 223 223 <p> 224 224 Default constructor. By default, the given <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> is not copied! It is assumed that this function will be used only temporarily. 225 <p>References <a class="el" href="libBM_8h-source.html#l0014 5">bdm::RV::_dsize()</a>, <a class="el" href="libBM_8h-source.html#l00302">bdm::epdf::_rv()</a>, <a class="el" href="emix_8h-source.html#l00043">den</a>, <a class="el" href="emix_8h-source.html#l00045">destroynom</a>, <a class="el" href="libBM_8h-source.html#l00321">bdm::mpdf::dimc</a>, <a class="el" href="emix_8h-source.html#l00047">dl</a>, <a class="el" href="libBM_8h-source.html#l00325">bdm::mpdf::ep</a>, <a class="el" href="itassert_8h-source.html#l00107">it_assert_debug</a>, <a class="el" href="itassert_8h-source.html#l00126">it_error</a>, <a class="el" href="libBM_8h-source.html#l00149">bdm::RV::length()</a>, <a class="el" href="libBM_8h-source.html#l00279">bdm::epdf::marginal()</a>, <a class="el" href="emix_8h-source.html#l00041">nom</a>, <a class="el" href="libBM_8h-source.html#l00323">bdm::mpdf::rvc</a>, <a class="el" href="libBM_8h-source.html#l00460">bdm::datalink_m2e::set_connection()</a>, <a class="el" href="libBM_8h-source.html#l00258">bdm::epdf::set_parameters()</a>, <a class="el" href="libBM_8h-source.html#l00298">bdm::epdf::set_rv()</a>, and <a class="el" href="libBM_8cpp-source.html#l00194">bdm::RV::subt()</a>.</p>225 <p>References <a class="el" href="libBM_8h-source.html#l00146">bdm::RV::_dsize()</a>, <a class="el" href="libBM_8h-source.html#l00303">bdm::epdf::_rv()</a>, <a class="el" href="emix_8h-source.html#l00043">den</a>, <a class="el" href="emix_8h-source.html#l00045">destroynom</a>, <a class="el" href="libBM_8h-source.html#l00322">bdm::mpdf::dimc</a>, <a class="el" href="emix_8h-source.html#l00047">dl</a>, <a class="el" href="libBM_8h-source.html#l00326">bdm::mpdf::ep</a>, <a class="el" href="libBM_8h-source.html#l00150">bdm::RV::length()</a>, <a class="el" href="libBM_8h-source.html#l00280">bdm::epdf::marginal()</a>, <a class="el" href="emix_8h-source.html#l00041">nom</a>, <a class="el" href="libBM_8h-source.html#l00324">bdm::mpdf::rvc</a>, <a class="el" href="libBM_8h-source.html#l00461">bdm::datalink_m2e::set_connection()</a>, <a class="el" href="libBM_8h-source.html#l00259">bdm::epdf::set_parameters()</a>, <a class="el" href="libBM_8h-source.html#l00299">bdm::epdf::set_rv()</a>, and <a class="el" href="libBM_8cpp-source.html#l00194">bdm::RV::subt()</a>.</p> 226 226 227 227 </div> … … 245 245 246 246 <p> 247 Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_ 50.png">.247 Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_49.png">. 248 248 <p> 249 249 <dl compact><dt><b>Parameters:</b></dt><dd> … … 255 255 <p>Reimplemented in <a class="el" href="classbdm_1_1mprod.html#ee715a8013acf9892f6cb489db595555">bdm::mprod</a>.</p> 256 256 257 <p>References <a class="el" href="libBM_8h-source.html#l0035 2">bdm::mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00325">bdm::mpdf::ep</a>, and <a class="el" href="libBM_8h-source.html#l00265">bdm::epdf::sample()</a>.</p>257 <p>References <a class="el" href="libBM_8h-source.html#l00353">bdm::mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00326">bdm::mpdf::ep</a>, and <a class="el" href="libBM_8h-source.html#l00266">bdm::epdf::sample()</a>.</p> 258 258 259 259 <p>Referenced by <a class="el" href="libPF_8h-source.html#l00207">bdm::MPF< BM_T >::bayes()</a>, <a class="el" href="libPF_8cpp-source.html#l00007">bdm::PF::bayes()</a>, and <a class="el" href="libDS_8cpp-source.html#l00042">bdm::ArxDS::step()</a>.</p> … … 291 291 <dl compact><dt><b>Parameters:</b></dt><dd> 292 292 <table border="0" cellspacing="2" cellpadding="0"> 293 <tr><td valign="top"></td><td valign="top"><em>N</em> </td><td>samples from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_ 50.png">. </td></tr>293 <tr><td valign="top"></td><td valign="top"><em>N</em> </td><td>samples from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_49.png">. </td></tr> 294 294 <tr><td valign="top"></td><td valign="top"><em>cond</em> </td><td>is numeric value of <code>rv</code> </td></tr> 295 295 </table> 296 296 </dl> 297 297 298 <p>References <a class="el" href="libBM_8h-source.html#l0035 2">bdm::mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00309">bdm::epdf::dimension()</a>, <a class="el" href="libBM_8h-source.html#l00325">bdm::mpdf::ep</a>, and <a class="el" href="libBM_8h-source.html#l00265">bdm::epdf::sample()</a>.</p>298 <p>References <a class="el" href="libBM_8h-source.html#l00353">bdm::mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00310">bdm::epdf::dimension()</a>, <a class="el" href="libBM_8h-source.html#l00326">bdm::mpdf::ep</a>, and <a class="el" href="libBM_8h-source.html#l00266">bdm::epdf::sample()</a>.</p> 299 299 300 300 </div> … … 303 303 <li><a class="el" href="emix_8h-source.html">emix.h</a></ul> 304 304 </div> 305 <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10: 02:182009 for mixpp by 305 <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:11:01 2009 for mixpp by 306 306 <a href="http://www.doxygen.org/index.html"> 307 307 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>