Skip to main content

Error

Type Alias Error 

Source
pub type Error = DopError;
Expand description

Error type returned by DOP calculations.

Aliased Type§

pub enum Error {
    InvalidInput {
        field: &'static str,
        reason: &'static str,
    },
    TooFewSatellites,
    Singular,
}

Variants§

§

InvalidInput

A boundary input was malformed before DOP could be evaluated.

Fields

§field: &'static str

Name of the malformed field.

§reason: &'static str

Stable validation reason.

§

TooFewSatellites

Fewer line-of-sight directions than estimated parameters were supplied (four for a single clock, 3 + n_clocks for several), so the normal matrix cannot be full rank.

§

Singular

The normal matrix H^T W H is singular or ill-conditioned: its determinant is zero, or a variance diagonal is negative or non-finite.