Enum lax::layout::MatrixLayout [−][src]
Variants
Implementations
Transpose without changing memory representation
C-contigious row=2, lda=3
[[1, 2, 3] [4, 5, 6]]
and F-contigious col=2, lda=3
[[1, 4] [2, 5] [3, 6]]
have same memory representation [1, 2, 3, 4, 5, 6]
, and this toggles them.
let layout = MatrixLayout::C { row: 2, lda: 3 }; assert_eq!(layout.t(), MatrixLayout::F { col: 2, lda: 3 });
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V