Changeset 559
- Timestamp:
- 08/19/09 09:42:20 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/stat/emix.h
r550 r559 112 112 //! weights of the components 113 113 vec w; 114 114 115 //! Component (epdfs) 115 116 Array<shared_ptr<epdf> > Coms; 116 117 117 118 public: 118 //!Default constructor 119 emix ( ) : epdf ( ) {}; 120 //! Set weights \c w and components \c Coms 121 //!By default Coms are copied inside. Parameter \c copy can be set to false if Coms live externally. Use method ownComs() if Coms should be destroyed by the destructor. 119 //! Default constructor 120 emix ( ) : epdf ( ) { } 121 122 /*! 123 \brief Set weights \c w and components \c Coms 124 125 Shared pointers in Coms are kept inside this instance and 126 shouldn't be modified after being passed to this method. 127 */ 122 128 void set_parameters ( const vec &w, const Array<shared_ptr<epdf> > &Coms ); 123 129