Show
Ignore:
Timestamp:
02/16/09 10:03:13 (16 years ago)
Author:
smidl
Message:

Next major revision

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/html/classbdm_1_1mprod.html

    r270 r271  
    66</head><body> 
    77<!-- Generated by Doxygen 1.5.6 --> 
     8<script type="text/javascript"> 
     9<!-- 
     10function changeDisplayState (e){ 
     11  var num=this.id.replace(/[^[0-9]/g,''); 
     12  var button=this.firstChild; 
     13  var sectionDiv=document.getElementById('dynsection'+num); 
     14  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ 
     15    sectionDiv.style.display='block'; 
     16    button.src='open.gif'; 
     17  }else{ 
     18    sectionDiv.style.display='none'; 
     19    button.src='closed.gif'; 
     20  } 
     21} 
     22function initDynSections(){ 
     23  var divs=document.getElementsByTagName('div'); 
     24  var sectionCounter=1; 
     25  for(var i=0;i<divs.length-1;i++){ 
     26    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ 
     27      var header=divs[i]; 
     28      var section=divs[i+1]; 
     29      var button=header.firstChild; 
     30      if (button!='IMG'){ 
     31        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); 
     32        button=document.createElement('img'); 
     33        divs[i].insertBefore(button,divs[i].firstChild); 
     34      } 
     35      header.style.cursor='pointer'; 
     36      header.onclick=changeDisplayState; 
     37      header.id='dynheader'+sectionCounter; 
     38      button.src='closed.gif'; 
     39      section.id='dynsection'+sectionCounter; 
     40      section.style.display='none'; 
     41      section.style.marginLeft='14px'; 
     42      sectionCounter++; 
     43    } 
     44  } 
     45} 
     46window.onload = initDynSections; 
     47--> 
     48</script> 
    849<div class="navigation" id="top"> 
    950  <div class="tabs"> 
    1051    <ul> 
    11       <li><a href="index.html"><span>Main&nbsp;Page</span></a></li> 
     52      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li> 
    1253      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li> 
    1354      <li><a href="modules.html"><span>Modules</span></a></li> 
    14       <li><a href="namespaces.html"><span>Namespaces</span></a></li> 
    1555      <li class="current"><a href="classes.html"><span>Classes</span></a></li> 
    1656      <li><a href="files.html"><span>Files</span></a></li> 
     
    2565    </ul> 
    2666  </div> 
    27   <div class="navpath"><a class="el" href="namespacebdm.html">bdm</a>::<a class="el" href="classbdm_1_1mprod.html">mprod</a> 
     67  <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1mprod.html">mprod</a> 
    2868  </div> 
    2969</div> 
     
    3474Inheritance diagram for bdm::mprod:</div> 
    3575<div class="dynsection"> 
    36 <p><center><img src="classbdm_1_1mprod__inherit__graph.png" border="0" usemap="#bdm_1_1mprod__inherit__map" alt="Inheritance graph"></center> 
    37 <map name="bdm_1_1mprod__inherit__map"> 
    38 <area shape="rect" href="classbdm_1_1compositepdf.html" title="Abstract composition of pdfs, will be used for specific classes this abstract class..." alt="" coords="5,84,149,111"><area shape="rect" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="173,84,264,111"><area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="163,7,275,33"></map> 
    39 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 
     76 
     77<p><center><img src="classbdm_1_1mprod.png" usemap="#bdm::mprod_map" border="0" alt=""></center> 
     78<map name="bdm::mprod_map"> 
     79<area href="classbdm_1_1compositepdf.html" alt="bdm::compositepdf" shape="rect" coords="0,56,115,80"> 
     80<area href="classbdm_1_1mpdf.html" alt="bdm::mpdf" shape="rect" coords="125,56,240,80"> 
     81<area href="classbdm_1_1bdmroot.html" alt="bdm::bdmroot" shape="rect" coords="125,0,240,24"> 
     82</map> 
     83</div> 
    4084 
    4185<p> 
     
    5498 
    5599<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Shortcut for conditioning and evaluation of the internal <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>. In some cases, this operation can be implemented efficiently. <br></td></tr> 
    56 <tr><td class="memItemLeft" nowrap align="right" valign="top">vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mprod.html#1a37c2aaba8bde7fce5351c39b6e1168">samplecond</a> (const vec &amp;cond, double &amp;ll)</td></tr> 
    57  
    58 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b493b5565dc6a5617927421d32697cc6"></a><!-- doxytag: member="bdm::mprod::samplecond" ref="b493b5565dc6a5617927421d32697cc6" args="(const vec &amp;cond, vec &amp;ll, int N)" --> 
    59 mat&nbsp;</td><td class="memItemRight" valign="bottom"><b>samplecond</b> (const vec &amp;cond, vec &amp;ll, int N)</td></tr> 
     100<tr><td class="memItemLeft" nowrap align="right" valign="top">vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mprod.html#ee715a8013acf9892f6cb489db595555">samplecond</a> (const vec &amp;cond)</td></tr> 
     101 
     102<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_10.png">.  <a href="#ee715a8013acf9892f6cb489db595555"></a><br></td></tr> 
     103<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d193dcc89fbc6f21979e0ced6d84568c"></a><!-- doxytag: member="bdm::mprod::samplecond" ref="d193dcc89fbc6f21979e0ced6d84568c" args="(const vec &amp;cond, int N)" --> 
     104mat&nbsp;</td><td class="memItemRight" valign="bottom"><b>samplecond</b> (const vec &amp;cond, int N)</td></tr> 
    60105 
    61106<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1compositepdf.html#c73d39acc4378eee6a63155c3517d3c9">getrv</a> (bool checkoverlap=false)</td></tr> 
     
    67112<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">common rvc of all mpdfs is written to rvc <br></td></tr> 
    68113<tr><td colspan="2"><div class="groupHeader">Matematical operations</div></td></tr> 
    69 <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> 
    70  
    71 <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_10.png">.  <a href="#f0c1db6fcbb3aae2dd6123884457a367"></a><br></td></tr> 
    72114<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> 
    73115 
     
    114156Array&lt; <a class="el" href="classbdm_1_1epdf.html">epdf</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mprod.html#eca722ed1b219727c6c0f8cbc6bf1e51">epdfs</a></td></tr> 
    115157 
    116 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">pointers to epdfs - shortcut to <a class="el" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs()</a>._epdf() <br></td></tr> 
     158<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">pointers to epdfs - shortcut to <a class="el" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs()</a>.posterior() <br></td></tr> 
    117159<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="acf679b3b1d48629c5a042d9ac0d973f"></a><!-- doxytag: member="bdm::mprod::dls" ref="acf679b3b1d48629c5a042d9ac0d973f" args="" --> 
    118160Array&lt; <a class="el" href="classbdm_1_1datalink__m2m.html">datalink_m2m</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mprod.html#acf679b3b1d48629c5a042d9ac0d973f">dls</a></td></tr> 
    119161 
    120162<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Data link for each mpdfs. <br></td></tr> 
     163<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e3fe66c257e5eca9de1031ef44907677"></a><!-- doxytag: member="bdm::mprod::dummy" ref="e3fe66c257e5eca9de1031ef44907677" args="" --> 
     164<a class="el" href="classbdm_1_1epdf.html">epdf</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mprod.html#e3fe66c257e5eca9de1031ef44907677">dummy</a></td></tr> 
     165 
     166<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dummy ep <br></td></tr> 
    121167<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7ca3cd8ed92a7154f5b9ff13b1e9d52a"></a><!-- doxytag: member="bdm::mprod::n" ref="7ca3cd8ed92a7154f5b9ff13b1e9d52a" args="" --> 
    122168int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a">n</a></td></tr> 
     
    141187</table> 
    142188<hr><h2>Member Function Documentation</h2> 
    143 <a class="anchor" name="1a37c2aaba8bde7fce5351c39b6e1168"></a><!-- doxytag: member="bdm::mprod::samplecond" ref="1a37c2aaba8bde7fce5351c39b6e1168" args="(const vec &amp;cond, double &amp;ll)" --> 
     189<a class="anchor" name="ee715a8013acf9892f6cb489db595555"></a><!-- doxytag: member="bdm::mprod::samplecond" ref="ee715a8013acf9892f6cb489db595555" args="(const vec &amp;cond)" --> 
    144190<div class="memitem"> 
    145191<div class="memproto"> 
     
    149195          <td>(</td> 
    150196          <td class="paramtype">const vec &amp;&nbsp;</td> 
    151           <td class="paramname"> <em>cond</em>, </td> 
    152         </tr> 
    153         <tr> 
    154           <td class="paramkey"></td> 
    155           <td></td> 
    156           <td class="paramtype">double &amp;&nbsp;</td> 
    157           <td class="paramname"> <em>ll</em></td><td>&nbsp;</td> 
    158         </tr> 
    159         <tr> 
    160           <td></td> 
    161           <td>)</td> 
    162           <td></td><td></td><td><code> [inline]</code></td> 
     197          <td class="paramname"> <em>cond</em>          </td> 
     198          <td>&nbsp;)&nbsp;</td> 
     199          <td><code> [inline, virtual]</code></td> 
    163200        </tr> 
    164201      </table> 
     
    167204 
    168205<p> 
    169  
    170 <p> 
    171 Ugly hack to help to discover if mpfs are not in proper order. Correct solution = check that explicitely.  
    172 <p>References <a class="el" href="libBM_8h-source.html#l00272">bdm::epdf::dimension()</a>, <a class="el" href="emix_8h-source.html#l00168">dls</a>, <a class="el" href="libBM_8h-source.html#l00288">bdm::mpdf::ep</a>, <a class="el" href="emix_8h-source.html#l00166">epdfs</a>, <a class="el" href="libBM_8h-source.html#l00508">bdm::compositepdf::mpdfs</a>, and <a class="el" href="libBM_8h-source.html#l00506">bdm::compositepdf::n</a>.</p> 
     206Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_10.png">.  
     207<p> 
     208<dl compact><dt><b>Parameters:</b></dt><dd> 
     209  <table border="0" cellspacing="2" cellpadding="0"> 
     210    <tr><td valign="top"></td><td valign="top"><em>cond</em>&nbsp;</td><td>is numeric value of <code>rv</code> </td></tr> 
     211  </table> 
     212</dl> 
     213 
     214<p>Reimplemented from <a class="el" href="classbdm_1_1mpdf.html#f0c1db6fcbb3aae2dd6123884457a367">bdm::mpdf</a>.</p> 
     215 
     216<p>References <a class="el" href="libBM_8h-source.html#l00281">bdm::epdf::dimension()</a>, <a class="el" href="emix_8h-source.html#l00168">dls</a>, <a class="el" href="libBM_8h-source.html#l00297">bdm::mpdf::ep</a>, <a class="el" href="emix_8h-source.html#l00166">epdfs</a>, <a class="el" href="libBM_8h-source.html#l00528">bdm::compositepdf::mpdfs</a>, and <a class="el" href="libBM_8h-source.html#l00526">bdm::compositepdf::n</a>.</p> 
    173217 
    174218</div> 
     
    199243</dl> 
    200244 
    201 <p>References <a class="el" href="libBM_8cpp-source.html#l00059">bdm::RV::add()</a>, <a class="el" href="libBM_8h-source.html#l00508">bdm::compositepdf::mpdfs</a>, and <a class="el" href="libBM_8h-source.html#l00506">bdm::compositepdf::n</a>.</p> 
    202  
    203 </div> 
    204 </div><p> 
    205 <a class="anchor" name="f0c1db6fcbb3aae2dd6123884457a367"></a><!-- doxytag: member="bdm::mprod::samplecond" ref="f0c1db6fcbb3aae2dd6123884457a367" args="(const vec &amp;cond)" --> 
    206 <div class="memitem"> 
    207 <div class="memproto"> 
    208       <table class="memname"> 
    209         <tr> 
    210           <td class="memname">virtual vec bdm::mpdf::samplecond           </td> 
    211           <td>(</td> 
    212           <td class="paramtype">const vec &amp;&nbsp;</td> 
    213           <td class="paramname"> <em>cond</em>          </td> 
    214           <td>&nbsp;)&nbsp;</td> 
    215           <td><code> [inline, virtual, inherited]</code></td> 
    216         </tr> 
    217       </table> 
    218 </div> 
    219 <div class="memdoc"> 
    220  
    221 <p> 
    222 Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_10.png">.  
    223 <p> 
    224 <dl compact><dt><b>Parameters:</b></dt><dd> 
    225   <table border="0" cellspacing="2" cellpadding="0"> 
    226     <tr><td valign="top"></td><td valign="top"><em>cond</em>&nbsp;</td><td>is numeric value of <code>rv</code> </td></tr> 
    227   </table> 
    228 </dl> 
    229  
    230 <p>References <a class="el" href="libBM_8h-source.html#l00315">bdm::mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00288">bdm::mpdf::ep</a>, and <a class="el" href="classbdm_1_1epdf.html#09721eb148bc49d6ec2f1956039f3a10">bdm::epdf::sample()</a>.</p> 
    231  
    232 <p>Referenced by <a class="el" href="libPF_8h-source.html#l00143">bdm::MPF&lt; BM_T &gt;::bayes()</a>, <a class="el" href="libPF_8cpp-source.html#l00007">bdm::PF::bayes()</a>, and <a class="el" href="libDS_8cpp-source.html#l00044">bdm::ArxDS::step()</a>.</p> 
     245<p>References <a class="el" href="libBM_8cpp-source.html#l00069">bdm::RV::add()</a>, <a class="el" href="libBM_8h-source.html#l00528">bdm::compositepdf::mpdfs</a>, and <a class="el" href="libBM_8h-source.html#l00526">bdm::compositepdf::n</a>.</p> 
     246 
     247<p>Referenced by <a class="el" href="emix_8h-source.html#l00174">mprod()</a>.</p> 
    233248 
    234249</div> 
     
    270285</dl> 
    271286 
    272 <p>References <a class="el" href="libBM_8h-source.html#l00315">bdm::mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00272">bdm::epdf::dimension()</a>, <a class="el" href="libBM_8h-source.html#l00288">bdm::mpdf::ep</a>, and <a class="el" href="classbdm_1_1epdf.html#09721eb148bc49d6ec2f1956039f3a10">bdm::epdf::sample()</a>.</p> 
     287<p>References <a class="el" href="libBM_8h-source.html#l00324">bdm::mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00281">bdm::epdf::dimension()</a>, <a class="el" href="libBM_8h-source.html#l00297">bdm::mpdf::ep</a>, and <a class="el" href="libBM_8h-source.html#l00242">bdm::epdf::sample()</a>.</p> 
    273288 
    274289</div> 
     
    277292<li><a class="el" href="emix_8h-source.html">emix.h</a></ul> 
    278293</div> 
    279 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 11 23:34:03 2009 for mixpp by&nbsp; 
     294<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 15 23:09:41 2009 for mixpp by&nbsp; 
    280295<a href="http://www.doxygen.org/index.html"> 
    281296<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>