| 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> |
36 | | <p><center><img src="classbdm_1_1eDirich__inherit__graph.png" border="0" usemap="#bdm_1_1eDirich__inherit__map" alt="Inheritance graph"></center> |
37 | | <map name="bdm_1_1eDirich__inherit__map"> |
38 | | <area shape="rect" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density." alt="" coords="21,161,101,188"><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_1eDirich.png" usemap="#bdm::eDirich_map" border="0" alt=""></center> |
| 78 | <map name="bdm::eDirich_map"> |
| 79 | <area href="classbdm_1_1eEF.html" alt="bdm::eEF" shape="rect" coords="0,112,86,136"> |
| 80 | <area href="classbdm_1_1epdf.html" alt="bdm::epdf" shape="rect" coords="0,56,86,80"> |
| 81 | <area href="classbdm_1_1bdmroot.html" alt="bdm::bdmroot" shape="rect" coords="0,0,86,24"> |
| 82 | </map> |
| 83 | </div> |
51 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d5137485050ca8d67549b514896f602d"></a><!-- doxytag: member="bdm::eDirich::eDirich" ref="d5137485050ca8d67549b514896f602d" args="()" --> |
52 | | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eDirich.html#d5137485050ca8d67549b514896f602d">eDirich</a> ()</td></tr> |
53 | | |
54 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> |
55 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="31cc8bf709552c9e7286ac16b27c8e2c"></a><!-- doxytag: member="bdm::eDirich::eDirich" ref="31cc8bf709552c9e7286ac16b27c8e2c" args="(const eDirich &D0)" --> |
56 | | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eDirich.html#31cc8bf709552c9e7286ac16b27c8e2c">eDirich</a> (const <a class="el" href="classbdm_1_1eDirich.html">eDirich</a> &D0)</td></tr> |
57 | | |
58 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <br></td></tr> |
| 135 | <tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr> |
| 136 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d5137485050ca8d67549b514896f602d"></a><!-- doxytag: member="bdm::eDirich::eDirich" ref="d5137485050ca8d67549b514896f602d" args="()" --> |
| 137 | </td><td class="memItemRight" valign="bottom"><b>eDirich</b> ()</td></tr> |
| 138 | |
| 139 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="31cc8bf709552c9e7286ac16b27c8e2c"></a><!-- doxytag: member="bdm::eDirich::eDirich" ref="31cc8bf709552c9e7286ac16b27c8e2c" args="(const eDirich &D0)" --> |
| 140 | </td><td class="memItemRight" valign="bottom"><b>eDirich</b> (const <a class="el" href="classbdm_1_1eDirich.html">eDirich</a> &D0)</td></tr> |
| 141 | |
| 142 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a961f5846c8db5b2d20e7db483453e0c"></a><!-- doxytag: member="bdm::eDirich::eDirich" ref="a961f5846c8db5b2d20e7db483453e0c" args="(const vec &beta0)" --> |
| 143 | </td><td class="memItemRight" valign="bottom"><b>eDirich</b> (const vec &beta0)</td></tr> |
| 144 | |
| 145 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a06af2376976a33e1eceaed7e8da75a5"></a><!-- doxytag: member="bdm::eDirich::set_parameters" ref="a06af2376976a33e1eceaed7e8da75a5" args="(const vec &beta0)" --> |
| 146 | void </td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (const vec &beta0)</td></tr> |
| 147 | |
| 148 | <tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr> |
| 149 | <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> |
| 150 | <li>empty constructor, </li> |
| 151 | <li>copy constructor,</li> |
| 152 | </ul> |
| 153 | The following constructors should be supported for convenience: <ul> |
| 154 | <li>constructor followed by calling <code>set_parameters()</code> </li> |
| 155 | <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> |
| 156 | </ul> |
| 157 | All 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> |
| 158 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="840de94aa33cf4f2ebd2427f45a165d8"></a><!-- doxytag: member="bdm::eDirich::set_parameters" ref="840de94aa33cf4f2ebd2427f45a165d8" args="(int dim0)" --> |
| 159 | void </td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (int dim0)</td></tr> |
| 160 | |