Skip to main content

lambda_ils_search

Function lambda_ils_search 

Source
pub fn lambda_ils_search(
    float_cycles: &[f64],
    covariance: &[Vec<f64>],
    ratio_threshold: f64,
) -> Result<IlsResult, IlsError>
Expand description

Correct integer-least-squares via the LAMBDA method (RTKLIB lambda() port).

Finds the true ILS optimum and runner-up for any positive-definite covariance - no search box, no combinatorial blow-up. Returns the same IlsResult shape as bounded_ils_search so it is a drop-in: in the weakly-correlated regime both select the identical integer vector and ratio; on strongly-correlated geometry only this one is correct.