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.

Trait Implementations

impl<'a, T> FromRobj<'a> for RMatrix3D<&'a [T]> where
    Robj: AsTypedSlice<'a, T>, 
[src]