Changeset 271 for doc/html/classbdm_1_1emix.html
- Timestamp:
- 02/16/09 10:03:13 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/classbdm_1_1emix.html
r270 r271 6 6 </head><body> 7 7 <!-- Generated by Doxygen 1.5.6 --> 8 <script type="text/javascript"> 9 <!-- 10 function 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 } 22 function 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 } 46 window.onload = initDynSections; 47 --> 48 </script> 8 49 <div class="navigation" id="top"> 9 50 <div class="tabs"> 10 51 <ul> 11 <li><a href=" index.html"><span>Main Page</span></a></li>52 <li><a href="main.html"><span>Main Page</span></a></li> 12 53 <li><a href="pages.html"><span>Related Pages</span></a></li> 13 54 <li><a href="modules.html"><span>Modules</span></a></li> 14 <li><a href="namespaces.html"><span>Namespaces</span></a></li>15 55 <li class="current"><a href="classes.html"><span>Classes</span></a></li> 16 56 <li><a href="files.html"><span>Files</span></a></li> … … 25 65 </ul> 26 66 </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> 28 68 </div> 29 69 </div> … … 34 74 Inheritance diagram for bdm::emix:</div> 35 75 <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> 40 83 41 84 <p> … … 53 96 54 97 <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> 55 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1emix.html# d8c1aefba8302759836b5f26999ce840">set_parameters</a> (const vec &<a class="el" href="classbdm_1_1emix.html#bb7270345c76da627cd77ddf020bcf46">w</a>, const Array< <a class="el" href="classbdm_1_1epdf.html">epdf</a> * > &<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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1emix.html#3a107a6b808a081389ef17af951c234a">set_parameters</a> (const vec &<a class="el" href="classbdm_1_1emix.html#bb7270345c76da627cd77ddf020bcf46">w</a>, const Array< <a class="el" href="classbdm_1_1epdf.html">epdf</a> * > &<a class="el" href="classbdm_1_1emix.html#e2966a6a44b250e22e55bc9fb6af5c3e">Coms</a>, bool copy=false)</td></tr> 56 99 57 100 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e8839dbbb0d1276a8dbe957a67cfe0dc"></a><!-- doxytag: member="bdm::emix::sample" ref="e8839dbbb0d1276a8dbe957a67cfe0dc" args="() const " --> … … 99 142 100 143 <tr><td class="mdescLeft"> </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> 149 The 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> 153 All 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)" --> 155 void </td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (int dim0)</td></tr> 156 101 157 <tr><td colspan="2"><div class="groupHeader">Matematical Operations</div></td></tr> 102 158 <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 " --> … … 119 175 <tr><td class="mdescLeft"> </td><td class="mdescRight">Return name (fails when isnamed is false). <br></td></tr> 120 176 <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 </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 " --> 178 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#7083a65f7b7a0d0d13b2c516bd2ec29c">dimension</a> () const </td></tr> 123 179 124 180 <tr><td class="mdescLeft"> </td><td class="mdescRight">Size of the random variable. <br></td></tr> … … 146 202 </table> 147 203 <hr><h2>Member Function Documentation</h2> 148 <a class="anchor" name=" d8c1aefba8302759836b5f26999ce840"></a><!-- doxytag: member="bdm::emix::set_parameters" ref="d8c1aefba8302759836b5f26999ce840" args="(const vec &w, const Array< epdf * > &Coms, bool copy=true)" -->204 <a class="anchor" name="3a107a6b808a081389ef17af951c234a"></a><!-- doxytag: member="bdm::emix::set_parameters" ref="3a107a6b808a081389ef17af951c234a" args="(const vec &w, const Array< epdf * > &Coms, bool copy=false)" --> 149 205 <div class="memitem"> 150 206 <div class="memproto"> … … 166 222 <td></td> 167 223 <td class="paramtype">bool </td> 168 <td class="paramname"> <em>copy</em> = <code> true</code></td><td> </td>224 <td class="paramname"> <em>copy</em> = <code>false</code></td><td> </td> 169 225 </tr> 170 226 <tr> … … 179 235 <p> 180 236 Set 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#l00 299">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> 184 240 185 241 </div> … … 188 244 <li><a class="el" href="emix_8h-source.html">emix.h</a><li>emix.cpp</ul> 189 245 </div> 190 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 11 23:34:032009 for mixpp by 246 <hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 15 23:09:40 2009 for mixpp by 191 247 <a href="http://www.doxygen.org/index.html"> 192 248 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>