pub struct VecView<'a, T: Debug + Display + Copy + Sized> { /* private fields */ }
Expand description
Provide window on array
Trait Implementations§
Source§impl<T: Debug + Display + Copy + Sized> ArrayView1<T> for VecView<'_, T>
impl<T: Debug + Display + Copy + Sized> ArrayView1<T> for VecView<'_, T>
Source§fn dot(&self, other: &dyn ArrayView1<T>) -> Twhere
T: Number,
fn dot(&self, other: &dyn ArrayView1<T>) -> Twhere
T: Number,
return dot product with another array
Source§fn max(&self) -> Twhere
T: Number + PartialOrd,
fn max(&self) -> Twhere
T: Number + PartialOrd,
return max value from the view
Source§fn min(&self) -> Twhere
T: Number + PartialOrd,
fn min(&self) -> Twhere
T: Number + PartialOrd,
return min value from the view
Source§fn argmax(&self) -> usizewhere
T: Number + PartialOrd,
fn argmax(&self) -> usizewhere
T: Number + PartialOrd,
return the position of the max value of the view
Source§fn max_diff(&self, other: &dyn ArrayView1<T>) -> T
fn max_diff(&self, other: &dyn ArrayView1<T>) -> T
return max differences in array
Auto Trait Implementations§
impl<'a, T> Freeze for VecView<'a, T>
impl<'a, T> RefUnwindSafe for VecView<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for VecView<'a, T>where
T: Sync,
impl<'a, T> Sync for VecView<'a, T>where
T: Sync,
impl<'a, T> Unpin for VecView<'a, T>
impl<'a, T> UnwindSafe for VecView<'a, T>where
T: RefUnwindSafe,
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