[−][src]Struct mrslac::matrix::dense_row_major::DenseRowMajor
A row-major dense matrix data structure
Implementations
impl DenseRowMajor
[src]
pub fn new(row: usize, col: usize) -> DenseRowMajor
[src]
creates a new matrix
pub fn resize(&mut self, row: usize, col: usize)
[src]
resizes the matrix
Trait Implementations
impl BasicReadableMatrix for DenseRowMajor
[src]
fn get_rows(&self) -> usize
[src]
returns the matrix' rows
fn get_columns(&self) -> usize
[src]
returns the matrix' columns
fn get_element(&self, i: usize, j: usize) -> f32
[src]
returns the (i,j)-th element of the block matrix
impl BasicWriteableMatrix for DenseRowMajor
[src]
Auto Trait Implementations
impl RefUnwindSafe for DenseRowMajor
impl Send for DenseRowMajor
impl Sync for DenseRowMajor
impl Unpin for DenseRowMajor
impl UnwindSafe for DenseRowMajor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,