pub struct DenseBlock<T: Real = f64> {
pub rows: usize,
pub cols: usize,
pub data: Vec<T>,
}Expand description
A column-major dense block: a_ij = data[i + j·rows].
Fields§
§rows: usizeNumber of rows.
cols: usizeNumber of columns.
data: Vec<T>The entries, column by column (rows · cols of them).
Implementations§
Trait Implementations§
impl<T: PartialEq + Real> StructuralPartialEq for DenseBlock<T>
Auto Trait Implementations§
impl<T> Forget for DenseBlock<T>
impl<T> Freeze for DenseBlock<T>
impl<T> RefUnwindSafe for DenseBlock<T>where
Vec<T>: RefUnwindSafe,
impl<T> Send for DenseBlock<T>
impl<T> Sync for DenseBlock<T>
impl<T> Unpin for DenseBlock<T>
impl<T> UnsafeUnpin for DenseBlock<T>where
Vec<T>: UnsafeUnpin,
impl<T> UnwindSafe for DenseBlock<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