Changeset 19 for tests

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

Switch to CMake

Location:
tests
Files:
1 added
1 removed
2 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 ); 
  • tests/testPF.cpp

    r14 r19  
    11#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> 
    55 
    66using namespace itpp; 
     
    1717         
    1818        mat A = "1"; 
    19         ldmat R("1"); 
     19        vec vR = "1"; 
     20        ldmat R(vR); 
    2021         
    2122