Type Definition extendr_api::matrix::RMatrix3D [−][src]
type RMatrix3D<T> = RArray<T, [usize; 3]>;
Implementations
impl<T> RMatrix3D<T>
[src]
pub fn new(data: T, nrows: usize, ncols: usize, nsub: usize) -> Self
[src]
Create a new matrix wrapper.
pub fn nrows(&self) -> usize
[src]
Get the number of rows.
pub fn ncols(&self) -> usize
[src]
Get the number of columns.
pub fn nsub(&self) -> usize
[src]
Get the number of submatrices.