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_1emix.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_1emix.html">emix</a> 
     67  <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1emix.html">emix</a> 
    2868  </div> 
    2969</div> 
     
    3474Inheritance diagram for bdm::emix:</div> 
    3575<div class="dynsection"> 
    36 <p><center><img src="classbdm_1_1emix__inherit__graph.png" border="0" usemap="#bdm_1_1emix__inherit__map" alt="Inheritance graph"></center> 
    37 <map name="bdm_1_1emix__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_1emix.png" usemap="#bdm::emix_map" border="0" alt=""></center> 
     78<map name="bdm::emix_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> 
     
    5396 
    5497<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor. <br></td></tr> 
    55 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1emix.html#d8c1aefba8302759836b5f26999ce840">set_parameters</a> (const vec &amp;<a class="el" href="classbdm_1_1emix.html#bb7270345c76da627cd77ddf020bcf46">w</a>, const Array&lt; <a class="el" href="classbdm_1_1epdf.html">epdf</a> * &gt; &amp;<a class="el" href="classbdm_1_1emix.html#e2966a6a44b250e22e55bc9fb6af5c3e">Coms</a>, bool copy=true)</td></tr> 
     98<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1emix.html#3a107a6b808a081389ef17af951c234a">set_parameters</a> (const vec &amp;<a class="el" href="classbdm_1_1emix.html#bb7270345c76da627cd77ddf020bcf46">w</a>, const Array&lt; <a class="el" href="classbdm_1_1epdf.html">epdf</a> * &gt; &amp;<a class="el" href="classbdm_1_1emix.html#e2966a6a44b250e22e55bc9fb6af5c3e">Coms</a>, bool copy=false)</td></tr> 
    5699 
    57100<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e8839dbbb0d1276a8dbe957a67cfe0dc"></a><!-- doxytag: member="bdm::emix::sample" ref="e8839dbbb0d1276a8dbe957a67cfe0dc" args="() const " --> 
     
    99142 
    100143<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr> 
     144<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr> 
     145<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> 
     146<li>empty constructor, </li> 
     147<li>copy constructor,</li> 
     148</ul> 
     149The following constructors should be supported for convenience: <ul> 
     150<li>constructor followed by calling <code><a class="el" href="classbdm_1_1emix.html#3a107a6b808a081389ef17af951c234a">set_parameters()</a></code> </li> 
     151<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> 
     152</ul> 
     153All internal data structures are constructed as empty. Their values (including sizes) will be set by method <code><a class="el" href="classbdm_1_1emix.html#3a107a6b808a081389ef17af951c234a">set_parameters()</a></code>. This way references can be initialized in constructors. <br><br></div></td></tr> 
     154<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="840de94aa33cf4f2ebd2427f45a165d8"></a><!-- doxytag: member="bdm::emix::set_parameters" ref="840de94aa33cf4f2ebd2427f45a165d8" args="(int dim0)" --> 
     155void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (int dim0)</td></tr> 
     156 
    101157<tr><td colspan="2"><div class="groupHeader">Matematical Operations</div></td></tr> 
    102158<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4cf45fd83cc7573ede9fe1215256058"></a><!-- doxytag: member="bdm::emix::sample_m" ref="b4cf45fd83cc7573ede9fe1215256058" args="(int N) const " --> 
     
    119175<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return name (fails when isnamed is false). <br></td></tr> 
    120176<tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 
    121 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="46dfe100cd621716ee5c7ee25a20f24b"></a><!-- doxytag: member="bdm::emix::dimension" ref="46dfe100cd621716ee5c7ee25a20f24b" args="() const " --> 
    122 bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#46dfe100cd621716ee5c7ee25a20f24b">dimension</a> () const </td></tr> 
     177<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7083a65f7b7a0d0d13b2c516bd2ec29c"></a><!-- doxytag: member="bdm::emix::dimension" ref="7083a65f7b7a0d0d13b2c516bd2ec29c" args="() const " --> 
     178int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#7083a65f7b7a0d0d13b2c516bd2ec29c">dimension</a> () const </td></tr> 
    123179 
    124180<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Size of the random variable. <br></td></tr> 
     
    146202</table> 
    147203<hr><h2>Member Function Documentation</h2> 
    148 <a class="anchor" name="d8c1aefba8302759836b5f26999ce840"></a><!-- doxytag: member="bdm::emix::set_parameters" ref="d8c1aefba8302759836b5f26999ce840" args="(const vec &amp;w, const Array&lt; epdf * &gt; &amp;Coms, bool copy=true)" --> 
     204<a class="anchor" name="3a107a6b808a081389ef17af951c234a"></a><!-- doxytag: member="bdm::emix::set_parameters" ref="3a107a6b808a081389ef17af951c234a" args="(const vec &amp;w, const Array&lt; epdf * &gt; &amp;Coms, bool copy=false)" --> 
    149205<div class="memitem"> 
    150206<div class="memproto"> 
     
    166222          <td></td> 
    167223          <td class="paramtype">bool&nbsp;</td> 
    168           <td class="paramname"> <em>copy</em> = <code>true</code></td><td>&nbsp;</td> 
     224          <td class="paramname"> <em>copy</em> = <code>false</code></td><td>&nbsp;</td> 
    169225        </tr> 
    170226        <tr> 
     
    179235<p> 
    180236Set weights <code>w</code> and components <code>Coms</code> By default Coms are copied inside. Parameter <code>copy</code> can be set to false if Coms live externally. Use method <a class="el" href="classbdm_1_1emix.html#965fb16669250a3d28bc62cf76276d8e" title="Auxiliary function for taking ownership of the Coms().">ownComs()</a> if Coms should be destroyed by the destructor.  
    181 <p>References <a class="el" href="libBM_8h-source.html#l00265">bdm::epdf::_rv()</a>, <a class="el" href="emix_8h-source.html#l00093">Coms</a>, <a class="el" href="emix_8h-source.html#l00095">destroyComs</a>, <a class="el" href="libBM_8h-source.html#l00212">bdm::epdf::dim</a>, <a class="el" href="libBM_8cpp-source.html#l00093">bdm::RV::equal()</a>, <a class="el" href="libBM_8h-source.html#l00214">bdm::epdf::rv</a>, and <a class="el" href="emix_8h-source.html#l00091">w</a>.</p> 
    182  
    183 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00134">bdm::MixEF::epredictor()</a>, <a class="el" href="emix_8cpp-source.html#l00037">marginal()</a>, and <a class="el" href="emix_8h-source.html#l00299">bdm::mmix::set_parameters()</a>.</p> 
     237<p>References <a class="el" href="emix_8h-source.html#l00093">Coms</a>, <a class="el" href="emix_8h-source.html#l00095">destroyComs</a>, <a class="el" href="libBM_8h-source.html#l00216">bdm::epdf::dim</a>, <a class="el" href="libBM_8h-source.html#l00281">bdm::epdf::dimension()</a>, and <a class="el" href="emix_8h-source.html#l00091">w</a>.</p> 
     238 
     239<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00134">bdm::MixEF::epredictor()</a>, <a class="el" href="emix_8cpp-source.html#l00037">marginal()</a>, and <a class="el" href="emix_8h-source.html#l00303">bdm::mmix::set_parameters()</a>.</p> 
    184240 
    185241</div> 
     
    188244<li><a class="el" href="emix_8h-source.html">emix.h</a><li>emix.cpp</ul> 
    189245</div> 
    190 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 11 23:34:03 2009 for mixpp by&nbsp; 
     246<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 15 23:09:40 2009 for mixpp by&nbsp; 
    191247<a href="http://www.doxygen.org/index.html"> 
    192248<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>