Function lupnt::UDUReconstruct¶
Defined in File udu_utils.cc
Function Documentation¶
-
MatXd lupnt::UDUReconstruct(const MatXd &U, const VecXd &D)¶
Reconstruct the covariance matrix
P = U diag(D) U^Tfrom a UDU factorization.Used by
UDUEKF::Predict/CarlsonUpdateto recover the dense covariance fromU_/D_diag_when needed (e.g. before propagation, or to reportP_).- Parameters:
U – Unit-upper-triangular factor, size [n x n]
D – Diagonal factor, size [n]
- Returns:
Reconstructed covariance matrix
P, size [n x n]