[−][src]Trait mrslac::matrix::BasicReadableMatrix
Required methods
fn get_rows(&self) -> usize
returns the number of rows
fn get_columns(&self) -> usize
returns the number of columns
fn get_element(&self, i: usize, j: usize) -> f32
returns the (i,j)-th element of the matrix
Implementors
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 BasicReadableMatrix for SparseCRS
[src]
fn get_rows(&self) -> usize
[src]
returns the number of rows in the matrix
fn get_columns(&self) -> usize
[src]
returns the number of columns in the matrix
fn get_element(&self, i: usize, j: usize) -> f32
[src]
returns the (i,j)-th element of the matrix