Changeset 354 for doc/html/classbdm_1_1emix.html
- Timestamp:
- 06/02/09 10:24:26 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/classbdm_1_1emix.html
r353 r354 83 83 84 84 <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> 85 <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 <a class="el" href="classitpp_1_1Array.html">Array</a>< <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>85 <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> 86 86 87 87 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e8839dbbb0d1276a8dbe957a67cfe0dc"></a><!-- doxytag: member="bdm::emix::sample" ref="e8839dbbb0d1276a8dbe957a67cfe0dc" args="() const " --> 88 88 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1emix.html#e8839dbbb0d1276a8dbe957a67cfe0dc">sample</a> () const </td></tr> 89 89 90 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a sample, <img class="formulaInl" alt="$ x $" src="form_4 6.png"> from density <img class="formulaInl" alt="$ f_x()$" src="form_47.png">. <br></td></tr>90 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a sample, <img class="formulaInl" alt="$ x $" src="form_45.png"> from density <img class="formulaInl" alt="$ f_x()$" src="form_46.png">. <br></td></tr> 91 91 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3a5390bc56e81ef3b0debc0f185fa8a"></a><!-- doxytag: member="bdm::emix::mean" ref="a3a5390bc56e81ef3b0debc0f185fa8a" args="() const " --> 92 92 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1emix.html#a3a5390bc56e81ef3b0debc0f185fa8a">mean</a> () const </td></tr> … … 141 141 142 142 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method arrange instance properties according the data stored in the Setting structure. <br></td></tr> 143 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" a80210bbe266bf26f100f342460a313f"></a><!-- doxytag: member="bdm::emix::to_setting" ref="a80210bbe266bf26f100f342460a313f" args="(Setting &root)" -->144 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bdmroot.html# a80210bbe266bf26f100f342460a313f">to_setting</a> (Setting &root)</td></tr>143 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dd74cb898b22b95b7ee528e040a07618"></a><!-- doxytag: member="bdm::emix::to_setting" ref="dd74cb898b22b95b7ee528e040a07618" args="(Setting &root) const " --> 144 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bdmroot.html#dd74cb898b22b95b7ee528e040a07618">to_setting</a> (Setting &root) const </td></tr> 145 145 146 146 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr> … … 162 162 virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#b4cf45fd83cc7573ede9fe1215256058">sample_m</a> (int N) const </td></tr> 163 163 164 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns N samples, <img class="formulaInl" alt="$ [x_1 , x_2 , \ldots \ $" src="form_4 8.png"> from density <img class="formulaInl" alt="$ f_x(rv)$" src="form_49.png">. <br></td></tr>164 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns N samples, <img class="formulaInl" alt="$ [x_1 , x_2 , \ldots \ $" src="form_47.png"> from density <img class="formulaInl" alt="$ f_x(rv)$" src="form_48.png">. <br></td></tr> 165 165 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0a7705e80601957f7226d333a0a6d539"></a><!-- doxytag: member="bdm::emix::qbounds" ref="0a7705e80601957f7226d333a0a6d539" args="(vec &lb, vec &ub, double percentage=0.95) const " --> 166 166 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#0a7705e80601957f7226d333a0a6d539">qbounds</a> (vec &lb, vec &ub, double percentage=0.95) const </td></tr> … … 188 188 <tr><td class="mdescLeft"> </td><td class="mdescRight">weights of the components <br></td></tr> 189 189 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e2966a6a44b250e22e55bc9fb6af5c3e"></a><!-- doxytag: member="bdm::emix::Coms" ref="e2966a6a44b250e22e55bc9fb6af5c3e" args="" --> 190 <a class="el" href="classitpp_1_1Array.html">Array</a>< <a class="el" href="classbdm_1_1epdf.html">epdf</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1emix.html#e2966a6a44b250e22e55bc9fb6af5c3e">Coms</a></td></tr>190 Array< <a class="el" href="classbdm_1_1epdf.html">epdf</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1emix.html#e2966a6a44b250e22e55bc9fb6af5c3e">Coms</a></td></tr> 191 191 192 192 <tr><td class="mdescLeft"> </td><td class="mdescRight">Component (epdfs). <br></td></tr> … … 208 208 <p> 209 209 Density function: <p class="formulaDsp"> 210 <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_3 8.png">211 <p> 212 where <img class="formulaInl" alt="$f_i(x)$" src="form_3 9.png"> is any density on random variable <img class="formulaInl" alt="$x$" src="form_0.png">, called <em>component</em>, <hr><h2>Member Function Documentation</h2>210 <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"> 211 <p> 212 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> 213 213 <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)" --> 214 214 <div class="memitem"> … … 224 224 <td class="paramkey"></td> 225 225 <td></td> 226 <td class="paramtype">const <a class="el" href="classitpp_1_1Array.html">Array</a>< <a class="el" href="classbdm_1_1epdf.html">epdf</a> * > & </td>226 <td class="paramtype">const Array< <a class="el" href="classbdm_1_1epdf.html">epdf</a> * > & </td> 227 227 <td class="paramname"> <em>Coms</em>, </td> 228 228 </tr> … … 244 244 <p> 245 245 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. 246 <p>References <a class="el" href="emix_8h-source.html#l00097">Coms</a>, <a class="el" href="emix_8h-source.html#l00099">destroyComs</a>, <a class="el" href="libBM_8h-source.html#l002 39">bdm::epdf::dim</a>, <a class="el" href="libBM_8h-source.html#l00309">bdm::epdf::dimension()</a>, <a class="el" href="itassert_8h-source.html#l00107">it_assert_debug</a>, <a class="el" href="itassert_8h-source.html#l00126">it_error</a>, <a class="el" href="array_8h-source.html#l00157">itpp::Array< T >::length()</a>, <a class="el" href="array_8h-source.html#l00161">itpp::Array< T >::set_length()</a>, <a class="el" href="matfunc_8h-source.html#l00077">itpp::sum()</a>, and <a class="el" href="emix_8h-source.html#l00095">w</a>.</p>246 <p>References <a class="el" href="emix_8h-source.html#l00097">Coms</a>, <a class="el" href="emix_8h-source.html#l00099">destroyComs</a>, <a class="el" href="libBM_8h-source.html#l00240">bdm::epdf::dim</a>, <a class="el" href="libBM_8h-source.html#l00310">bdm::epdf::dimension()</a>, and <a class="el" href="emix_8h-source.html#l00095">w</a>.</p> 247 247 248 248 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00138">bdm::MixEF::epredictor()</a>, <a class="el" href="emix_8cpp-source.html#l00103">bdm::egiwmix::marginal()</a>, <a class="el" href="emix_8cpp-source.html#l00037">marginal()</a>, and <a class="el" href="emix_8h-source.html#l00389">bdm::mmix::set_parameters()</a>.</p> … … 253 253 <li><a class="el" href="emix_8h-source.html">emix.h</a><li>emix.cpp</ul> 254 254 </div> 255 <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10: 02:182009 for mixpp by 255 <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:11:01 2009 for mixpp by 256 256 <a href="http://www.doxygen.org/index.html"> 257 257 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>