Covariance matrix helpers for conjunction and orbit analysis.
Supports covariance extraction, frame transforms, and validation checks such as positive semidefiniteness.
The authoritative RTN->ECI frame transform and the symmetric
positive-semidefinite validation live in the sidereon-core Rust core; this
module marshals inputs, performs structural validation, and decodes results.
Summary
Functions
Extract a 3x3 position covariance matrix from a 6-element lower triangle (RTN). Expected order: CR_R (0,0), CT_R (1,0), CT_T (1,1), CN_R (2,0), CN_T (2,1), CN_N (2,2).
Check if a 3x3 matrix is symmetric and positive semidefinite (PSD).
Transform a 3x3 RTN covariance matrix to ECI.
Check if a matrix is symmetric.
Validate that the input is a 3x3 numeric matrix.
Types
Functions
Extract a 3x3 position covariance matrix from a 6-element lower triangle (RTN). Expected order: CR_R (0,0), CT_R (1,0), CT_T (1,1), CN_R (2,0), CN_T (2,1), CN_N (2,2).
Check if a 3x3 matrix is symmetric and positive semidefinite (PSD).
A symmetric 3x3 matrix is PSD if all its principal minors are non-negative.
Transform a 3x3 RTN covariance matrix to ECI.
Check if a matrix is symmetric.
Validate that the input is a 3x3 numeric matrix.