Changeset 200 for bdm/stat/libBM.h

Show
Ignore:
Timestamp:
11/10/08 15:40:24 (16 years ago)
Author:
smidl
Message:

BM has now function _e() returning posterior of correct type

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • bdm/stat/libBM.h

    r198 r200  
    416416        //! Batch Bayes rule (columns of Dt are observations) 
    417417        virtual void bayesB ( const mat &Dt ); 
     418        //! Returns a reference to the epdf representing posterior density on parameters.  
     419        virtual const epdf& _epdf() const =0; 
     420 
    418421        //! Returns a pointer to the epdf representing posterior density on parameters. Use with care! 
    419         virtual const epdf& _epdf() const =0; 
     422        virtual const epdf* _e() const =0; 
    420423 
    421424        //! Evaluates predictive log-likelihood of the given data record