Trait ndarray_linalg::layout::AllocatedArray[][src]

pub trait AllocatedArray {
    type Elem;
    fn layout(&self) -> Result<MatrixLayout>;
fn square_layout(&self) -> Result<MatrixLayout>;
fn ensure_square(&self) -> Result<()>;
fn as_allocated(&self) -> Result<&[Self::Elem]>; }

Associated Types

Loading content...

Required methods

fn layout(&self) -> Result<MatrixLayout>[src]

fn square_layout(&self) -> Result<MatrixLayout>[src]

fn ensure_square(&self) -> Result<()>[src]

Returns Ok iff the matrix is square (without computing the layout).

fn as_allocated(&self) -> Result<&[Self::Elem]>[src]

Loading content...

Implementations on Foreign Types

impl<A, S> AllocatedArray for ArrayBase<S, Ix2> where
    S: Data<Elem = A>, 
[src]

Loading content...

Implementors

Loading content...