Struct mat::Transpose
[−]
[src]
pub struct Transpose<M> { /* fields omitted */ }
The transpose of a matrix
Trait Implementations
impl<M: Clone> Clone for Transpose<M>
[src]
fn clone(&self) -> Transpose<M>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<M: Copy> Copy for Transpose<M>
[src]
impl<M> Matrix for Transpose<M> where
M: Matrix,
[src]
M: Matrix,
type NROWS = M::NCOLS
Number of rows
type NCOLS = M::NROWS
Number of columns
fn get(self, r: usize, c: usize) -> Self::Elem
[src]
Returns the element at row r
and column c
Read more
fn size(self) -> (usize, usize)
[src]
Returns the size of the matrix
fn nrows(self) -> usize
[src]
Returns the number of rows of the matrix
fn ncols(self) -> usize
[src]
Returns the number of columns of the matrix
impl<M> UnsafeGet for Transpose<M> where
M: Matrix,
[src]
M: Matrix,
type Elem = M::Elem
The matrix element type
unsafe fn unsafe_get(self, r: usize, c: usize) -> M::Elem
[src]
Returns the element at row r
and column c
with performing bounds checks
impl<L, R> Mul<R> for Transpose<L> where
L: Matrix,
R: Matrix<NROWS = L::NROWS>,
[src]
L: Matrix,
R: Matrix<NROWS = L::NROWS>,