You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to the $UDU$-decomposed filter in #987, the square-root-decomposed Kálmán filter is an alternate form of storing the covariance matrix where instead of saving $C$ directly, we save the square root matrix $S = \sqrt{C}$ such that:
$$C = SS^\intercal$$
Like the $UDU$ factorization, this guarantees that the symmetry of the covariance matrix is definitionally conserved (because $AA^\intercal$ is symmetric for all matrices $A$). Unlike the $UDU$ decomposition, it also increases precision but not necessarily computational performance.
Computing the matrix $S$ is trivial using either a Cholesky factorization or using the $UDU$ decompositon algorithm, because:
Taking the square root of a positive definite diagonal matrix $D$ is trivial.
Computation of the innovation matrix remains the same; it remains a multiplication with the Jacobian $C_k = JC_{k | k-1}J^\intercal$. However, we instead construct the following $12\times 6$ block matrix:
Notice that the desired updated covariance $S_k = \sqrt{C_k}$ is a block of $B$, so we can simply extract it. That concludes the application of the Jacobian matrix. The Kálmán gain comes for free from matrix $B$, but note that this will require us to transfer (half of, $12 \times 6$ elements) the matrix $B$ from the propagator to traccc! How do we most efficiently do that?
Note
Unlike the $UDU$-decomposed Kálmán filter, the square-root decomposed filter can be easily applied to smoothing.