
where
is Gaussian noise with zero mean and covariance matrix
.
The measurement model takes the form:
where
is Gaussian noise with zero mean and covariance matrix
.
For notational convenience, we define
as the expected value and
as the covariance matrix of the distribution
.
Definition at line 39 of file LinearModel.hpp.
Public Member Functions | |
| LinearModel (indii::ml::aux::matrix &A, indii::ml::aux::matrix &G, indii::ml::aux::symmetric_matrix &Q, indii::ml::aux::matrix &C, indii::ml::aux::symmetric_matrix &R) | |
| Create new linear model. | |
| virtual | ~LinearModel () |
| Destructor. | |
| virtual indii::ml::aux::GaussianPdf | p_xtnp1_ytn (const indii::ml::aux::GaussianPdf &p_xtn_ytn, const unsigned int delta) |
| Predict next system state. | |
| virtual indii::ml::aux::GaussianPdf | p_xtnp1_ytnp1 (const indii::ml::aux::GaussianPdf &p_xtnp1_ytn, const indii::ml::aux::vector &ytnp1, const unsigned int delta) |
| Refine prediction of next system state using next measurement. | |
| virtual indii::ml::aux::GaussianPdf | p_y_x (const indii::ml::aux::GaussianPdf &p_x) |
| Predict measurement from system state. | |
| virtual indii::ml::aux::GaussianPdf | p_xtn_ytT (const indii::ml::aux::GaussianPdf &p_xtnp1_ytT, const indii::ml::aux::GaussianPdf &p_xtnp1_ytn, const indii::ml::aux::GaussianPdf &p_xtn_ytn, const unsigned int delta) |
| Perform smoothing update. | |
| virtual indii::ml::aux::GaussianPdf | p_xtnm1_ytn (const indii::ml::aux::GaussianPdf &p_xtn_ytn, const unsigned int delta) |
| Predict previous system state. | |
| virtual indii::ml::aux::GaussianPdf | p_xtnm1_ytnm1 (const indii::ml::aux::GaussianPdf &p_xtnm1_ytn, const indii::ml::aux::vector &ytnm1, const unsigned int delta) |
| Refine prediction of previous system state using previous measurement. | |
| LinearModel | ( | indii::ml::aux::matrix & | A, | |
| indii::ml::aux::matrix & | G, | |||
| indii::ml::aux::symmetric_matrix & | Q, | |||
| indii::ml::aux::matrix & | C, | |||
| indii::ml::aux::symmetric_matrix & | R | |||
| ) |
Create new linear model.
| A | | |
| G | | |
| Q | | |
| C | | |
| R | ![]() |
Definition at line 16 of file LinearModel.cpp.
| ~LinearModel | ( | ) | [virtual] |
| aux::GaussianPdf p_xtnp1_ytn | ( | const indii::ml::aux::GaussianPdf & | p_xtn_ytn, | |
| const unsigned int | delta | |||
| ) | [virtual] |
Predict next system state.
Implements KalmanFilterModel< unsigned int >.
Definition at line 43 of file LinearModel.cpp.
| aux::GaussianPdf p_xtnp1_ytnp1 | ( | const indii::ml::aux::GaussianPdf & | p_xtnp1_ytn, | |
| const indii::ml::aux::vector & | ytnp1, | |||
| const unsigned int | delta | |||
| ) | [virtual] |
Refine prediction of next system state using next measurement.
Let the Kalman gain be defined as:
Then the measurement update proceeds as follows:
Implements KalmanFilterModel< unsigned int >.
Definition at line 65 of file LinearModel.cpp.
| aux::GaussianPdf p_y_x | ( | const indii::ml::aux::GaussianPdf & | p_x | ) | [virtual] |
Predict measurement from system state.
If p_x has mean
and covariance
, the return value has mean
and covariance
defined by:
Implements KalmanFilterModel< unsigned int >.
Definition at line 89 of file LinearModel.cpp.
| aux::GaussianPdf p_xtn_ytT | ( | const indii::ml::aux::GaussianPdf & | p_xtnp1_ytT, | |
| const indii::ml::aux::GaussianPdf & | p_xtnp1_ytn, | |||
| const indii::ml::aux::GaussianPdf & | p_xtn_ytn, | |||
| const unsigned int | delta | |||
| ) | [virtual] |
Perform smoothing update.
Let:
The smoothing update proceeds as follows:
Implements RauchTungStriebelSmootherModel< unsigned int >.
Definition at line 104 of file LinearModel.cpp.
| aux::GaussianPdf p_xtnm1_ytn | ( | const indii::ml::aux::GaussianPdf & | p_xtn_ytn, | |
| const unsigned int | delta | |||
| ) | [virtual] |
Predict previous system state.
| p_xtn_ytn | ; distribution over states at the current time given present and future measurements. | |
| delta | ; time step. |
; predicted distribution over states at time
given future measurements. Implements KalmanSmootherModel< unsigned int >.
Definition at line 131 of file LinearModel.cpp.
| aux::GaussianPdf p_xtnm1_ytnm1 | ( | const indii::ml::aux::GaussianPdf & | p_xtnm1_ytn, | |
| const indii::ml::aux::vector & | ytnm1, | |||
| const unsigned int | delta | |||
| ) | [virtual] |
Refine prediction of previous system state using previous measurement.
| p_xtnm1_ytn | ; predicted distribution over states at time given the history of measurements. Typically obtained from prior call to p_xtnm1_ytn. | |
| ytnm1 | ; the measurement at time . | |
| delta | ; time step. |
; distribution over states at time
given the present and future measurements. Implements KalmanSmootherModel< unsigned int >.
Definition at line 182 of file LinearModel.cpp.
1.5.3