Changeset 721 for library/tests/stresssuite/kalman_QRexh_stress.cpp
- Timestamp:
- 11/13/09 09:15:50 (15 years ago)
- Files:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
library/tests/stresssuite/kalman_QRexh_stress.cpp
r717 r721 2 2 #include <estim/kalman.h> 3 3 #include <estim/particles.h> 4 #include "../mat_checks.h" 4 5 5 6 using namespace bdm; … … 9 10 using std::endl; 10 11 11 int main() {12 TEST ( kalman_QRexh_stress ) { 12 13 // Klaman filter 13 14 mat A, B, C, D, R, Q, P0; … … 15 16 mat Mu0;// read from matlab 16 17 // input from Matlab 17 it_file fin ( " testKF.it" );18 it_file fin ( "kalman_stress.it" ); 18 19 19 20 mat Dt, XQRt, eR, eQ; … … 23 24 24 25 if ( !xxx ) { 25 bdm_error ( " testKF.it not found" );26 bdm_error ( "kalman_stress.it not found" ); 26 27 } 27 28 … … 77 78 } 78 79 79 it_file fou ( " testKF_QR_exh.it" );80 it_file fou ( "kalman_stress_QR_exh.it" ); 80 81 81 82 fou << Name ( "LL" ) << LL; 82 83 fou << Name ( "Q1" ) << vQ1; 83 84 fou << Name ( "Q2" ) << vQ2; 84 //Exit program:85 return 0;86 87 85 }