Struct const_matrix::matrix::SMatrix [−][src]
Expand description
A matrix which is allocated on the stack.
An SMatrix is itself Numeric, so that its
elements can also be other stack-allocated matrices which
theoretically could contain SMatrices themselves up to
arbitrarily deep finite nesting levels..
Implementations
Creates a new stack-allocated matrix from the given initial values.
Creates a stack-allocated transpose of this matrix.
pub fn mul_val_to_heap<const COLS_RIGHT: usize>(
&self,
rhs: SMatrix<T, COLS_LEFT, COLS_RIGHT>
) -> HMatrix<T, ROWS_LEFT, COLS_RIGHT>
pub fn mul_val_to_heap<const COLS_RIGHT: usize>(
&self,
rhs: SMatrix<T, COLS_LEFT, COLS_RIGHT>
) -> HMatrix<T, ROWS_LEFT, COLS_RIGHT>
Multiply two stack matrices and allocate the result on the heap.
pub fn mul_ref_to_heap<const COLS_RIGHT: usize>(
&self,
rhs: &SMatrix<T, COLS_LEFT, COLS_RIGHT>
) -> HMatrix<T, ROWS_LEFT, COLS_RIGHT>
pub fn mul_ref_to_heap<const COLS_RIGHT: usize>(
&self,
rhs: &SMatrix<T, COLS_LEFT, COLS_RIGHT>
) -> HMatrix<T, ROWS_LEFT, COLS_RIGHT>
Multiply two stack matrices and allocate the result on the heap.
pub fn mul_val_to_stack<const COLS_RIGHT: usize>(
&self,
rhs: HMatrix<T, COLS_LEFT, COLS_RIGHT>
) -> SMatrix<T, ROWS_LEFT, COLS_RIGHT>
pub fn mul_val_to_stack<const COLS_RIGHT: usize>(
&self,
rhs: HMatrix<T, COLS_LEFT, COLS_RIGHT>
) -> SMatrix<T, ROWS_LEFT, COLS_RIGHT>
Multiply a stack matrix with a heap matrix and allocate the result on the stack.
pub fn mul_ref_to_stack<const COLS_RIGHT: usize>(
&self,
rhs: &HMatrix<T, COLS_LEFT, COLS_RIGHT>
) -> SMatrix<T, ROWS_LEFT, COLS_RIGHT>
pub fn mul_ref_to_stack<const COLS_RIGHT: usize>(
&self,
rhs: &HMatrix<T, COLS_LEFT, COLS_RIGHT>
) -> SMatrix<T, ROWS_LEFT, COLS_RIGHT>
Multiply a stack matrix with a heap matrix and allocate the result on the stack.
Trait Implementations
Performs the += operation. Read more
Performs the += operation. Read more
Performs the += operation. Read more
Performs the += operation. Read more
Performs the += operation. Read more
Performs the += operation. Read more
Performs the += operation. Read more
Performs the += operation. Read more
Performs the += operation. Read more
Performs the += operation. Read more
Performs the += operation. Read more
Performs the += operation. Read more
Performs the += operation. Read more
Performs the += operation. Read more
Performs the += operation. Read more
Performs the += operation. Read more
Performs the += operation. Read more
Performs the += operation. Read more
Performs the *= operation. Read more
Performs the *= operation. Read more
Performs the *= operation. Read more
Performs the *= operation. Read more
Performs the *= operation. Read more
Performs the *= operation. Read more
Performs the *= operation. Read more
Performs the *= operation. Read more
Performs the *= operation. Read more
Performs the *= operation. Read more
Performs the *= operation. Read more
Performs the *= operation. Read more
Performs the *= operation. Read more
Performs the *= operation. Read more
Performs the *= operation. Read more
Performs the *= operation. Read more
Performs the *= operation. Read more
Performs the *= operation. Read more
Inplace scalar multiplication for SMatrix implemented as MulAssign.
Performs the *= operation. Read more
Inplace scalar multiplication for a &mut SMatrix implemented as MulAssign.
Performs the *= operation. Read more
Performs the -= operation. Read more
Performs the -= operation. Read more
Performs the -= operation. Read more
Performs the -= operation. Read more
Performs the -= operation. Read more
Performs the -= operation. Read more
Performs the -= operation. Read more
Performs the -= operation. Read more
Performs the -= operation. Read more
Performs the -= operation. Read more
Performs the -= operation. Read more
Performs the -= operation. Read more
Performs the -= operation. Read more
Performs the -= operation. Read more
Performs the -= operation. Read more
Performs the -= operation. Read more
Performs the -= operation. Read more
Performs the -= operation. Read more
Auto Trait Implementations
impl<T, const ROWS: usize, const COLS: usize> RefUnwindSafe for SMatrix<T, ROWS, COLS> where
T: RefUnwindSafe,
impl<T, const ROWS: usize, const COLS: usize> UnwindSafe for SMatrix<T, ROWS, COLS> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more