pub struct DVector<T = f64> { /* private fields */ }Expand description
Dense matrix / vector types re-exported from the tpt-math substrate so
callers can consume assembled operators without a separate dependency.
A dynamically-sized column vector of T, stored as a contiguous Vec.
Implementations§
Source§impl<T> DVector<T>
impl<T> DVector<T>
Sourcepub fn from_row_slice(data: &[T]) -> DVector<T>where
T: Clone,
pub fn from_row_slice(data: &[T]) -> DVector<T>where
T: Clone,
Build from a slice (elements in order).
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for DVector<T>
impl<T> RefUnwindSafe for DVector<T>where
Vec<T>: RefUnwindSafe,
impl<T> Send for DVector<T>
impl<T> Sync for DVector<T>
impl<T> Unpin for DVector<T>
impl<T> UnsafeUnpin for DVector<T>where
Vec<T>: UnsafeUnpin,
impl<T> UnwindSafe for DVector<T>where
Vec<T>: 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