Struct bayes_estimate::estimators::information_root::InformationRootState[][src]

pub struct InformationRootState<N: SimdRealField, D: Dim> where
    DefaultAllocator: Allocator<N, D, D> + Allocator<N, D>, 
{ pub r: VectorN<N, D>, pub R: MatrixN<N, D>, }

Information State.

Linear representation as a information root state vector and the information root (upper triangular) matrix. For a given KalmanState the information root state inverse(R).inverse(R)’ == X, r == R.x For a given InformationState the information root state R’.R == I, r == invserse(R).i

Fields

r: VectorN<N, D>

Information root state vector

R: MatrixN<N, D>

Information root matrix (upper triangular)

Implementations

impl<N: RealField, D: Dim> InformationRootState<N, D> where
    DefaultAllocator: Allocator<N, D, D> + Allocator<N, D>, 
[src]

pub fn new_zero(d: D) -> InformationRootState<N, D>[src]

pub fn init_information(
    &mut self,
    state: &InformationState<N, D>
) -> Result<N, &'static str>
[src]

pub fn information_state(&self) -> Result<InformationState<N, D>, &'static str>[src]

impl<N: RealField, D: Dim> InformationRootState<N, D> where
    DefaultAllocator: Allocator<N, D, D> + Allocator<N, D>, 
[src]

pub fn predict<QD: Dim>(
    &mut self,
    x_pred: &VectorN<N, D>,
    fx: &MatrixN<N, D>,
    noise: &CoupledNoise<N, D, QD>
) -> Result<(), &'static str> where
    D: DimAdd<QD>,
    DefaultAllocator: Allocator<N, DimSum<D, QD>, DimSum<D, QD>> + Allocator<N, DimSum<D, QD>> + Allocator<N, D, QD> + Allocator<N, QD>,
    DimSum<D, QD>: DimMin<DimSum<D, QD>>,
    DefaultAllocator: Allocator<N, DimMinimum<DimSum<D, QD>, DimSum<D, QD>>> + Allocator<N, DimMinimum<DimSum<D, QD>, DimSum<D, QD>>, DimSum<D, QD>>, 
[src]

pub fn predict_inv_model<QD: Dim>(
    &mut self,
    x_pred: &VectorN<N, D>,
    fx_inv: &MatrixN<N, D>,
    noise: &CoupledNoise<N, D, QD>
) -> Result<N, &'static str> where
    D: DimAdd<QD>,
    DefaultAllocator: Allocator<N, DimSum<D, QD>, DimSum<D, QD>> + Allocator<N, DimSum<D, QD>> + Allocator<N, D, QD> + Allocator<N, QD>,
    DimSum<D, QD>: DimMin<DimSum<D, QD>>,
    DefaultAllocator: Allocator<N, DimMinimum<DimSum<D, QD>, DimSum<D, QD>>> + Allocator<N, DimMinimum<DimSum<D, QD>, DimSum<D, QD>>, DimSum<D, QD>>, 
[src]

pub fn observe_info<ZD: Dim>(
    &mut self,
    z: &VectorN<N, ZD>,
    hx: &MatrixMN<N, ZD, D>,
    noise_inv: &MatrixN<N, ZD>
) -> Result<(), &'static str> where
    DefaultAllocator: Allocator<N, D, D> + Allocator<N, ZD, D> + Allocator<N, ZD, ZD> + Allocator<N, D> + Allocator<N, ZD>,
    D: DimAdd<ZD> + DimAdd<U1>,
    DefaultAllocator: Allocator<N, DimSum<D, ZD>, DimSum<D, U1>> + Allocator<N, DimSum<D, ZD>>,
    DimSum<D, ZD>: DimMin<DimSum<D, U1>>,
    DefaultAllocator: Allocator<N, DimMinimum<DimSum<D, ZD>, DimSum<D, U1>>> + Allocator<N, DimMinimum<DimSum<D, ZD>, DimSum<D, U1>>, DimSum<D, U1>>, 
[src]

Trait Implementations

impl<N: Clone + SimdRealField, D: Clone + Dim> Clone for InformationRootState<N, D> where
    DefaultAllocator: Allocator<N, D, D> + Allocator<N, D>, 
[src]

impl<N: RealField, D: Dim> Estimator<N, D> for InformationRootState<N, D> where
    DefaultAllocator: Allocator<N, D, D> + Allocator<N, D>, 
[src]

impl<N: RealField, D: Dim, ZD: Dim> ExtendedLinearObserver<N, D, ZD> for InformationRootState<N, D> where
    DefaultAllocator: Allocator<N, D, D> + Allocator<N, ZD, D> + Allocator<N, ZD, ZD> + Allocator<N, D> + Allocator<N, ZD>,
    D: DimAdd<ZD> + DimAdd<U1>,
    DefaultAllocator: Allocator<N, DimSum<D, ZD>, DimSum<D, U1>> + Allocator<N, DimSum<D, ZD>>,
    DimSum<D, ZD>: DimMin<DimSum<D, U1>>,
    DefaultAllocator: Allocator<N, DimMinimum<DimSum<D, ZD>, DimSum<D, U1>>> + Allocator<N, DimMinimum<DimSum<D, ZD>, DimSum<D, U1>>, DimSum<D, U1>>, 
[src]

impl<N: RealField, D: Dim> KalmanEstimator<N, D> for InformationRootState<N, D> where
    DefaultAllocator: Allocator<N, D, D> + Allocator<N, D>, 
[src]

impl<N: PartialEq + SimdRealField, D: PartialEq + Dim> PartialEq<InformationRootState<N, D>> for InformationRootState<N, D> where
    DefaultAllocator: Allocator<N, D, D> + Allocator<N, D>, 
[src]

impl<N: SimdRealField, D: Dim> StructuralPartialEq for InformationRootState<N, D> where
    DefaultAllocator: Allocator<N, D, D> + Allocator<N, D>, 
[src]

Auto Trait Implementations

impl<N, D> !RefUnwindSafe for InformationRootState<N, D>

impl<N, D> !Send for InformationRootState<N, D>

impl<N, D> !Sync for InformationRootState<N, D>

impl<N, D> !Unpin for InformationRootState<N, D>

impl<N, D> !UnwindSafe for InformationRootState<N, D>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,