Changeset 397 for library/doc/html/classbdm_1_1mratio.html
- Timestamp:
- 06/24/09 21:56:30 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/doc/html/classbdm_1_1mratio.html
r396 r397 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_ 35.png">73 <p> 74 where <img class="formulaInl" alt="$ f(rvc) = \int f(rv,rvc) d\ rv $" src="form_ 36.png">.72 <img class="formulaDsp" alt="\[ f(rv|rvc) = \frac{f(rv,rvc)}{f(rvc)} \]" src="form_62.png"> 73 <p> 74 where <img class="formulaInl" alt="$ f(rvc) = \int f(rv,rvc) d\ rv $" src="form_63.png">. 75 75 <a href="#_details">More...</a> 76 76 <p> … … 113 113 <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> 114 114 115 <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>115 <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_11.png">. <a href="#f0c1db6fcbb3aae2dd6123884457a367"></a><br></td></tr> 116 116 <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> 117 117 … … 190 190 <hr><a name="_details"></a><h2>Detailed Description</h2> 191 191 Class representing ratio of two densities which arise e.g. by applying the Bayes rule. It represents density in the form: <p class="formulaDsp"> 192 <img class="formulaDsp" alt="\[ f(rv|rvc) = \frac{f(rv,rvc)}{f(rvc)} \]" src="form_ 35.png">193 <p> 194 where <img class="formulaInl" alt="$ f(rvc) = \int f(rv,rvc) d\ rv $" src="form_ 36.png">.192 <img class="formulaDsp" alt="\[ f(rv|rvc) = \frac{f(rv,rvc)}{f(rvc)} \]" src="form_62.png"> 193 <p> 194 where <img class="formulaInl" alt="$ f(rvc) = \int f(rv,rvc) d\ rv $" src="form_63.png">. 195 195 <p> 196 196 In particular this type of arise by conditioning of a mixture model.<p> … … 229 229 <p> 230 230 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. 231 <<<<<<< HEAD:library/doc/html/classbdm_1_1mratio.html 231 232 <p>References <a class="el" href="bdmbase_8h_source.html#l00311">bdm::epdf::_rv()</a>, <a class="el" href="emix_8h_source.html#l00041">den</a>, <a class="el" href="emix_8h_source.html#l00043">destroynom</a>, <a class="el" href="bdmbase_8h_source.html#l00344">bdm::mpdf::dimc</a>, <a class="el" href="emix_8h_source.html#l00045">dl</a>, <a class="el" href="bdmbase_8h_source.html#l00348">bdm::mpdf::ep</a>, <a class="el" href="bdmbase_8h_source.html#l00284">bdm::epdf::marginal()</a>, <a class="el" href="emix_8h_source.html#l00039">nom</a>, <a class="el" href="bdmbase_8h_source.html#l00346">bdm::mpdf::rvc</a>, <a class="el" href="bdmbase_8h_source.html#l00512">bdm::datalink_m2e::set_connection()</a>, <a class="el" href="bdmbase_8h_source.html#l00307">bdm::epdf::set_rv()</a>, and <a class="el" href="bdmbase_8cpp_source.html#l00193">bdm::RV::subt()</a>.</p> 233 ======= 234 <p>References <a class="el" href="bdmbase_8h-source.html#l00123">bdm::RV::_dsize()</a>, <a class="el" href="bdmbase_8h-source.html#l00311">bdm::epdf::_rv()</a>, <a class="el" href="emix_8h-source.html#l00041">den</a>, <a class="el" href="emix_8h-source.html#l00043">destroynom</a>, <a class="el" href="bdmbase_8h-source.html#l00344">bdm::mpdf::dimc</a>, <a class="el" href="emix_8h-source.html#l00045">dl</a>, <a class="el" href="bdmbase_8h-source.html#l00348">bdm::mpdf::ep</a>, <a class="el" href="bdmbase_8h-source.html#l00127">bdm::RV::length()</a>, <a class="el" href="bdmbase_8h-source.html#l00284">bdm::epdf::marginal()</a>, <a class="el" href="emix_8h-source.html#l00039">nom</a>, <a class="el" href="bdmbase_8h-source.html#l00346">bdm::mpdf::rvc</a>, <a class="el" href="bdmbase_8h-source.html#l00512">bdm::datalink_m2e::set_connection()</a>, <a class="el" href="bdmbase_8h-source.html#l00256">bdm::epdf::set_parameters()</a>, <a class="el" href="bdmbase_8h-source.html#l00307">bdm::epdf::set_rv()</a>, and <a class="el" href="bdmbase_8cpp-source.html#l00193">bdm::RV::subt()</a>.</p> 235 >>>>>>> doc:library/doc/html/classbdm_1_1mratio.html 232 236 233 237 </div> … … 279 283 280 284 <p> 281 Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_ 49.png">.285 Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_11.png">. 282 286 <p> 283 287 <dl compact><dt><b>Parameters:</b></dt><dd> … … 289 293 <p>Reimplemented in <a class="el" href="classbdm_1_1mprod.html#ee715a8013acf9892f6cb489db595555">bdm::mprod</a>.</p> 290 294 295 <<<<<<< HEAD:library/doc/html/classbdm_1_1mratio.html 291 296 <p>References <a class="el" href="bdmbase_8h_source.html#l00376">bdm::mpdf::condition()</a>, <a class="el" href="bdmbase_8h_source.html#l00348">bdm::mpdf::ep</a>, and <a class="el" href="bdmbase_8h_source.html#l00263">bdm::epdf::sample()</a>.</p> 292 297 293 298 <p>Referenced by <a class="el" href="particles_8h_source.html#l00207">bdm::MPF< BM_T >::bayes()</a>, <a class="el" href="particles_8cpp_source.html#l00007">bdm::PF::bayes()</a>, and <a class="el" href="datasources_8cpp_source.html#l00043">bdm::ArxDS::step()</a>.</p> 299 ======= 300 <p>References <a class="el" href="bdmbase_8h-source.html#l00376">bdm::mpdf::condition()</a>, <a class="el" href="bdmbase_8h-source.html#l00348">bdm::mpdf::ep</a>, and <a class="el" href="bdmbase_8h-source.html#l00263">bdm::epdf::sample()</a>.</p> 301 302 <p>Referenced by <a class="el" href="particles_8h-source.html#l00207">bdm::MPF< BM_T >::bayes()</a>, <a class="el" href="particles_8cpp-source.html#l00007">bdm::PF::bayes()</a>, and <a class="el" href="datasources_8cpp-source.html#l00043">bdm::ArxDS::step()</a>.</p> 303 >>>>>>> doc:library/doc/html/classbdm_1_1mratio.html 294 304 295 305 </div> … … 325 335 <dl compact><dt><b>Parameters:</b></dt><dd> 326 336 <table border="0" cellspacing="2" cellpadding="0"> 327 <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>337 <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_11.png">. </td></tr> 328 338 <tr><td valign="top"></td><td valign="top"><em>cond</em> </td><td>is numeric value of <code>rv</code> </td></tr> 329 339 </table> 330 340 </dl> 331 341 342 <<<<<<< HEAD:library/doc/html/classbdm_1_1mratio.html 332 343 <p>References <a class="el" href="bdmbase_8h_source.html#l00376">bdm::mpdf::condition()</a>, <a class="el" href="bdmbase_8h_source.html#l00318">bdm::epdf::dimension()</a>, <a class="el" href="bdmbase_8h_source.html#l00348">bdm::mpdf::ep</a>, and <a class="el" href="bdmbase_8h_source.html#l00263">bdm::epdf::sample()</a>.</p> 344 ======= 345 <p>References <a class="el" href="bdmbase_8h-source.html#l00376">bdm::mpdf::condition()</a>, <a class="el" href="bdmbase_8h-source.html#l00318">bdm::epdf::dimension()</a>, <a class="el" href="bdmbase_8h-source.html#l00348">bdm::mpdf::ep</a>, and <a class="el" href="bdmbase_8h-source.html#l00263">bdm::epdf::sample()</a>.</p> 346 >>>>>>> doc:library/doc/html/classbdm_1_1mratio.html 333 347 334 348 </div> … … 337 351 <li><a class="el" href="emix_8h_source.html">emix.h</a></ul> 338 352 </div> 353 <<<<<<< HEAD:library/doc/html/classbdm_1_1mratio.html 339 354 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 24 13:35:52 2009 for mixpp by 355 ======= 356 <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 23 19:52:53 2009 for mixpp by 357 >>>>>>> doc:library/doc/html/classbdm_1_1mratio.html 340 358 <a href="http://www.doxygen.org/index.html"> 341 359 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>