Skip to main content

solve_spp_batch_serial

Function solve_spp_batch_serial 

Source
pub fn solve_spp_batch_serial(
    eph: &dyn EphemerisSource,
    epochs: &[SolveInputs],
    with_geodetic: bool,
    policy: SolvePolicy,
) -> Vec<Result<ReceiverSolution, SolvePolicyError>>
Expand description

Solve a batch of independent SPP epochs against a shared ephemeris, serially.

Element i of the result is solve_with_policy applied to epochs[i], with the shared eph, with_geodetic, and policy (every epoch is one receive instant’s SolveInputs; the receiver’s clock and position are re-estimated per epoch, so the epochs are independent). The first solve error for an epoch becomes that element’s Err. This is the single-threaded reference the parallel solve_spp_batch_parallel is proven bit-identical against.