pub type RMatrix<T> = RArray<T, [usize; 2]>;
impl<'a, T: ToVectorValue + 'a> RMatrix<T> where Robj: AsTypedSlice<'a, T>,
pub fn new_matrix<F: Clone + FnMut(usize, usize) -> T>( nrows: usize, ncols: usize, f: F) -> Self
Create a new matrix wrapper. Make a new column type.
pub fn nrows(&self) -> usize
Get the number of rows.
pub fn ncols(&self) -> usize
Get the number of columns.
impl<'a, T: 'a> TryFrom<Robj> for RMatrix<T> where Robj: AsTypedSlice<'a, T>,
type Error = Error
The type returned in the event of a conversion error.
fn try_from(robj: Robj) -> Result<Self>
Performs the conversion.