MatrixDimensions

Trait MatrixDimensions 

Source
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§

Source

fn get_num_rows(&self) -> i64

Returns the number of rows of a matrix.

Source

fn get_num_columns(&self) -> i64

Returns the number of columns of a matrix.

Implementors§