Revision 8, 402 bytes
(checked in by smidl, 16 years ago)
|
Kalmany funkci, PF nefunkci
|
Rev | Line | |
---|
[8] | 1 | #include <itpp/itbase.h> |
---|
| 2 | #include "libPF.h" |
---|
| 3 | #include "libDC.h" |
---|
| 4 | #include "libEF.h" |
---|
| 5 | |
---|
| 6 | using namespace itpp; |
---|
| 7 | |
---|
| 8 | //These lines are needed for use of cout and endl |
---|
| 9 | using std::cout; |
---|
| 10 | using std::endl; |
---|
| 11 | |
---|
| 12 | int main() { |
---|
| 13 | |
---|
| 14 | RV x("1"); |
---|
| 15 | RV xm=x; xm.t(-1); |
---|
| 16 | RV y("2"); |
---|
| 17 | |
---|
| 18 | mat A = "1"; |
---|
| 19 | ldmat R("1"); |
---|
| 20 | |
---|
| 21 | mlnorm<ldmat> obs(x,xm,A,R); |
---|
| 22 | mlnorm<ldmat> par(y,x,A,R); |
---|
| 23 | |
---|
| 24 | TrivialPF TPF(obs,par,10); |
---|
| 25 | //Exit program: |
---|
| 26 | return 0; |
---|
| 27 | |
---|
| 28 | } |
---|