Changeset 1168 for library/bdm/estim/kalman.h
- Timestamp:
- 08/27/10 17:05:55 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/estim/kalman.h
r1158 r1168 429 429 class EKF_UD : public BM { 430 430 protected: 431 //! logger 432 LOG_LEVEL(EKF_UD,logU, logG); 431 433 //! Internal Model f(x,u) 432 434 shared_ptr<diffbifn> pfxu; … … 447 449 enorm<ldmat> est; 448 450 public: 451 449 452 //! copy constructor duplicated 450 453 EKF_UD* _copy() const { … … 458 461 } 459 462 460 461 463 EKF_UD(){} 464 462 465 463 466 EKF_UD(const EKF_UD &E0): pfxu(E0.pfxu),phxu(E0.phxu), U(E0.U), D(E0.D){} … … 469 472 void bayes ( const vec &yt, const vec &cond = empty_vec ); 470 473 474 void log_register ( bdm::logger& L, const string& prefix ){ 475 BM::log_register ( L, prefix ); 476 477 if ( log_level[logU] ) 478 L.add_vector ( log_level, logU, RV ( dimension()*dimension() ), prefix ); 479 if ( log_level[logG] ) 480 L.add_vector ( log_level, logG, RV ( dimension()*dimension() ), prefix ); 481 482 } 471 483 /*! Create object from the following structure 472 484