Show
Ignore:
Timestamp:
09/12/09 11:41:43 (15 years ago)
Author:
smidl
Message:

doc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/doc/html/classbdm_1_1emix.html

    r591 r608  
    8787<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae8839dbbb0d1276a8dbe957a67cfe0dc"></a><!-- doxytag: member="bdm::emix::sample" ref="ae8839dbbb0d1276a8dbe957a67cfe0dc" args="() const " --> 
    8888vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1emix.html#ae8839dbbb0d1276a8dbe957a67cfe0dc">sample</a> () const </td></tr> 
    89 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a sample, <img class="formulaInl" alt="$ x $" src="form_7.png"/> from density <img class="formulaInl" alt="$ f_x()$" src="form_8.png"/>. <br/></td></tr> 
     89<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a sample, <img class="formulaInl" alt="$ x $" src="form_3.png"/> from density <img class="formulaInl" alt="$ f_x()$" src="form_13.png"/>. <br/></td></tr> 
    9090<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa3a5390bc56e81ef3b0debc0f185fa8a"></a><!-- doxytag: member="bdm::emix::mean" ref="aa3a5390bc56e81ef3b0debc0f185fa8a" args="() const " --> 
    9191vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1emix.html#aa3a5390bc56e81ef3b0debc0f185fa8a">mean</a> () const </td></tr> 
     
    9494vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1emix.html#ae9a627023cdf90c9ffd8eef726595c86">variance</a> () const </td></tr> 
    9595<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return expected variance (not covariance!) <br/></td></tr> 
    96 <tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1emix.html#a0f3db99f730bde6b7953931594537e8e">evallog</a> (const vec &amp;val) const </td></tr> 
     96<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0f3db99f730bde6b7953931594537e8e"></a><!-- doxytag: member="bdm::emix::evallog" ref="a0f3db99f730bde6b7953931594537e8e" args="(const vec &amp;val) const " --> 
     97double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1emix.html#a0f3db99f730bde6b7953931594537e8e">evallog</a> (const vec &amp;val) const </td></tr> 
     98<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute log-probability of argument <code>val</code> In case the argument is out of suport return -Infinity. <br/></td></tr> 
    9799<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a23af1986e2afcbc8c7e1c30f610e703b"></a><!-- doxytag: member="bdm::emix::evallog_m" ref="a23af1986e2afcbc8c7e1c30f610e703b" args="(const mat &amp;Val) const " --> 
    98100vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1emix.html#a23af1986e2afcbc8c7e1c30f610e703b">evallog_m</a> (const mat &amp;Val) const </td></tr> 
     
    120122<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Name its rv. <br/></td></tr> 
    121123<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#afa9efc98a065b31c630fe18cc418f725">from_setting</a> (const Setting &amp;set)</td></tr> 
     124<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Load from structure with elements:.  <a href="#afa9efc98a065b31c630fe18cc418f725"></a><br/></td></tr> 
    122125<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::emix::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> 
    123126virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> 
     
    149152<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4cf45fd83cc7573ede9fe1215256058"></a><!-- doxytag: member="bdm::emix::sample_m" ref="ab4cf45fd83cc7573ede9fe1215256058" args="(int N) const " --> 
    150153virtual mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#ab4cf45fd83cc7573ede9fe1215256058">sample_m</a> (int N) const </td></tr> 
    151 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns N samples, <img class="formulaInl" alt="$ [x_1 , x_2 , \ldots \ $" src="form_9.png"/> from density <img class="formulaInl" alt="$ f_x(rv)$" src="form_10.png"/>. <br/></td></tr> 
     154<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns N samples, <img class="formulaInl" alt="$ [x_1 , x_2 , \ldots \ $" src="form_14.png"/> from density <img class="formulaInl" alt="$ f_x(rv)$" src="form_15.png"/>. <br/></td></tr> 
    152155<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9bc02dae61584138443baf6b1cbc1ac9"></a><!-- doxytag: member="bdm::emix::evallog_m" ref="a9bc02dae61584138443baf6b1cbc1ac9" args="(const Array&lt; vec &gt; &amp;Avec) const " --> 
    153156virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a9bc02dae61584138443baf6b1cbc1ac9">evallog_m</a> (const Array&lt; vec &gt; &amp;Avec) const </td></tr> 
     
    157160<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Lower and upper bounds of <code>percentage</code> % quantile, returns mean-2*sigma as default. <br/></td></tr> 
    158161<tr><td colspan="2"><div class="groupHeader">Connection to other classes</div></td></tr> 
    159 <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp14fc6e1cb822e9dfc5edc16c20fabe11"></a> 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: </p> 
     162<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp14fc6e1cb822e9dfc5edc16c20fabe11"></a>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: </p> 
    160163<br/><br/></div></td></tr> 
    161164<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac4b863ff84c7a4882fb3ad18556027f9"></a><!-- doxytag: member="bdm::emix::isnamed" ref="ac4b863ff84c7a4882fb3ad18556027f9" args="() const " --> 
     
    189192<p>Density function: </p> 
    190193<p class="formulaDsp"> 
    191 <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_64.png"/> 
     194<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_72.png"/> 
    192195</p> 
    193 <p> where <img class="formulaInl" alt="$f_i(x)$" src="form_65.png"/> is any density on random variable <img class="formulaInl" alt="$x$" src="form_1.png"/>, called <em>component</em>, </p> 
     196<p> where <img class="formulaInl" alt="$f_i(x)$" src="form_73.png"/> is any density on random variable <img class="formulaInl" alt="$x$" src="form_1.png"/>, called <em>component</em>, </p> 
    194197<hr/><h2>Member Function Documentation</h2> 
    195 <a class="anchor" id="a0f3db99f730bde6b7953931594537e8e"></a><!-- doxytag: member="bdm::emix::evallog" ref="a0f3db99f730bde6b7953931594537e8e" args="(const vec &amp;val) const " --> 
    196 <div class="memitem"> 
    197 <div class="memproto"> 
    198       <table class="memname"> 
    199         <tr> 
    200           <td class="memname">double bdm::emix::evallog </td> 
    201           <td>(</td> 
    202           <td class="paramtype">const vec &amp;&nbsp;</td> 
    203           <td class="paramname"> <em>val</em></td> 
    204           <td>&nbsp;)&nbsp;</td> 
    205           <td> const<code> [inline, virtual]</code></td> 
    206         </tr> 
    207       </table> 
    208 </div> 
    209 <div class="memdoc"> 
    210 <p>Compute log-probability of argument <code>val</code> In case the argument is out of suport return -Infinity </p> 
    211  
    212 <p>Reimplemented from <a class="el" href="classbdm_1_1epdf.html#adeab266d63c236c277538867d5c3f249">bdm::epdf</a>.</p> 
    213  
    214 <p>References <a class="el" href="bdmerror_8h_source.html#l00047">bdm_assert_debug</a>, <a class="el" href="emix_8h_source.html#l00116">Coms</a>, and <a class="el" href="emix_8h_source.html#l00113">w</a>.</p> 
    215  
    216 <p>Referenced by <a class="el" href="merger_8cpp_source.html#l00064">bdm::merger_mix::merge()</a>.</p> 
    217  
    218 </div> 
    219 </div> 
    220198<a class="anchor" id="afa9efc98a065b31c630fe18cc418f725"></a><!-- doxytag: member="bdm::emix::from_setting" ref="afa9efc98a065b31c630fe18cc418f725" args="(const Setting &amp;set)" --> 
    221199<div class="memitem"> 
     
    233211</div> 
    234212<div class="memdoc"> 
    235 <p>Load from structure with elements: </p> 
    236 <div class="fragment"><pre class="fragment"> { <a class="code" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> = {<span class="keyword">class</span>=<span class="stringliteral">&quot;RV&quot;</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable</span> 
    237    <span class="comment">// elements of offsprings</span> 
    238  } 
     213 
     214<p>Load from structure with elements:. </p> 
     215<div class="fragment"><pre class="fragment">         { <a class="code" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> = {<span class="keyword">class</span>=<span class="stringliteral">&quot;RV&quot;</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable</span> 
     216           <span class="comment">// elements of offsprings</span> 
     217         } 
    239218</pre></div>  
    240219<p>Reimplemented from <a class="el" href="classbdm_1_1root.html#a0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> 
    241220 
    242 <p>Reimplemented in <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; sq_T &gt;</a>, <a class="el" href="classbdm_1_1egiw.html#a55b76ec75bd2df5ef9cab3be20a33bbb">bdm::egiw</a>, <a class="el" href="classbdm_1_1egamma.html#a8a6fd1a1c0190f3e0d95a2a1f99aafc1">bdm::egamma</a>, <a class="el" href="classbdm_1_1euni.html#a77f5fef1f006fe056066da23b9e5f042">bdm::euni</a>, <a class="el" href="classbdm_1_1merger__base.html#a10dd390fc6f0d1733bb07cb51977160c">bdm::merger_base</a>, <a class="el" href="classbdm_1_1merger__mix.html#a9f12b2c66344e25e6b3ef0255d000478">bdm::merger_mix</a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; ldmat &gt;</a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; chmat &gt;</a>, and <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; fsqmat &gt;</a>.</p> 
    243  
    244 <p>References <a class="el" href="bdmbase_8h_source.html#l00357">bdm::epdf::set_rv()</a>.</p> 
     221<p>Reimplemented in <a class="el" href="classbdm_1_1mexEpdf.html#af371482ea8d21c8ac01f011b3d942298">bdm::mexEpdf</a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; sq_T &gt;</a>, <a class="el" href="classbdm_1_1egiw.html#a55b76ec75bd2df5ef9cab3be20a33bbb">bdm::egiw</a>, <a class="el" href="classbdm_1_1egamma.html#a8a6fd1a1c0190f3e0d95a2a1f99aafc1">bdm::egamma</a>, <a class="el" href="classbdm_1_1euni.html#a77f5fef1f006fe056066da23b9e5f042">bdm::euni</a>, <a class="el" href="classbdm_1_1merger__base.html#a10dd390fc6f0d1733bb07cb51977160c">bdm::merger_base</a>, <a class="el" href="classbdm_1_1merger__mix.html#a9f12b2c66344e25e6b3ef0255d000478">bdm::merger_mix</a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; ldmat &gt;</a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; chmat &gt;</a>, and <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; fsqmat &gt;</a>.</p> 
     222 
     223<p>References <a class="el" href="bdmbase_8h_source.html#l00403">bdm::epdf::set_rv()</a>.</p> 
    245224 
    246225</div> 
     
    274253<p>Shared pointers in Coms are kept inside this instance and shouldn't be modified after being passed to this method. </p> 
    275254 
    276 <p>References <a class="el" href="bdmbase_8h_source.html#l00368">bdm::epdf::_rv()</a>, <a class="el" href="bdmerror_8h_source.html#l00047">bdm_assert_debug</a>, <a class="el" href="emix_8h_source.html#l00116">Coms</a>, <a class="el" href="bdmbase_8h_source.html#l00272">bdm::epdf::dim</a>, <a class="el" href="bdmbase_8h_source.html#l00378">bdm::epdf::dimension()</a>, <a class="el" href="bdmbase_8cpp_source.html#l00132">bdm::RV::equal()</a>, <a class="el" href="bdmbase_8h_source.html#l00362">bdm::epdf::isnamed()</a>, <a class="el" href="emix_8h_source.html#l00193">set_rv()</a>, and <a class="el" href="emix_8h_source.html#l00113">w</a>.</p> 
     255<p>References <a class="el" href="bdmbase_8h_source.html#l00414">bdm::epdf::_rv()</a>, <a class="el" href="bdmerror_8h_source.html#l00047">bdm_assert_debug</a>, <a class="el" href="emix_8h_source.html#l00116">Coms</a>, <a class="el" href="bdmbase_8h_source.html#l00318">bdm::epdf::dim</a>, <a class="el" href="bdmbase_8h_source.html#l00424">bdm::epdf::dimension()</a>, <a class="el" href="bdmbase_8cpp_source.html#l00141">bdm::RV::equal()</a>, <a class="el" href="bdmbase_8h_source.html#l00408">bdm::epdf::isnamed()</a>, <a class="el" href="emix_8h_source.html#l00193">set_rv()</a>, and <a class="el" href="emix_8h_source.html#l00113">w</a>.</p> 
    277256 
    278257<p>Referenced by <a class="el" href="mixtures_8cpp_source.html#l00143">bdm::MixEF::epredictor()</a>, and <a class="el" href="emix_8cpp_source.html#l00045">marginal()</a>.</p> 
     
    285264</ul> 
    286265</div> 
    287 <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Aug 30 22:10:50 2009 for mixpp by&nbsp; 
     266<hr size="1"/><address style="text-align: right;"><small>Generated on Tue Sep 8 22:11:33 2009 for mixpp by&nbsp; 
    288267<a href="http://www.doxygen.org/index.html"> 
    289268<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>