pub trait MatrixDimensions {
// Required methods
fn get_num_rows(&self) -> i64;
fn get_num_columns(&self) -> i64;
}Expand description
Is implemented by matrices to get the number of rows and number of columns of the matrix.
Required Methods§
Sourcefn get_num_rows(&self) -> i64
fn get_num_rows(&self) -> i64
Returns the number of rows of a matrix.
Sourcefn get_num_columns(&self) -> i64
fn get_num_columns(&self) -> i64
Returns the number of columns of a matrix.