[−][src]Trait mop_structs::matrix::Matrix
Required methods
Loading content...Implementors
impl<DS> Matrix for DrMatrix<DS>
[src]
impl<DS, US> Matrix for CsrMatrix<DS, US>
[src]
fn cols(&self) -> usize
[src]
The number of columns.
Examples
use mop_structs::{doc_tests::csr_matrix_array, prelude::*}; assert_eq!(csr_matrix_array().cols(), 5);
fn rows(&self) -> usize
[src]
The number of rows.
Examples
use mop_structs::{doc_tests::csr_matrix_array, prelude::*}; assert_eq!(csr_matrix_array().rows(), 4);