Show
Ignore:
Timestamp:
04/09/09 16:11:47 (15 years ago)
Author:
smidl
Message:

doc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/html/emix_8h-source.html

    r305 r312  
    129129<a name="l00112"></a>00112                 <span class="comment">//non-central moment</span> 
    130130<a name="l00113"></a>00113                 vec mom2 = zeros ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> ); 
    131 <a name="l00114"></a>00114                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0;i &lt; <a class="code" href="classbdm_1_1emix.html#bb7270345c76da627cd77ddf020bcf46" title="weights of the components">w</a>.length();i++ ) {mom2 += <a class="code" href="classbdm_1_1emix.html#bb7270345c76da627cd77ddf020bcf46" title="weights of the components">w</a> ( i ) * pow ( <a class="code" href="classbdm_1_1emix.html#e2966a6a44b250e22e55bc9fb6af5c3e" title="Component (epdfs).">Coms</a> ( i )-&gt;<a class="code" href="classbdm_1_1emix.html#a3a5390bc56e81ef3b0debc0f185fa8a" title="return expected value">mean</a>(),2 ); } 
     131<a name="l00114"></a>00114                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0;i &lt; <a class="code" href="classbdm_1_1emix.html#bb7270345c76da627cd77ddf020bcf46" title="weights of the components">w</a>.length();i++ ) {mom2 += <a class="code" href="classbdm_1_1emix.html#bb7270345c76da627cd77ddf020bcf46" title="weights of the components">w</a> ( i ) * (<a class="code" href="classbdm_1_1emix.html#e2966a6a44b250e22e55bc9fb6af5c3e" title="Component (epdfs).">Coms</a>(i)-&gt;variance() + pow ( <a class="code" href="classbdm_1_1emix.html#e2966a6a44b250e22e55bc9fb6af5c3e" title="Component (epdfs).">Coms</a> ( i )-&gt;<a class="code" href="classbdm_1_1emix.html#a3a5390bc56e81ef3b0debc0f185fa8a" title="return expected value">mean</a>(),2 )); } 
    132132<a name="l00115"></a>00115                 <span class="comment">//central moment</span> 
    133133<a name="l00116"></a>00116                 <span class="keywordflow">return</span> mom2-pow ( <a class="code" href="classbdm_1_1emix.html#a3a5390bc56e81ef3b0debc0f185fa8a" title="return expected value">mean</a>(),2 ); 
     
    334334<a name="l00347"></a>00347 <span class="preprocessor">#endif //MX_H</span> 
    335335</pre></div></div> 
    336 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Apr 8 16:12:31 2009 for mixpp by&nbsp; 
     336<hr size="1"><address style="text-align: right;"><small>Generated on Thu Apr 9 14:33:20 2009 for mixpp by&nbsp; 
    337337<a href="http://www.doxygen.org/index.html"> 
    338338<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>