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

Next major revision

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/html/classbdm_1_1epdf.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_1epdf.html">epdf</a> 
     67  <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1epdf.html">epdf</a> 
    2868  </div> 
    2969</div> 
     
    3474Inheritance diagram for bdm::epdf:</div> 
    3575<div class="dynsection"> 
    36 <p><center><img src="classbdm_1_1epdf__inherit__graph.png" border="0" usemap="#bdm_1_1epdf__inherit__map" alt="Inheritance graph"></center> 
    37 <map name="bdm_1_1epdf__inherit__map"> 
    38 <area shape="rect" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density." alt="" coords="375,183,455,209"><area shape="rect" href="classbdm_1_1eEmp.html" title="Weighted empirical density." alt="" coords="367,233,463,260"><area shape="rect" href="classbdm_1_1emix.html" title="Mixture of epdfs." alt="" coords="371,284,459,311"><area shape="rect" href="classbdm_1_1eprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod." alt="" coords="367,335,463,361"><area shape="rect" href="classbdm_1_1euni.html" title="Uniform distributed density on a rectangular support." alt="" coords="372,385,457,412"><area shape="rect" href="classbdm_1_1merger.html" title="Function for general combination of pdfs." alt="" coords="363,436,467,463"><area shape="rect" title="internal class for MPDF providing composition of eEmp with external components" alt="" coords="311,487,519,513"><area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="7,335,119,361"><area shape="rect" href="classbdm_1_1eDirich.html" title="Dirichlet posterior density." alt="" coords="600,5,701,32"><area shape="rect" href="classbdm_1_1egamma.html" title="Gamma posterior density." alt="" coords="593,56,708,83"><area shape="rect" href="classbdm_1_1egiw.html" title="Gauss&#45;inverse&#45;Wishart density stored in LD form." alt="" coords="608,107,693,133"><area shape="rect" href="classbdm_1_1eigamma.html" title="Inverse&#45;Gamma posterior density." alt="" coords="591,157,711,184"><area shape="rect" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="571,276,731,303"><area shape="rect" href="classbdm_1_1enorm.html" title="bdm::enorm\&lt; ldmat \&gt;" alt="" coords="857,233,1025,260"><area shape="rect" href="classbdm_1_1enorm.html" title="bdm::enorm\&lt; chmat \&gt;" alt="" coords="856,307,1027,333"><area shape="rect" href="classbdm_1_1enorm.html" title="bdm::enorm\&lt; fsqmat \&gt;" alt="" coords="853,401,1029,428"></map> 
    39 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 
     76 
     77<p><center><img src="classbdm_1_1epdf.png" usemap="#bdm::epdf_map" border="0" alt=""></center> 
     78<map name="bdm::epdf_map"> 
     79<area href="classbdm_1_1bdmroot.html" alt="bdm::bdmroot" shape="rect" coords="362,0,497,24"> 
     80<area href="classbdm_1_1eEF.html" alt="bdm::eEF" shape="rect" coords="0,112,135,136"> 
     81<area href="classbdm_1_1eEmp.html" alt="bdm::eEmp" shape="rect" coords="145,112,280,136"> 
     82<area href="classbdm_1_1emix.html" alt="bdm::emix" shape="rect" coords="290,112,425,136"> 
     83<area href="classbdm_1_1eprod.html" alt="bdm::eprod" shape="rect" coords="435,112,570,136"> 
     84<area href="classbdm_1_1euni.html" alt="bdm::euni" shape="rect" coords="580,112,715,136"> 
     85<area href="classbdm_1_1merger.html" alt="bdm::merger" shape="rect" coords="725,112,860,136"> 
     86<area href="classbdm_1_1eDirich.html" alt="bdm::eDirich" shape="rect" coords="145,168,280,192"> 
     87<area href="classbdm_1_1egamma.html" alt="bdm::egamma" shape="rect" coords="145,224,280,248"> 
     88<area href="classbdm_1_1egiw.html" alt="bdm::egiw" shape="rect" coords="145,280,280,304"> 
     89<area href="classbdm_1_1eigamma.html" alt="bdm::eigamma" shape="rect" coords="145,336,280,360"> 
     90<area href="classbdm_1_1enorm.html" alt="bdm::enorm< sq_T >" shape="rect" coords="145,392,280,416"> 
     91<area href="classbdm_1_1enorm.html" alt="bdm::enorm< chmat >" shape="rect" coords="145,448,280,472"> 
     92<area href="classbdm_1_1enorm.html" alt="bdm::enorm< fsqmat >" shape="rect" coords="145,504,280,528"> 
     93<area href="classbdm_1_1enorm.html" alt="bdm::enorm< ldmat >" shape="rect" coords="145,560,280,584"> 
     94</map> 
     95</div> 
    4096 
    4197<p> 
     
    47103<tr><td colspan="2"><div class="groupText">Construction of each <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> should support two types of constructors: <ul> 
    48104<li>empty constructor, </li> 
    49 <li>copy constructor, </li> 
    50 <li>constructor followed by calling <code>set_parameters</code> for convenience.</li> 
     105<li>copy constructor,</li> 
     106</ul> 
     107The following constructors should be supported for convenience: <ul> 
     108<li>constructor followed by calling <code>set_parameters()</code> </li> 
     109<li>constructor accepting random variables calling <code><a class="el" href="classbdm_1_1epdf.html#f423e28448dbb69ef4905295ec8de8ff" title="Name its rv.">set_rv()</a></code> </li> 
    51110</ul> 
    52111All internal data structures are constructed as empty. Their values (including sizes) will be set by method <code>set_parameters()</code>. This way references can be initialized in constructors. <br><br></div></td></tr> 
     
    57116&nbsp;</td><td class="memItemRight" valign="bottom"><b>epdf</b> (const <a class="el" href="classbdm_1_1epdf.html">epdf</a> &amp;e)</td></tr> 
    58117 
     118<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fdfed7aa18f2870951888b1dde977415"></a><!-- doxytag: member="bdm::epdf::epdf" ref="fdfed7aa18f2870951888b1dde977415" args="(const RV &amp;rv0)" --> 
     119&nbsp;</td><td class="memItemRight" valign="bottom"><b>epdf</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;rv0)</td></tr> 
     120 
     121<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="840de94aa33cf4f2ebd2427f45a165d8"></a><!-- doxytag: member="bdm::epdf::set_parameters" ref="840de94aa33cf4f2ebd2427f45a165d8" args="(int dim0)" --> 
     122void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (int dim0)</td></tr> 
     123 
    59124<tr><td colspan="2"><div class="groupHeader">Matematical Operations</div></td></tr> 
    60 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="09721eb148bc49d6ec2f1956039f3a10"></a><!-- doxytag: member="bdm::epdf::sample" ref="09721eb148bc49d6ec2f1956039f3a10" args="() const =0" --> 
    61 virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#09721eb148bc49d6ec2f1956039f3a10">sample</a> () const =0</td></tr> 
     125<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="75ba57a89681a8efec488f5796c7cc1b"></a><!-- doxytag: member="bdm::epdf::sample" ref="75ba57a89681a8efec488f5796c7cc1b" args="() const " --> 
     126virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#75ba57a89681a8efec488f5796c7cc1b">sample</a> () const </td></tr> 
    62127 
    63128<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a sample, <img class="formulaInl" alt="$ x $" src="form_106.png"> from density <img class="formulaInl" alt="$ f_x()$" src="form_107.png">. <br></td></tr> 
     
    66131 
    67132<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns N samples, <img class="formulaInl" alt="$ [x_1 , x_2 , \ldots \ $" src="form_108.png"> from density <img class="formulaInl" alt="$ f_x(rv)$" src="form_109.png">. <br></td></tr> 
    68 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a8e39e2ff5e5cf5471bc159530d3b2d3"></a><!-- doxytag: member="bdm::epdf::evallog" ref="a8e39e2ff5e5cf5471bc159530d3b2d3" args="(const vec &amp;val) const =0" --> 
    69 virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a8e39e2ff5e5cf5471bc159530d3b2d3">evallog</a> (const vec &amp;val) const =0</td></tr> 
     133<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="deab266d63c236c277538867d5c3f249"></a><!-- doxytag: member="bdm::epdf::evallog" ref="deab266d63c236c277538867d5c3f249" args="(const vec &amp;val) const " --> 
     134virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#deab266d63c236c277538867d5c3f249">evallog</a> (const vec &amp;val) const </td></tr> 
    70135 
    71136<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of argument <code>val</code>. <br></td></tr> 
     
    82147 
    83148<tr><td class="mdescLeft">&nbsp;</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> 
    84 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="565300f603ca00c989e16389d9eb42f5"></a><!-- doxytag: member="bdm::epdf::mean" ref="565300f603ca00c989e16389d9eb42f5" args="() const =0" --> 
    85 virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#565300f603ca00c989e16389d9eb42f5">mean</a> () const =0</td></tr> 
     149<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0c8d13d788094605b3cdab20a6e22b75"></a><!-- doxytag: member="bdm::epdf::mean" ref="0c8d13d788094605b3cdab20a6e22b75" args="() const " --> 
     150virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#0c8d13d788094605b3cdab20a6e22b75">mean</a> () const </td></tr> 
    86151 
    87152<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return expected value <br></td></tr> 
    88 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="45c2b64faa4bf526799e4154a6ec6097"></a><!-- doxytag: member="bdm::epdf::variance" ref="45c2b64faa4bf526799e4154a6ec6097" args="() const =0" --> 
    89 virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#45c2b64faa4bf526799e4154a6ec6097">variance</a> () const =0</td></tr> 
     153<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4543d40ccfc5d549b0c831a57a3ed84c"></a><!-- doxytag: member="bdm::epdf::variance" ref="4543d40ccfc5d549b0c831a57a3ed84c" args="() const " --> 
     154virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#4543d40ccfc5d549b0c831a57a3ed84c">variance</a> () const </td></tr> 
    90155 
    91156<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return expected variance (not covariance!) <br></td></tr> 
     
    105170<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return name (fails when isnamed is false). <br></td></tr> 
    106171<tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 
    107 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="46dfe100cd621716ee5c7ee25a20f24b"></a><!-- doxytag: member="bdm::epdf::dimension" ref="46dfe100cd621716ee5c7ee25a20f24b" args="() const " --> 
    108 bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#46dfe100cd621716ee5c7ee25a20f24b">dimension</a> () const </td></tr> 
     172<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7083a65f7b7a0d0d13b2c516bd2ec29c"></a><!-- doxytag: member="bdm::epdf::dimension" ref="7083a65f7b7a0d0d13b2c516bd2ec29c" args="() const " --> 
     173int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#7083a65f7b7a0d0d13b2c516bd2ec29c">dimension</a> () const </td></tr> 
    109174 
    110175<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Size of the random variable. <br></td></tr> 
     
    122187<li><a class="el" href="libBM_8h-source.html">libBM.h</a><li>libBM.cpp</ul> 
    123188</div> 
    124 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 11 23:34:04 2009 for mixpp by&nbsp; 
     189<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 15 23:09:44 2009 for mixpp by&nbsp; 
    125190<a href="http://www.doxygen.org/index.html"> 
    126191<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>