Changeset 1192 for library/bdm/estim

Show
Ignore:
Timestamp:
09/17/10 14:35:13 (14 years ago)
Author:
smidl
Message:

fixes ob ProdBM

Location:
library/bdm/estim
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/estim/arx.cpp

    r1176 r1192  
    7171} 
    7272 
    73 vec ARX::samplepred(const vec &cond) const{ 
     73vec ARX::samplepred(const vec &cond) { 
    7474        mat M; 
    7575        chmat R; 
  • library/bdm/estim/arx.h

    r1189 r1192  
    8989    }; 
    9090        double logpred ( const vec &yt, const vec &cond ) const; 
    91         vec samplepred (  const vec &cond ) const; 
     91        vec samplepred (  const vec &cond ) ; 
    9292        void flatten ( const BMEF* B , double weight ); 
    9393    //! Conditioned version of the predictor 
  • library/bdm/estim/particles.h

    r1187 r1192  
    3333        MarginalizedParticleBase ∓ 
    3434    public: 
    35         eprod_2(MarginalizedParticleBase &m):mp(m) {} 
    36         const epdf* factor(int i) const { 
     35                eprod_2(MarginalizedParticleBase &m):mp(m) {} 
     36                const epdf* factor(int i) const { 
    3737            return (i==0) ? &mp.bm->posterior() : &mp.est_emp; 
    3838        } 
     
    622622}; 
    623623UIREGISTER(NoiseParticleX); 
     624 
    624625 
    625626/*! Marginalized particle for state-space models with unknown parameters of distribuution of residues on \f$v_t\f$ and \f$ w_t \f$.