Changeset 660 for library/bdm/mex

Show
Ignore:
Timestamp:
10/15/09 00:04:30 (15 years ago)
Author:
smidl
Message:

doc - doxygen warnings

Location:
library/bdm/mex
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/mex/mex_BM.h

    r599 r660  
    1515using namespace bdm; 
    1616 
     17//! epdf with functions implemented in matlab 
    1718class mexEpdf: public epdf{ 
    1819        protected: 
     20                //! prefix of matlab functions 
    1921                string name; 
     22                //! pointer to storage structure 
    2023                mxArray *data; 
    2124        public: 
     
    4043UIREGISTER(mexEpdf); 
    4144 
     45//! BM with functions implemented in matlab 
    4246class mexBM: public BM{ 
    4347        protected : 
     48                //! prefix of matlab functions 
    4449                string name; 
     50                //! internal estimator 
    4551                mexEpdf est; 
     52                //! mxArray with attributes of this object 
    4653                mxArray *data; 
    4754        public: 
    4855                mexBM() {} 
    4956 
     57                //! duplicate internal data pointer? 
    5058                mxArray *get_data() { 
    5159                        //mexCallMATLAB(0, NULL, 1, &data, "dump"); 
     
    8189                        //mexCallMATLAB(0, NULL, 1, &data, "dump"); 
    8290                }  
     91                //! return correctly typed posterior (covariant return) 
    8392                const mexEpdf& posterior() const  { 
    8493                        return est; 
    85                 } //tohle by melo zustat!! 
    86                 const mexEpdf* _e() const  { 
    87                         return &est; 
    8894                } //tohle by melo zustat!! 
    8995}; 
  • library/bdm/mex/mex_datasource.h

    r609 r660  
    5050                RV ru = RV(); 
    5151                if (r){ 
    52                         set_rvs ( *r, ru ); 
     52                        set_drv ( *r, ru ); 
    5353                } else { 
    5454                        RV def((const char*)set["varname"],Data.rows()); 
    55                         set_rvs(def, ru); 
     55                        set_drv(def, ru); 
    5656                } 
    5757        } 
     
    125125                dt=mxArray2vec(tmp); 
    126126        } 
    127         void write(vec &ut0){ ut=ut0;} 
     127        void write(const vec &ut0){ ut=ut0;} 
    128128        void getdata(vec &dt_out){dt_out = dt;  } 
    129129 
  • library/bdm/mex/mex_logger.h

    r609 r660  
    4949        //! constructor 
    5050        mexlog(long maxlen0) : memlog ( maxlen0, "" ) {}; 
    51         //! 
     51        //! copy internal data to output mxArray 
    5252        mxArray* toCell() { 
    5353                mxArray* tmp = mxCreateStructMatrix ( 1, 1, 0, NULL );