Struct bayes_estimate::estimators::ud::UDState[][src]

pub struct UDState<N: RealField, D: Dim> where
    DefaultAllocator: Allocator<N, D, D> + Allocator<N, D>, 
{ pub x: OVector<N, D>, pub UD: OMatrix<N, D, D>, // some fields omitted }
Expand description

UD State representation.

Linear representation as a state vector and ‘square root’ factorisation of the state covariance matrix. Numerically the this ‘square root’ factorisation is advantageous as conditioning for inverting is improved by the square root.

The state covariance is represented as a U.d.U’ factorisation, where U is upper triangular matrix (0 diagonal) and d is a diagonal vector. U and d are packed into a single UD Matrix, the lower Triangle ist not part of state representation.

Fields

x: OVector<N, D>

State vector

UD: OMatrix<N, D, D>

UD matrix representation of state covariance

Implementations

Create a UDState for given state dimensions.

D is the size of states vector and rows in UD.

Create a UDState for given state dimensions.

d is the size of states vector and rows in UD.

Implement observe using sequential observation updates.

Uncorrelated observations are applied sequentially in the order they appear in z.

Special Linear ‘hx’ observe for correlated factorised noise.

Observation predictions are made with the linear ‘hx’. This allows the observation noise to be decorrelated. Observations can then be applied for each element in the order they appear in z.

Return: Minimum rcond of all sequential observations

Trait Implementations

The estimator’s estimate of the system’s state.

Initialise the UDState with a KalmanState.

The covariance matrix X is factorised into a U.d.U’ as a UD matrix.

Derive the KalmanState from the UDState.

The covariance matrix X is recomposed from U.d.U’ in the UD matrix.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more

Checks if self is actually part of its subset T (and can be converted to it).

Use with care! Same as self.to_subset but without any property checks. Always succeeds.

The inclusion map: converts self to the equivalent element of its superset.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.