Changeset 721 for library/tests/stresssuite/kalman_QR_stress.cpp
- Timestamp:
 - 11/13/09 09:15:50 (16 years ago)
 - Files:
 - 
          
- 1 moved
 
- 
          library/tests/stresssuite/kalman_QR_stress.cpp (moved) (moved from library/tests/stresssuite/test_kalman_QR.cpp) (5 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
library/tests/stresssuite/kalman_QR_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_QR_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; … … 22 23 bool xxx = fin.seek ( "d" ); 23 24 if ( !xxx ) { 24 bdm_error ( " testKF.it not found" );25 bdm_error ( "kalman_stress.it not found" ); 25 26 } 26 27 fin >> Dt; … … 84 85 } 85 86 86 it_file fou ( " testKF_QR_res.it" );87 it_file fou ( "kalman_stress_QR_res.it" ); 87 88 fou << Name ( "xqrth" ) << XQRt; 88 89 fou << Name ( "xth" ) << Xt; 89 //Exit program:90 return 0;91 92 90 }  
