Show
Ignore:
Timestamp:
08/16/09 18:13:31 (15 years ago)
Author:
smidl
Message:

removal of unused functions _e() and samplecond(,) and added documentation lines

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/stat/emix.h

    r529 r536  
    165165 
    166166        shared_ptr<epdf> marginal ( const RV &rv ) const; 
     167        //! Update already existing marginal density  \c target 
    167168        void marginal ( const RV &rv, emix &target ) const; 
    168169        shared_ptr<mpdf> condition ( const RV &rv ) const; 
     
    290291                set_elements ( mFacs ); 
    291292        } 
    292  
     293        //! Set internal \c mpdfs from given values 
    293294        void set_elements (const Array<shared_ptr<mpdf> > &mFacs ); 
    294295 
     
    339340                return smp; 
    340341        } 
    341         mat samplecond ( const vec &cond,  int N ) { 
    342                 mat Smp ( dimension(), N ); 
    343                 for ( int i = 0; i < N; i++ ) { 
    344                         Smp.set_col ( i, samplecond ( cond ) ); 
    345                 } 
    346                 return Smp; 
    347         } 
    348342 
    349343        //! Load from structure with elements: 
     
    372366        Array<datalink*> dls; 
    373367public: 
     368        //! Default constructor 
    374369        eprod () : epdfs ( 0 ), dls ( 0 ) {}; 
     370        //! Set internal  
    375371        void set_parameters ( const Array<const epdf*> &epdfs0, bool named = true ) { 
    376372                epdfs = epdfs0;//.set_length ( epdfs0.length() ); 
     
    470466        //! Set weights \c w and components \c R 
    471467        void set_parameters ( const vec &w0, const Array<shared_ptr<mpdf> > &Coms0 ) { 
    472                 //!\TODO check if all components are OK 
     468                //!\todo check if all components are OK 
    473469                Coms = Coms0; 
    474470                w=w0;