Show
Ignore:
Timestamp:
11/13/09 09:15:50 (15 years ago)
Author:
mido
Message:

stresssuite - halfway point

Files:
1 moved

Legend:

Unmodified
Added
Removed
  • library/tests/stresssuite/kalman_QR_stress.cpp

    r717 r721  
    22#include <estim/kalman.h> 
    33#include <estim/particles.h> 
     4#include "../mat_checks.h" 
    45 
    56using namespace bdm; 
     
    910using std::endl; 
    1011 
    11 int main() { 
     12TEST ( kalman_QR_stress ) { 
    1213        // Klaman filter 
    1314        mat A, B, C, D, R, Q, P0; 
     
    1516        mat Mu0;// read from matlab 
    1617        // input from Matlab 
    17         it_file fin ( "testKF.it" ); 
     18        it_file fin ( "kalman_stress.it" ); 
    1819 
    1920        mat Dt, XQRt, eR, eQ; 
     
    2223        bool xxx = fin.seek ( "d" ); 
    2324        if ( !xxx ) { 
    24                 bdm_error ( "testKF.it not found" ); 
     25                bdm_error ( "kalman_stress.it not found" ); 
    2526        } 
    2627        fin >> Dt; 
     
    8485        } 
    8586 
    86         it_file fou ( "testKF_QR_res.it" ); 
     87        it_file fou ( "kalman_stress_QR_res.it" ); 
    8788        fou << Name ( "xqrth" ) << XQRt; 
    8889        fou << Name ( "xth" ) << Xt; 
    89         //Exit program: 
    90         return 0; 
    91  
    9290}