Changeset 536 for library/bdm/estim/particles.h
- Timestamp:
- 08/16/09 18:13:31 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/estim/particles.h
r488 r536 111 111 dim = E.dimension() + A ( 0 )->posterior().dimension(); 112 112 for ( int i = 0; i < _w.length() ; i++ ) { 113 Coms ( i ) = A ( i )->_e();113 Coms ( i ) = &(A ( i )->posterior()); 114 114 } 115 115 } … … 218 218 return jest; 219 219 } 220 const epdf* _e() const {221 return &jest; //Fixme: is it useful?222 }223 220 //! Set postrior of \c rvc to samples from epdf0. Statistics of BMs are not re-computed! Use only for initialization! 224 221 /* void set_est ( const epdf& epdf0 ) { … … 234 231 235 232 //!Access function 236 BM* _BM ( int i ) {233 const BM* _BM ( int i ) { 237 234 return BMs ( i ); 238 235 }