Changeset 27
- Timestamp:
- 02/22/08 13:57:23 (17 years ago)
- Location:
- bdm
- Files:
-
- 4 modified
Legend:
- Unmodified
- Added
- Removed
-
bdm/estim/libKF.cpp
r15 r27 47 47 std::ostream &operator<< ( std::ostream &os, const KalmanFull &kf ) { 48 48 os << "mu:" << kf.mu << endl << "P:" << kf.P <<endl; 49 return os; 49 50 } 50 51 -
bdm/stat/libBM.cpp
r19 r27 75 75 indlist.set_subvector(pos,pos+sizes(i)-1, ids(i)); 76 76 } 77 return indlist; 77 78 } -
bdm/stat/libBM.h
r22 r27 77 77 public: 78 78 //! function evaluates numerical value of $f(x)$ at $x=cond$ 79 virtual vec eval(const vec &cond){}; //Fixme: virtual? 79 virtual vec eval(const vec &cond) 80 { 81 return vec(0); 82 }; //Fixme: virtual? 83 80 84 //! access function 81 85 int _dimy()const{return dimy;} … … 109 113 virtual vec sample ()=0; 110 114 //! Compute probability of argument \c val 111 virtual double eval(const vec &val){}; 115 virtual double eval(const vec &val) 116 { 117 return 0.0; 118 }; 112 119 }; 113 120 -
bdm/stat/libEF.h
r22 r27 128 128 template<class sq_T> 129 129 double enorm<sq_T>::eval( const vec &val ) { 130 //130 return 0.0; 131 131 }; 132 132