Struct bayes_estimate::models::KalmanState[][src]

pub struct KalmanState<N: SimdRealField, D: Dim> where
    DefaultAllocator: Allocator<N, D, D> + Allocator<N, D>, 
{ pub x: VectorN<N, D>, pub X: MatrixN<N, D>, }

Kalman state.

Linear representation as a state vector and the state covariance (symmetric positive semi-definite) matrix.

Fields

x: VectorN<N, D>

State vector

X: MatrixN<N, D>

State covariance matrix (symmetric positive semi-definite)

Implementations

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

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

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

pub fn predict_unscented(
    &mut self,
    f: fn(_: &VectorN<N, D>) -> VectorN<N, D>,
    noise: &CorrelatedNoise<N, D>,
    kappa: N
) -> Result<(), &'static str>
[src]

State prediction with a functional prediction model and additive noise.

pub fn observe_unscented<ZD: Dim>(
    &mut self,
    h: fn(_: &VectorN<N, D>) -> VectorN<N, ZD>,
    h_normalise: fn(_: &mut VectorN<N, ZD>, _: &VectorN<N, ZD>),
    noise: &CorrelatedNoise<N, ZD>,
    s: &VectorN<N, ZD>,
    kappa: N
) -> Result<(), &'static str> where
    DefaultAllocator: Allocator<N, D, ZD> + Allocator<N, ZD, ZD> + Allocator<N, U1, ZD> + Allocator<N, ZD>, 
[src]

Trait Implementations

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

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

impl<N: RealField, D: Dim, ZD: Dim> ExtendedLinearObserver<N, D, ZD> for KalmanState<N, D> where
    DefaultAllocator: Allocator<N, D, D> + Allocator<N, ZD, ZD> + Allocator<N, ZD, D> + Allocator<N, D, ZD> + Allocator<N, D> + Allocator<N, ZD>, 
[src]

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

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

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

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

Auto Trait Implementations

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

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

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

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

impl<N, D> !UnwindSafe for KalmanState<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>,