[][src]Enum ndarray_linalg::layout::MatrixLayout

[]
pub enum MatrixLayout {
    C((Row, LDA)),
    F((Col, LDA)),
}

Variants

C((Row, LDA))
F((Col, LDA))

Methods

impl MatrixLayout[src][]

pub fn size(&self) -> (Row, Col)[src]

pub fn resized(&self, row: Row, col: Col) -> MatrixLayout[src]

pub fn lda(&self) -> LDA[src]

pub fn len(&self) -> LEN[src]

pub fn lapacke_layout(&self) -> Layout[src]

pub fn same_order(&self, other: &MatrixLayout) -> bool[src]

pub fn as_shape(&self) -> Shape<Ix2>[src]

pub fn toggle_order(&self) -> Self[src]

Trait Implementations

impl Clone for MatrixLayout[src][+]

impl Copy for MatrixLayout[src]

impl Debug for MatrixLayout[src][+]

impl PartialEq<MatrixLayout> for MatrixLayout[src][+]

impl StructuralPartialEq for MatrixLayout[src]

Auto Trait Implementations

impl RefUnwindSafe for MatrixLayout

impl Send for MatrixLayout

impl Sync for MatrixLayout

impl Unpin for MatrixLayout

impl UnwindSafe for MatrixLayout

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T> ToOwned for T where
    T: Clone
[src][+]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.