Skip to main content

geometry_cofactor

Function geometry_cofactor 

Source
pub fn geometry_cofactor(
    los: &[LineOfSight],
    weights: &[f64],
    receiver: Wgs84Geodetic,
) -> Result<GeometryCofactor, DopError>
Expand description

Compute the single-clock geometry cofactor matrix from line-of-sight rows.

This exposes the same cofactor matrix that dop uses internally: Q = (H^T W H)^-1, with H rows [-e_x, -e_y, -e_z, 1]. The inverse is the deterministic 4x4 cofactor expansion used by the 0-ULP DOP parity tests.