Merge lp:~oontvoo/kalmanfilterimpl/update_headers into lp:kalmanfilterimpl

Proposed by Vy Nguyen
Status: Merged
Merged at revision: 2
Proposed branch: lp:~oontvoo/kalmanfilterimpl/update_headers
Merge into: lp:kalmanfilterimpl
Diff against target: 62 lines (+39/-2)
2 files modified
src/kalmanfilter/KalmanFilter.java (+20/-2)
src/kalmanfilter/RunFilter.java (+19/-0)
To merge this branch: bzr merge lp:~oontvoo/kalmanfilterimpl/update_headers
Reviewer Review Type Date Requested Status
Vy Nguyen Pending
Review via email: mp+112255@code.launchpad.net

Description of the change

update headers

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/kalmanfilter/KalmanFilter.java'
2--- src/kalmanfilter/KalmanFilter.java 2012-06-26 08:40:46 +0000
3+++ src/kalmanfilter/KalmanFilter.java 2012-06-27 01:53:17 +0000
4@@ -1,3 +1,22 @@
5+/**
6+ * Implementation of the Kalman Filter
7+ * Copyright (C) 2012 Vy Nguyen
8+ *
9+ * This library is free software; you can redistribute it and/or
10+ * modify it under the terms of the GNU Library General Public
11+ * License as published by the Free Software Foundation; either
12+ * version 2 of the License, or (at your option) any later version.
13+ *
14+ * This library is distributed in the hope that it will be useful,
15+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17+ * Library General Public License for more details.
18+ *
19+ * You should have received a copy of the GNU Library General Public
20+ * License along with this library; if not, write to the
21+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
22+ * Boston, MA 02110-1301, USA.
23+ */
24 package kalmanfilter;
25
26 import Jama.Matrix;
27@@ -48,8 +67,7 @@
28 // update x
29 // xk+1 = xk + K(zk+1 − Hxk )
30 X = X.plus(K.times((Xk.times(H)).minus(H.times(X))));
31-
32-
33+
34 // update P
35 P = (I.minus(K.times(H))).times(P);
36
37
38=== modified file 'src/kalmanfilter/RunFilter.java'
39--- src/kalmanfilter/RunFilter.java 2012-06-26 08:40:46 +0000
40+++ src/kalmanfilter/RunFilter.java 2012-06-27 01:53:17 +0000
41@@ -1,3 +1,22 @@
42+/**
43+ * Implementation of the Kalman Filter
44+ * Copyright (C) 2012 Vy Nguyen
45+ *
46+ * This library is free software; you can redistribute it and/or
47+ * modify it under the terms of the GNU Library General Public
48+ * License as published by the Free Software Foundation; either
49+ * version 2 of the License, or (at your option) any later version.
50+ *
51+ * This library is distributed in the hope that it will be useful,
52+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
53+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
54+ * Library General Public License for more details.
55+ *
56+ * You should have received a copy of the GNU Library General Public
57+ * License along with this library; if not, write to the
58+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
59+ * Boston, MA 02110-1301, USA.
60+ */
61
62 package kalmanfilter;
63

Subscribers

People subscribed via source and target branches

to all changes: