Returns the number of rows of the matrix. ``` # #[macro_use] extern crate rustml; use rustml::*; # fn main() { let m = mat![ 1.0, 1.5, 1.8; 2.0, 2.5, 2.8 ]; assert_eq!(m.rows(), 2); # } ```
(&self)
| 374 | /// # } |
| 375 | /// ``` |
| 376 | pub fn rows (&self) -> usize { self.nrows } |
| 377 | |
| 378 | /// Returns the number of columns of the matrix. |
| 379 | /// |
no outgoing calls
no test coverage detected