Changeset 270 for bdm/estim/mixef.h
- Timestamp:
- 02/16/09 10:02:08 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
bdm/estim/mixef.h
r262 r270 69 69 //! Full constructor 70 70 MixEF ( const Array<BMEF*> &Coms0, const vec &alpha0 ) : 71 BMEF ( RV()), n ( Coms0.length() ), Coms ( n ),72 weights ( RV ( "{w }", vec_1 ( n ) ),alpha0), method(QB) {71 BMEF ( ), n ( Coms0.length() ), Coms ( n ), 72 weights (), method(QB) { 73 73 // it_assert_debug ( n>0,"MixEF::MixEF : Empty Component list" ); 74 74 … … 78 78 //! Constructor of empty mixture 79 79 MixEF () : 80 BMEF ( RV()), n ( 0 ), Coms ( 0 ),81 weights ( RV ( "{w }", vec_1 ( 0 ) ),vec ( 0 )),method(QB) {build_est();}80 BMEF ( ), n ( 0 ), Coms ( 0 ), 81 weights (),method(QB) {build_est();} 82 82 //! Copy constructor 83 MixEF(const MixEF &M2): BMEF ( RV()), n ( M2.n ), Coms ( n ),83 MixEF(const MixEF &M2): BMEF ( ), n ( M2.n ), Coms ( n ), 84 84 weights ( M2.weights ), method(M2.method) { 85 85 // it_assert_debug ( n>0,"MixEF::MixEF : Empty Component list" ); … … 106 106 const epdf& _epdf() const {return *est;} 107 107 const eprod* _e() const {return est;} 108 emix* predictor(const RV &rv) const;108 emix* epredictor() const; 109 109 //! Flatten the density as if it was not estimated from the data 110 110 void flatten(const BMEF* M2);