pub struct SparseVector<T> { /* private fields */ }
Implementations§
Source§impl<T: Zero> SparseVector<T>
impl<T: Zero> SparseVector<T>
pub fn zero(len: usize) -> SparseVector<T>
Trait Implementations§
Source§impl<T: Mul<Output = T> + Clone + Zero> Mul for SparseVector<T>
impl<T: Mul<Output = T> + Clone + Zero> Mul for SparseVector<T>
Source§type Output = SparseVector<T>
type Output = SparseVector<T>
The resulting type after applying the
*
operator.Source§fn mul(self, rhs: SparseVector<T>) -> SparseVector<T>
fn mul(self, rhs: SparseVector<T>) -> SparseVector<T>
Performs the
*
operation. Read moreAuto Trait Implementations§
impl<T> Freeze for SparseVector<T>where
T: Freeze,
impl<T> RefUnwindSafe for SparseVector<T>where
T: RefUnwindSafe,
impl<T> Send for SparseVector<T>where
T: Send,
impl<T> Sync for SparseVector<T>where
T: Sync,
impl<T> Unpin for SparseVector<T>where
T: Unpin,
impl<T> UnwindSafe for SparseVector<T>where
T: UnwindSafe + 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