pub struct ObservationVector { /* private fields */ }Expand description
Observation elements, measured or predicted.
Implementations§
Source§impl ObservationVector
impl ObservationVector
Sourcepub fn new(elements: &[f64]) -> Result<Self>
pub fn new(elements: &[f64]) -> Result<Self>
Vector from elements.
§Errors
KernelError::CapacityExceeded beyond MAX_OBSERVATION_DIM;
KernelError::NotFinite for a non-finite element.
Trait Implementations§
Source§impl Clone for ObservationVector
impl Clone for ObservationVector
impl Copy for ObservationVector
Source§impl Debug for ObservationVector
impl Debug for ObservationVector
Source§impl PartialEq for ObservationVector
impl PartialEq for ObservationVector
impl StructuralPartialEq for ObservationVector
Auto Trait Implementations§
impl Freeze for ObservationVector
impl RefUnwindSafe for ObservationVector
impl Send for ObservationVector
impl Sync for ObservationVector
impl Unpin for ObservationVector
impl UnsafeUnpin for ObservationVector
impl UnwindSafe for ObservationVector
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