Changeset 98
- Timestamp:
- 05/09/08 17:27:07 (17 years ago)
- Location:
- bdm
- Files:
-
- 7 modified
Legend:
- Unmodified
- Added
- Removed
-
bdm/CMakeLists.txt
r93 r98 3 3 SET(BdmMath math/libDC.cpp math/chmat.cpp) 4 4 SET(BdmStat stat/libDS.cpp stat/libFN.cpp stat/libBM stat/libEF stat/loggers) 5 SET(BdmEstim estim/libKF.cpp estim/libPF.cpp )5 SET(BdmEstim estim/libKF.cpp estim/libPF.cpp estim/arx.cpp) 6 6 7 7 -
bdm/estim/libPF.h
r67 r98 57 57 \brief Marginalized Particle filter 58 58 59 Trivial version: proposal $=$parameter evolution, observation model is not used. (it is assumed to be part of BM).59 Trivial version: proposal = parameter evolution, observation model is not used. (it is assumed to be part of BM). 60 60 */ 61 61 -
bdm/itpp_ext.cpp
r86 r98 11 11 // 12 12 13 #include <itpp/itbase.h>14 13 #include "itpp_ext.h" 15 14 -
bdm/math/chmat.h
r95 r98 42 42 double invqform ( const vec &v ) const; 43 43 void clear(); 44 //! add another chmat \c A2 with weight \c w. 44 45 void add ( const chmat &A2, double w=1.0 ) {}; 45 46 //!Inversion in the same form, i.e. cholesky -
bdm/math/libDC.cpp
r75 r98 213 213 int mn = (m<n) ? m :n ; 214 214 215 it_assert_debug( A.cols()==dim,"ldmat::ldform A is not compatible" );215 // it_assert_debug( A.cols()==dim,"ldmat::ldform A is not compatible" ); 216 216 it_assert_debug( D0.length()==A.rows(),"ldmat::ldform Vector D must have the length as row count of A" ); 217 217 … … 299 299 L.del_rows(0,m-1); 300 300 D.del(0,m-1); 301 302 dim = L.rows(); 301 303 } 302 304 -
bdm/math/libDC.h
r85 r98 245 245 void setL (const vec &nL){L=nL;} 246 246 247 //! Access functions 248 const vec& _D() const {return D;} 249 //! Access functions 250 const mat& _L() const {return L;} 251 247 252 //! add another ldmat matrix 248 253 ldmat& operator += ( const ldmat &ldA ); … … 254 259 //! print both \c L and \c D 255 260 friend std::ostream &operator<< ( std::ostream &os, const ldmat &sq ); 256 257 261 258 262 protected: -
bdm/userinfo.h
r90 r98 49 49 //! for future use 50 50 virtual ~uibase() {}; 51 51 //! Save to file 52 52 virtual void save ( std::ostream &os ) { 53 53 os.width(ilevel); … … 58 58 os<<name<<" = "; 59 59 }; 60 //! load from file 60 61 virtual void load ( std::istream &is ) { 61 62 char tmp[200]; … … 74 75 class uiscalar : public uibase { 75 76 protected: 77 //! Value 76 78 T N; 77 79 public: … … 95 97 class uistring : public uibase { 96 98 protected: 99 //! Values 97 100 std::string S; 98 101 public: … … 116 119 class uivector : public uibase { 117 120 protected: 121 //! Value 118 122 itpp::Vec<T> V; 119 123 public: … … 137 141 class uimatrix : public uibase { 138 142 protected: 143 //! Value 139 144 itpp::Mat<T> M; 140 145