Changeset 271 for doc/html/classbdm_1_1epdf.html
- Timestamp:
- 02/16/09 10:03:13 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/classbdm_1_1epdf.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_1epdf.html">epdf</a>67 <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1epdf.html">epdf</a> 28 68 </div> 29 69 </div> … … 34 74 Inheritance diagram for bdm::epdf:</div> 35 75 <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-inverse-Wishart density stored in LD form." alt="" coords="608,107,693,133"><area shape="rect" href="classbdm_1_1eigamma.html" title="Inverse-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\< ldmat \>" alt="" coords="857,233,1025,260"><area shape="rect" href="classbdm_1_1enorm.html" title="bdm::enorm\< chmat \>" alt="" coords="856,307,1027,333"><area shape="rect" href="classbdm_1_1enorm.html" title="bdm::enorm\< fsqmat \>" 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> 40 96 41 97 <p> … … 47 103 <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> 48 104 <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> 107 The 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> 51 110 </ul> 52 111 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> … … 57 116 </td><td class="memItemRight" valign="bottom"><b>epdf</b> (const <a class="el" href="classbdm_1_1epdf.html">epdf</a> &e)</td></tr> 58 117 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 &rv0)" --> 119 </td><td class="memItemRight" valign="bottom"><b>epdf</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &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)" --> 122 void </td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (int dim0)</td></tr> 123 59 124 <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 </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 " --> 126 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#75ba57a89681a8efec488f5796c7cc1b">sample</a> () const </td></tr> 62 127 63 128 <tr><td class="mdescLeft"> </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> … … 66 131 67 132 <tr><td class="mdescLeft"> </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 &val) const =0" -->69 virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html# a8e39e2ff5e5cf5471bc159530d3b2d3">evallog</a> (const vec &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 &val) const " --> 134 virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#deab266d63c236c277538867d5c3f249">evallog</a> (const vec &val) const </td></tr> 70 135 71 136 <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of argument <code>val</code>. <br></td></tr> … … 82 147 83 148 <tr><td class="mdescLeft"> </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 </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 " --> 150 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#0c8d13d788094605b3cdab20a6e22b75">mean</a> () const </td></tr> 86 151 87 152 <tr><td class="mdescLeft"> </td><td class="mdescRight">return expected value <br></td></tr> 88 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="45 c2b64faa4bf526799e4154a6ec6097"></a><!-- doxytag: member="bdm::epdf::variance" ref="45c2b64faa4bf526799e4154a6ec6097" args="() const =0" -->89 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#45 c2b64faa4bf526799e4154a6ec6097">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 " --> 154 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#4543d40ccfc5d549b0c831a57a3ed84c">variance</a> () const </td></tr> 90 155 91 156 <tr><td class="mdescLeft"> </td><td class="mdescRight">return expected variance (not covariance!) <br></td></tr> … … 105 170 <tr><td class="mdescLeft"> </td><td class="mdescRight">Return name (fails when isnamed is false). <br></td></tr> 106 171 <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 </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 " --> 173 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#7083a65f7b7a0d0d13b2c516bd2ec29c">dimension</a> () const </td></tr> 109 174 110 175 <tr><td class="mdescLeft"> </td><td class="mdescRight">Size of the random variable. <br></td></tr> … … 122 187 <li><a class="el" href="libBM_8h-source.html">libBM.h</a><li>libBM.cpp</ul> 123 188 </div> 124 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 11 23:34:04 2009 for mixpp by 189 <hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 15 23:09:44 2009 for mixpp by 125 190 <a href="http://www.doxygen.org/index.html"> 126 191 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>