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_1eEmp.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_1eEmp.html">eEmp</a> 
     67  <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1eEmp.html">eEmp</a> 
    2868  </div> 
    2969</div> 
     
    3474Inheritance diagram for bdm::eEmp:</div> 
    3575<div class="dynsection"> 
    36 <p><center><img src="classbdm_1_1eEmp__inherit__graph.png" border="0" usemap="#bdm_1_1eEmp__inherit__map" alt="Inheritance graph"></center> 
    37 <map name="bdm_1_1eEmp__inherit__map"> 
    38 <area shape="rect" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="19,84,104,111"><area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="5,7,117,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_1eEmp.png" usemap="#bdm::eEmp_map" border="0" alt=""></center> 
     78<map name="bdm::eEmp_map"> 
     79<area href="classbdm_1_1epdf.html" alt="bdm::epdf" shape="rect" coords="0,56,86,80"> 
     80<area href="classbdm_1_1bdmroot.html" alt="bdm::bdmroot" shape="rect" coords="0,0,86,24"> 
     81</map> 
     82</div> 
    4083 
    4184<p> 
     
    4689<tr><td></td></tr> 
    4790<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> 
    48 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="34d7f929fbab6c1e4ce318c56a6399c7"></a><!-- doxytag: member="bdm::eEmp::eEmp" ref="34d7f929fbab6c1e4ce318c56a6399c7" args="(int n0)" --> 
    49 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#34d7f929fbab6c1e4ce318c56a6399c7">eEmp</a> (int n0)</td></tr> 
    50  
    51 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor. <br></td></tr> 
    5291<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="82320074a9b0ad7e1bb33a6e885b65d7"></a><!-- doxytag: member="bdm::eEmp::set_parameters" ref="82320074a9b0ad7e1bb33a6e885b65d7" args="(const vec &amp;w0, const epdf *pdf0)" --> 
    5392void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#82320074a9b0ad7e1bb33a6e885b65d7">set_parameters</a> (const vec &amp;w0, const <a class="el" href="classbdm_1_1epdf.html">epdf</a> *pdf0)</td></tr> 
     
    79118<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr> 
    80119<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f06ce255de5dbb2313f52ee51f82ba3d"></a><!-- doxytag: member="bdm::eEmp::resample" ref="f06ce255de5dbb2313f52ee51f82ba3d" args="(RESAMPLING_METHOD method=SYSTEMATIC)" --> 
    81 ivec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#f06ce255de5dbb2313f52ee51f82ba3d">resample</a> (<a class="el" href="namespacebdm.html#33aac0be76ded31d2e3081c5a3f6c418">RESAMPLING_METHOD</a> method=SYSTEMATIC)</td></tr> 
     120ivec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#f06ce255de5dbb2313f52ee51f82ba3d">resample</a> (RESAMPLING_METHOD method=SYSTEMATIC)</td></tr> 
    82121 
    83122<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Function performs resampling, i.e. removal of low-weight samples and duplication of high-weight samples such that the new samples represent the same density. <br></td></tr> 
     
    98137 
    99138<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return expected variance (not covariance!) <br></td></tr> 
     139<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr> 
     140<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dc232a73b38c9f9688bc4f981eaa0312"></a><!-- doxytag: member="bdm::eEmp::eEmp" ref="dc232a73b38c9f9688bc4f981eaa0312" args="()" --> 
     141&nbsp;</td><td class="memItemRight" valign="bottom"><b>eEmp</b> ()</td></tr> 
     142 
     143<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3daf6363455af099921715e1233c076"></a><!-- doxytag: member="bdm::eEmp::eEmp" ref="a3daf6363455af099921715e1233c076" args="(const eEmp &amp;e)" --> 
     144&nbsp;</td><td class="memItemRight" valign="bottom"><b>eEmp</b> (const <a class="el" href="classbdm_1_1eEmp.html">eEmp</a> &amp;e)</td></tr> 
     145 
     146<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr> 
     147<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> 
     148<li>empty constructor, </li> 
     149<li>copy constructor,</li> 
     150</ul> 
     151The following constructors should be supported for convenience: <ul> 
     152<li>constructor followed by calling <code><a class="el" href="classbdm_1_1eEmp.html#82320074a9b0ad7e1bb33a6e885b65d7" title="Set samples and weights.">set_parameters()</a></code> </li> 
     153<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> 
     154</ul> 
     155All internal data structures are constructed as empty. Their values (including sizes) will be set by method <code><a class="el" href="classbdm_1_1eEmp.html#82320074a9b0ad7e1bb33a6e885b65d7" title="Set samples and weights.">set_parameters()</a></code>. This way references can be initialized in constructors. <br><br></div></td></tr> 
     156<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="840de94aa33cf4f2ebd2427f45a165d8"></a><!-- doxytag: member="bdm::eEmp::set_parameters" ref="840de94aa33cf4f2ebd2427f45a165d8" args="(int dim0)" --> 
     157void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (int dim0)</td></tr> 
     158 
    100159<tr><td colspan="2"><div class="groupHeader">Matematical Operations</div></td></tr> 
    101160<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4cf45fd83cc7573ede9fe1215256058"></a><!-- doxytag: member="bdm::eEmp::sample_m" ref="b4cf45fd83cc7573ede9fe1215256058" args="(int N) const " --> 
     
    130189<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return name (fails when isnamed is false). <br></td></tr> 
    131190<tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 
    132 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="46dfe100cd621716ee5c7ee25a20f24b"></a><!-- doxytag: member="bdm::eEmp::dimension" ref="46dfe100cd621716ee5c7ee25a20f24b" args="() const " --> 
    133 bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#46dfe100cd621716ee5c7ee25a20f24b">dimension</a> () const </td></tr> 
     191<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7083a65f7b7a0d0d13b2c516bd2ec29c"></a><!-- doxytag: member="bdm::eEmp::dimension" ref="7083a65f7b7a0d0d13b2c516bd2ec29c" args="() const " --> 
     192int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#7083a65f7b7a0d0d13b2c516bd2ec29c">dimension</a> () const </td></tr> 
    134193 
    135194<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Size of the random variable. <br></td></tr> 
     
    159218<li><a class="el" href="libEF_8h-source.html">libEF.h</a><li>libEF.cpp</ul> 
    160219</div> 
    161 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 11 23:34:07 2009 for mixpp by&nbsp; 
     220<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 15 23:09:56 2009 for mixpp by&nbsp; 
    162221<a href="http://www.doxygen.org/index.html"> 
    163222<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>