- Timestamp:
- 02/16/08 15:12:24 (17 years ago)
- Location:
- tests
- Files:
-
- 1 added
- 1 removed
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
tests/testKF.cpp
r18 r19 9 9 10 10 int main() { 11 11 12 12 13 // Klaman filter … … 41 42 Xt2=zeros( 2,Ndat ); 42 43 43 Kalman<ldmat> KF( A,B,C,D,ldmat( R),ldmat(Q),ldmat(P0),mu0 );44 Kalman<ldmat> KF( A,B,C,D,ldmat(diag(R)),ldmat(diag(Q)),ldmat(diag(P0)),mu0 ); 44 45 // cout << KF; 45 46 KalmanFull KF2( A,B,C,D,R,Q,P0,mu0 ); -
tests/testPF.cpp
r14 r19 1 1 #include <itpp/itbase.h> 2 #include "libPF.h"3 #include "libDC.h"4 #include "libEF.h"2 #include <estim/libPF.h> 3 #include <math/libDC.h> 4 #include <stat/libEF.h> 5 5 6 6 using namespace itpp; … … 17 17 18 18 mat A = "1"; 19 ldmat R("1"); 19 vec vR = "1"; 20 ldmat R(vR); 20 21 21 22