Show
Ignore:
Timestamp:
06/24/09 21:56:30 (15 years ago)
Author:
smidl
Message:

doc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/doc/html/classbdm_1_1mratio.html

    r396 r397  
    7070<div class="contents"> 
    7171<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">.   
    7575<a href="#_details">More...</a> 
    7676<p> 
     
    113113<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#f0c1db6fcbb3aae2dd6123884457a367">samplecond</a> (const vec &amp;cond)</td></tr> 
    114114 
    115 <tr><td class="mdescLeft">&nbsp;</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">&nbsp;</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> 
    116116<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#afe4185b26baeb03688202e254d3b005">samplecond_m</a> (const vec &amp;cond, int N)</td></tr> 
    117117 
     
    190190<hr><a name="_details"></a><h2>Detailed Description</h2> 
    191191Class 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">.  
    195195<p> 
    196196In particular this type of arise by conditioning of a mixture model.<p> 
     
    229229<p> 
    230230Default 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 
    231232<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 
    232236 
    233237</div> 
     
    279283 
    280284<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">.  
     285Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_11.png">.  
    282286<p> 
    283287<dl compact><dt><b>Parameters:</b></dt><dd> 
     
    289293<p>Reimplemented in <a class="el" href="classbdm_1_1mprod.html#ee715a8013acf9892f6cb489db595555">bdm::mprod</a>.</p> 
    290294 
     295<<<<<<< HEAD:library/doc/html/classbdm_1_1mratio.html 
    291296<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> 
    292297 
    293298<p>Referenced by <a class="el" href="particles_8h_source.html#l00207">bdm::MPF&lt; BM_T &gt;::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&lt; BM_T &gt;::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 
    294304 
    295305</div> 
     
    325335<dl compact><dt><b>Parameters:</b></dt><dd> 
    326336  <table border="0" cellspacing="2" cellpadding="0"> 
    327     <tr><td valign="top"></td><td valign="top"><em>N</em>&nbsp;</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>&nbsp;</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> 
    328338    <tr><td valign="top"></td><td valign="top"><em>cond</em>&nbsp;</td><td>is numeric value of <code>rv</code> </td></tr> 
    329339  </table> 
    330340</dl> 
    331341 
     342<<<<<<< HEAD:library/doc/html/classbdm_1_1mratio.html 
    332343<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 
    333347 
    334348</div> 
     
    337351<li><a class="el" href="emix_8h_source.html">emix.h</a></ul> 
    338352</div> 
     353<<<<<<< HEAD:library/doc/html/classbdm_1_1mratio.html 
    339354<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 24 13:35:52 2009 for mixpp by&nbsp; 
     355======= 
     356<hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 23 19:52:53 2009 for mixpp by&nbsp; 
     357>>>>>>> doc:library/doc/html/classbdm_1_1mratio.html 
    340358<a href="http://www.doxygen.org/index.html"> 
    341359<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>