pub struct LinearKalmanFilter<const S: usize, const M: usize> {
pub x: [f64; S],
pub p: [[f64; S]; S],
pub f: [[f64; S]; S],
pub q: [[f64; S]; S],
pub h: [[f64; S]; M],
pub r: [[f64; M]; M],
}Expand description
Generic N-dimensional Linear Kalman Filter using const-generics.
Fields§
§x: [f64; S]§p: [[f64; S]; S]§f: [[f64; S]; S]§q: [[f64; S]; S]§h: [[f64; S]; M]§r: [[f64; M]; M]Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<const S: usize, const M: usize> Freeze for LinearKalmanFilter<S, M>
impl<const S: usize, const M: usize> RefUnwindSafe for LinearKalmanFilter<S, M>where
[f64; S]: RefUnwindSafe,
[[f64; S]; S]: RefUnwindSafe,
[[f64; S]; M]: RefUnwindSafe,
[[f64; M]; M]: RefUnwindSafe,
impl<const S: usize, const M: usize> Send for LinearKalmanFilter<S, M>
impl<const S: usize, const M: usize> Sync for LinearKalmanFilter<S, M>
impl<const S: usize, const M: usize> Unpin for LinearKalmanFilter<S, M>
impl<const S: usize, const M: usize> UnsafeUnpin for LinearKalmanFilter<S, M>where
[f64; S]: UnsafeUnpin,
[[f64; S]; S]: UnsafeUnpin,
[[f64; S]; M]: UnsafeUnpin,
[[f64; M]; M]: UnsafeUnpin,
impl<const S: usize, const M: usize> UnwindSafe for LinearKalmanFilter<S, M>where
[f64; S]: UnwindSafe,
[[f64; S]; S]: UnwindSafe,
[[f64; S]; M]: UnwindSafe,
[[f64; M]; M]: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more