Changeset 353 for doc/html/mixef_8h-source.html
- Timestamp:
- 06/02/09 10:08:06 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/mixef_8h-source.html
r323 r353 79 79 <a name="l00042"></a>00042 <span class="keyword">protected</span>: 80 80 <a name="l00044"></a><a class="code" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5">00044</a> <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5" title="Number of components.">n</a>; 81 <a name="l00046"></a><a class="code" href="classbdm_1_1MixEF.html#90c21ab5a2af56d4b49e2eaef6eccc08">00046</a> Array<BMEF*><a class="code" href="classbdm_1_1MixEF.html#90c21ab5a2af56d4b49e2eaef6eccc08" title="Models for Components of .">Coms</a>;81 <a name="l00046"></a><a class="code" href="classbdm_1_1MixEF.html#90c21ab5a2af56d4b49e2eaef6eccc08">00046</a> <a class="code" href="classitpp_1_1Array.html">Array<BMEF*></a> <a class="code" href="classbdm_1_1MixEF.html#90c21ab5a2af56d4b49e2eaef6eccc08" title="Models for Components of .">Coms</a>; 82 82 <a name="l00048"></a><a class="code" href="classbdm_1_1MixEF.html#e39faa70cebadc3296bd249040105e86">00048</a> <a class="code" href="classbdm_1_1multiBM.html" title="Estimator for Multinomial density.">multiBM</a> <a class="code" href="classbdm_1_1MixEF.html#e39faa70cebadc3296bd249040105e86" title="Statistics for weights.">weights</a>; 83 83 <a name="l00050"></a><a class="code" href="classbdm_1_1MixEF.html#9413fb7f1836237aac807fb9f245e4f6">00050</a> <a class="code" href="classbdm_1_1eprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod.">eprod</a>* <a class="code" href="classbdm_1_1MixEF.html#9413fb7f1836237aac807fb9f245e4f6" title="Posterior on component parameters.">est</a>; … … 88 88 <a name="l00058"></a>00058 <a class="code" href="classbdm_1_1MixEF.html#9413fb7f1836237aac807fb9f245e4f6" title="Posterior on component parameters.">est</a> = <span class="keyword">new</span> <a class="code" href="classbdm_1_1eprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod.">eprod</a>; 89 89 <a name="l00059"></a>00059 <span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5" title="Number of components.">n</a>>0 ) { 90 <a name="l00060"></a>00060 Array<const epdf*>epdfs ( <a class="code" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5" title="Number of components.">n</a>+1 );91 <a name="l00061"></a>00061 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1MixEF.html#90c21ab5a2af56d4b49e2eaef6eccc08" title="Models for Components of .">Coms</a>. length();i++ ) {90 <a name="l00060"></a>00060 <a class="code" href="classitpp_1_1Array.html">Array<const epdf*></a> epdfs ( <a class="code" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5" title="Number of components.">n</a>+1 ); 91 <a name="l00061"></a>00061 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1MixEF.html#90c21ab5a2af56d4b49e2eaef6eccc08" title="Models for Components of .">Coms</a>.<a class="code" href="classitpp_1_1Array.html#53629018f146084de506c33c69fa19a3" title="Returns the number of data elements in the array object.">length</a>();i++ ) { 92 92 <a name="l00062"></a>00062 <span class="comment">// it_assert_debug(!x,"MixEF::MixEF : Incompatible components");</span> 93 93 <a name="l00063"></a>00063 epdfs ( i ) =& ( <a class="code" href="classbdm_1_1MixEF.html#90c21ab5a2af56d4b49e2eaef6eccc08" title="Models for Components of .">Coms</a> ( i )->posterior() ); … … 100 100 <a name="l00070"></a>00070 101 101 <a name="l00071"></a>00071 <span class="keyword">public</span>: 102 <a name="l00073"></a><a class="code" href="classbdm_1_1MixEF.html#4efe67d414ff34a1e7534004fd061241">00073</a> <a class="code" href="classbdm_1_1MixEF.html#0266854387338ba757e6192d62907984" title="Constructor of empty mixture.">MixEF</a> ( <span class="keyword">const</span> Array<BMEF*>&Coms0, <span class="keyword">const</span> vec &alpha0 ) :103 <a name="l00074"></a>00074 <a class="code" href="classbdm_1_1BMEF.html" title="Estimator for Exponential family.">BMEF</a> ( ), <a class="code" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5" title="Number of components.">n</a> ( Coms0. length() ), <a class="code" href="classbdm_1_1MixEF.html#90c21ab5a2af56d4b49e2eaef6eccc08" title="Models for Components of .">Coms</a> ( <a class="code" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5" title="Number of components.">n</a> ),102 <a name="l00073"></a><a class="code" href="classbdm_1_1MixEF.html#4efe67d414ff34a1e7534004fd061241">00073</a> <a class="code" href="classbdm_1_1MixEF.html#0266854387338ba757e6192d62907984" title="Constructor of empty mixture.">MixEF</a> ( <span class="keyword">const</span> <a class="code" href="classitpp_1_1Array.html">Array<BMEF*></a> &Coms0, <span class="keyword">const</span> vec &alpha0 ) : 103 <a name="l00074"></a>00074 <a class="code" href="classbdm_1_1BMEF.html" title="Estimator for Exponential family.">BMEF</a> ( ), <a class="code" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5" title="Number of components.">n</a> ( Coms0.<a class="code" href="group__matrix__functions.html#g97bb6b35d6d4c683c7558842e4500c2d" title="Length of vector.">length</a>() ), <a class="code" href="classbdm_1_1MixEF.html#90c21ab5a2af56d4b49e2eaef6eccc08" title="Models for Components of .">Coms</a> ( <a class="code" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5" title="Number of components.">n</a> ), 104 104 <a name="l00075"></a>00075 <a class="code" href="classbdm_1_1MixEF.html#e39faa70cebadc3296bd249040105e86" title="Statistics for weights.">weights</a> (), <a class="code" href="classbdm_1_1MixEF.html#a2376ddadb7573532404452d0c2dd28a" title="Flag for a method that is used in the inference.">method</a> ( QB ) { 105 105 <a name="l00076"></a>00076 <span class="comment">// it_assert_debug ( n>0,"MixEF::MixEF : Empty Component list" );</span> … … 142 142 <a name="l00124"></a>00124 143 143 </pre></div></div> 144 <hr size="1"><address style="text-align: right;"><small>Generated on T hu Apr 23 21:06:42 2009 for mixpp by 144 <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:12 2009 for mixpp by 145 145 <a href="http://www.doxygen.org/index.html"> 146 146 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>