Changeset 19 for tests/testKF.cpp

Show
Ignore:
Timestamp:
02/16/08 15:12:24 (16 years ago)
Author:
smidl
Message:

Switch to CMake

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tests/testKF.cpp

    r18 r19  
    99 
    1010int main() { 
     11 
    1112 
    1213        // Klaman filter 
     
    4142        Xt2=zeros( 2,Ndat ); 
    4243 
    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 ); 
    4445//      cout << KF; 
    4546        KalmanFull KF2( A,B,C,D,R,Q,P0,mu0 );