Skip to main content

solve_with_solver

Function solve_with_solver 

Source
pub fn solve_with_solver(
    eph: &dyn EphemerisSource,
    inputs: &SolveInputs,
    with_geodetic: bool,
    solver: SolverRecipe,
) -> Result<ReceiverSolution, SppError>
Expand description

SPP solve with an explicit SolverRecipe for the trust-region stage.

Selecting SolverRecipe::NalgebraTrfLegacy is bit-identical to solve. SolverRecipe::OwnedDeterministicTrf swaps in the owned deterministic Gaussian-elimination factorization for the dense trust-region subproblem (no nalgebra LU, no black-box BLAS in that solve), pinned to its own frozen-bits golden; all other model stages are unchanged. The owned kernel uses fixed-order scalar arithmetic for the complete trust-region assembly and factorization (no nalgebra LU or black-box BLAS), so its converged bits are portable across CPU targets.