Changeset 290 for doc/html/classbdm_1_1emix.html
- Timestamp:
- 03/06/09 15:03:45 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/classbdm_1_1emix.html
r287 r290 2 2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> 3 3 <title>mixpp: bdm::emix Class Reference</title> 4 <link href="tabs.css" rel="stylesheet" type="text/css"> 4 5 <link href="doxygen.css" rel="stylesheet" type="text/css"> 5 <link href="tabs.css" rel="stylesheet" type="text/css">6 6 </head><body> 7 <!-- Generated by Doxygen 1.5. 6-->7 <!-- Generated by Doxygen 1.5.8 --> 8 8 <script type="text/javascript"> 9 9 <!-- … … 53 53 <li><a href="pages.html"><span>Related Pages</span></a></li> 54 54 <li><a href="modules.html"><span>Modules</span></a></li> 55 <li class="current"><a href=" classes.html"><span>Classes</span></a></li>55 <li class="current"><a href="annotated.html"><span>Classes</span></a></li> 56 56 <li><a href="files.html"><span>Files</span></a></li> 57 57 </ul> … … 59 59 <div class="tabs"> 60 60 <ul> 61 <li><a href="classes.html"><span>Alphabetical List</span></a></li>62 61 <li><a href="annotated.html"><span>Class List</span></a></li> 62 <li><a href="classes.html"><span>Class Index</span></a></li> 63 63 <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> 64 64 <li><a href="functions.html"><span>Class Members</span></a></li> … … 69 69 </div> 70 70 <div class="contents"> 71 <h1>bdm::emix Class Reference</h1><!-- doxytag: class="bdm::emix" --><!-- doxytag: inherits="bdm::epdf" --><code>#include <<a class="el" href="emix_8h-source.html">emix.h</a>></code> 72 <p> 73 <div class="dynheader"> 74 Inheritance diagram for bdm::emix:</div> 75 <div class="dynsection"> 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> 83 84 <p> 85 <a href="classbdm_1_1emix-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> 86 Mixture of epdfs. 87 <p> 88 Density function: <p class="formulaDsp"> 89 <img class="formulaDsp" alt="\[ f(x) = \sum_{i=1}^{n} w_{i} f_i(x), \quad \sum_{i=1}^n w_i = 1. \]" src="form_37.png"> 90 <p> 91 where <img class="formulaInl" alt="$f_i(x)$" src="form_38.png"> is any density on random variable <img class="formulaInl" alt="$x$" src="form_28.png">, called <em>component</em>, <table border="0" cellpadding="0" cellspacing="0"> 71 <h1>bdm::emix Class Reference</h1><!-- doxytag: class="bdm::emix" --><!-- doxytag: inherits="bdm::epdf" -->Mixture of epdfs. 72 <a href="#_details">More...</a> 73 <p> 74 <code>#include <<a class="el" href="emix_8h-source.html">emix.h</a>></code> 75 <p> 76 77 <p> 78 <a href="classbdm_1_1emix-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> 92 79 <tr><td></td></tr> 93 80 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> … … 142 129 143 130 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 131 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="04a8632cfa9299ae937228eb732fd61e"></a><!-- doxytag: member="bdm::emix::set_rv" ref="04a8632cfa9299ae937228eb732fd61e" args="(const RV &rv)" --> 132 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1emix.html#04a8632cfa9299ae937228eb732fd61e">set_rv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &<a class="el" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a>)</td></tr> 133 134 <tr><td class="mdescLeft"> </td><td class="mdescRight">Name its rv. <br></td></tr> 144 135 <tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr> 145 136 <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> … … 149 140 The following constructors should be supported for convenience: <ul> 150 141 <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_1e pdf.html#f423e28448dbb69ef4905295ec8de8ff" title="Name its rv.">set_rv()</a></code> </li>142 <li>constructor accepting random variables calling <code><a class="el" href="classbdm_1_1emix.html#04a8632cfa9299ae937228eb732fd61e" title="Name its rv.">set_rv()</a></code> </li> 152 143 </ul> 153 144 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> … … 166 157 <tr><td colspan="2"><div class="groupHeader">Connection to other classes</div></td></tr> 167 158 <tr><td colspan="2"><div class="groupText">Description of the random quantity via attribute <code>rv</code> is optional. For operations such as sampling <code>rv</code> does not need to be set. However, for <code>marginalization</code> and <code>conditioning</code> <code>rv</code> has to be set. NB: <br><br></div></td></tr> 168 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f423e28448dbb69ef4905295ec8de8ff"></a><!-- doxytag: member="bdm::emix::set_rv" ref="f423e28448dbb69ef4905295ec8de8ff" args="(const RV &rv0)" -->169 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#f423e28448dbb69ef4905295ec8de8ff">set_rv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv0)</td></tr>170 171 <tr><td class="mdescLeft"> </td><td class="mdescRight">Name its rv. <br></td></tr>172 159 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c4b863ff84c7a4882fb3ad18556027f9"></a><!-- doxytag: member="bdm::emix::isnamed" ref="c4b863ff84c7a4882fb3ad18556027f9" args="() const " --> 173 160 bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#c4b863ff84c7a4882fb3ad18556027f9">isnamed</a> () const </td></tr> … … 205 192 <tr><td class="mdescLeft"> </td><td class="mdescRight">Description of the random variable. <br></td></tr> 206 193 </table> 207 <hr><h2>Member Function Documentation</h2> 194 <hr><a name="_details"></a><h2>Detailed Description</h2> 195 Mixture of epdfs. 196 <p> 197 Density function: <p class="formulaDsp"> 198 <img class="formulaDsp" alt="\[ f(x) = \sum_{i=1}^{n} w_{i} f_i(x), \quad \sum_{i=1}^n w_i = 1. \]" src="form_37.png"> 199 <p> 200 where <img class="formulaInl" alt="$f_i(x)$" src="form_38.png"> is any density on random variable <img class="formulaInl" alt="$x$" src="form_28.png">, called <em>component</em>, <hr><h2>Member Function Documentation</h2> 208 201 <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)" --> 209 202 <div class="memitem"> … … 239 232 <p> 240 233 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. 241 <p>References <a class="el" href="emix_8h-source.html#l0009 3">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#l00286">bdm::epdf::dimension()</a>, and <a class="el" href="emix_8h-source.html#l00091">w</a>.</p>242 243 <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#l003 03">bdm::mmix::set_parameters()</a>.</p>234 <p>References <a class="el" href="emix_8h-source.html#l00095">Coms</a>, <a class="el" href="emix_8h-source.html#l00097">destroyComs</a>, <a class="el" href="libBM_8h-source.html#l00216">bdm::epdf::dim</a>, <a class="el" href="libBM_8h-source.html#l00286">bdm::epdf::dimension()</a>, and <a class="el" href="emix_8h-source.html#l00093">w</a>.</p> 235 236 <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#l00332">bdm::mmix::set_parameters()</a>.</p> 244 237 245 238 </div> … … 248 241 <li><a class="el" href="emix_8h-source.html">emix.h</a><li>emix.cpp</ul> 249 242 </div> 250 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Mar 4 18:50:202009 for mixpp by 243 <hr size="1"><address style="text-align: right;"><small>Generated on Fri Mar 6 15:01:39 2009 for mixpp by 251 244 <a href="http://www.doxygen.org/index.html"> 252 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5. 6</small></address>245 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> 253 246 </body> 254 247 </html>