pub struct MatrixDxS<T, const COLUMNS: usize> { /* private fields */ }Expand description
A dynamic x static matrix where the columns dimension is known at compile time.
let _ = static_la::MatrixDxS::from(vec![[1, 2, 3], [4, 5, 6]]);Implementations
sourceimpl<'a, T: Debug, const COLUMNS: usize> MatrixDxS<T, COLUMNS> where
[(); 1 * COLUMNS]: ,
impl<'a, T: Debug, const COLUMNS: usize> MatrixDxS<T, COLUMNS> where
[(); 1 * COLUMNS]: ,
sourcepub fn iter_mut(&'a mut self) -> impl Iterator<Item = &'a mut T>
pub fn iter_mut(&'a mut self) -> impl Iterator<Item = &'a mut T>
A mutable iterator over all elements.
sourcepub fn rows_iter(&'a self) -> impl Iterator<Item = RowVectorS<&'a T, COLUMNS>>
pub fn rows_iter(&'a self) -> impl Iterator<Item = RowVectorS<&'a T, COLUMNS>>
An iterator over rows.
sourcepub fn columns_iter(&'a self) -> impl Iterator<Item = ColumnVectorD<&'a T>>
pub fn columns_iter(&'a self) -> impl Iterator<Item = ColumnVectorD<&'a T>>
An iterator over columns.
sourceimpl<T: Sum<T> + Copy + Default + Debug, const COLUMNS: usize> MatrixDxS<T, COLUMNS> where
[(); 1 * COLUMNS]: ,
impl<T: Sum<T> + Copy + Default + Debug, const COLUMNS: usize> MatrixDxS<T, COLUMNS> where
[(); 1 * COLUMNS]: ,
sourcepub fn row_sum(&self) -> ColumnVectorD<T>
pub fn row_sum(&self) -> ColumnVectorD<T>
Gets the sum of each row.
sourcepub fn column_sum(&self) -> RowVectorS<T, COLUMNS>
pub fn column_sum(&self) -> RowVectorS<T, COLUMNS>
Gets the sum of each column.
Trait Implementations
sourceimpl<T: AddAssign + Copy, const COLUMNS: usize> Add<MatrixDxS<T, COLUMNS>> for MatrixDxS<T, COLUMNS>
impl<T: AddAssign + Copy, const COLUMNS: usize> Add<MatrixDxS<T, COLUMNS>> for MatrixDxS<T, COLUMNS>
sourceimpl<T: Add<Output = T> + Copy + Default, const ROWS: usize, const COLUMNS: usize> Add<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS> where
[(); ROWS * COLUMNS]: ,
impl<T: Add<Output = T> + Copy + Default, const ROWS: usize, const COLUMNS: usize> Add<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: AddAssign + Copy, const ROWS: usize, const COLUMNS: usize> Add<MatrixDxS<T, COLUMNS>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: AddAssign + Copy, const ROWS: usize, const COLUMNS: usize> Add<MatrixDxS<T, COLUMNS>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: Add<Output = T> + Copy + Default, const ROWS: usize, const COLUMNS: usize> Add<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: Add<Output = T> + Copy + Default, const ROWS: usize, const COLUMNS: usize> Add<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: AddAssign + Copy, const ROWS: usize, const COLUMNS: usize> Add<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: AddAssign + Copy, const ROWS: usize, const COLUMNS: usize> Add<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: AddAssign + Copy, const COLUMNS: usize> AddAssign<MatrixDxD<T>> for MatrixDxS<T, COLUMNS>
impl<T: AddAssign + Copy, const COLUMNS: usize> AddAssign<MatrixDxD<T>> for MatrixDxS<T, COLUMNS>
sourcefn add_assign(&mut self, other: MatrixDxD<T>)
fn add_assign(&mut self, other: MatrixDxD<T>)
Performs the += operation. Read more
sourceimpl<T: AddAssign + Copy, const COLUMNS: usize> AddAssign<MatrixDxS<T, COLUMNS>> for MatrixDxD<T>
impl<T: AddAssign + Copy, const COLUMNS: usize> AddAssign<MatrixDxS<T, COLUMNS>> for MatrixDxD<T>
sourcefn add_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
fn add_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
Performs the += operation. Read more
sourceimpl<T: AddAssign + Copy, const COLUMNS: usize> AddAssign<MatrixDxS<T, COLUMNS>> for MatrixDxS<T, COLUMNS>
impl<T: AddAssign + Copy, const COLUMNS: usize> AddAssign<MatrixDxS<T, COLUMNS>> for MatrixDxS<T, COLUMNS>
sourcefn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the += operation. Read more
sourceimpl<T: AddAssign + Copy, const ROWS: usize, const COLUMNS: usize> AddAssign<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS>
impl<T: AddAssign + Copy, const ROWS: usize, const COLUMNS: usize> AddAssign<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS>
sourcefn add_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
fn add_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
Performs the += operation. Read more
sourceimpl<T: AddAssign + Copy, const ROWS: usize, const COLUMNS: usize> AddAssign<MatrixDxS<T, COLUMNS>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: AddAssign + Copy, const ROWS: usize, const COLUMNS: usize> AddAssign<MatrixDxS<T, COLUMNS>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourcefn add_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
fn add_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
Performs the += operation. Read more
sourceimpl<T: AddAssign + Copy, const ROWS: usize, const COLUMNS: usize> AddAssign<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS>
impl<T: AddAssign + Copy, const ROWS: usize, const COLUMNS: usize> AddAssign<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS>
sourcefn add_assign(&mut self, other: MatrixSxD<T, ROWS>)
fn add_assign(&mut self, other: MatrixSxD<T, ROWS>)
Performs the += operation. Read more
sourceimpl<T: AddAssign + Copy + Default, const ROWS: usize, const COLUMNS: usize> AddAssign<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: AddAssign + Copy + Default, const ROWS: usize, const COLUMNS: usize> AddAssign<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourcefn add_assign(&mut self, other: MatrixSxS<T, ROWS, COLUMNS>)
fn add_assign(&mut self, other: MatrixSxS<T, ROWS, COLUMNS>)
Performs the += operation. Read more
sourceimpl<T: Clone + Default + Debug, const COLUMNS: usize> AddColumns<MatrixDxD<T>> for MatrixDxS<T, COLUMNS>
impl<T: Clone + Default + Debug, const COLUMNS: usize> AddColumns<MatrixDxD<T>> for MatrixDxS<T, COLUMNS>
type Output = MatrixDxD<T>
sourcefn add_columns(self, columns: MatrixDxD<T>) -> Self::Output
fn add_columns(self, columns: MatrixDxD<T>) -> Self::Output
This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more
sourceimpl<T: Clone + Default + Copy, const ROWS: usize, const COLUMNS: usize, const C: usize> AddColumns<MatrixDxS<T, C>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
[(); ROWS * { COLUMNS + C }]: ,
impl<T: Clone + Default + Copy, const ROWS: usize, const COLUMNS: usize, const C: usize> AddColumns<MatrixDxS<T, C>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
[(); ROWS * { COLUMNS + C }]: ,
type Output = MatrixSxS<T, ROWS, { COLUMNS + C }>
sourcefn add_columns(self, columns: MatrixDxS<T, C>) -> Self::Output
fn add_columns(self, columns: MatrixDxS<T, C>) -> Self::Output
This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more
sourceimpl<T: Clone + Default + Copy + Debug, const COLUMNS: usize, const C: usize> AddColumns<MatrixDxS<T, C>> for MatrixDxS<T, COLUMNS> where
[(); COLUMNS + C]: ,
impl<T: Clone + Default + Copy + Debug, const COLUMNS: usize, const C: usize> AddColumns<MatrixDxS<T, C>> for MatrixDxS<T, COLUMNS> where
[(); COLUMNS + C]: ,
type Output = MatrixDxS<T, { COLUMNS + C }>
sourcefn add_columns(self, columns: MatrixDxS<T, C>) -> Self::Output
fn add_columns(self, columns: MatrixDxS<T, C>) -> Self::Output
This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more
sourceimpl<T: Clone + Default + Copy + Debug, const ROWS: usize, const COLUMNS: usize> AddColumns<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS>
impl<T: Clone + Default + Copy + Debug, const ROWS: usize, const COLUMNS: usize> AddColumns<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS>
type Output = MatrixSxD<T, ROWS>
sourcefn add_columns(self, columns: MatrixDxS<T, COLUMNS>) -> Self::Output
fn add_columns(self, columns: MatrixDxS<T, COLUMNS>) -> Self::Output
This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more
sourceimpl<T: Clone + Default + Copy + Debug, const COLUMNS: usize> AddColumns<MatrixDxS<T, COLUMNS>> for MatrixDxD<T>
impl<T: Clone + Default + Copy + Debug, const COLUMNS: usize> AddColumns<MatrixDxS<T, COLUMNS>> for MatrixDxD<T>
type Output = MatrixDxD<T>
sourcefn add_columns(self, columns: MatrixDxS<T, COLUMNS>) -> Self::Output
fn add_columns(self, columns: MatrixDxS<T, COLUMNS>) -> Self::Output
This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more
sourceimpl<T: Clone + Default + Copy + Debug, const ROWS: usize, const COLUMNS: usize> AddColumns<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS>
impl<T: Clone + Default + Copy + Debug, const ROWS: usize, const COLUMNS: usize> AddColumns<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS>
type Output = MatrixSxD<T, ROWS>
sourcefn add_columns(self, columns: MatrixSxD<T, ROWS>) -> Self::Output
fn add_columns(self, columns: MatrixSxD<T, ROWS>) -> Self::Output
This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more
sourceimpl<T: Clone + Default + Copy + Debug, const ROWS: usize, const COLUMNS: usize, const C: usize> AddColumns<MatrixSxS<T, ROWS, C>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * { COLUMNS + C }]: ,
[(); ROWS * C]: ,
impl<T: Clone + Default + Copy + Debug, const ROWS: usize, const COLUMNS: usize, const C: usize> AddColumns<MatrixSxS<T, ROWS, C>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * { COLUMNS + C }]: ,
[(); ROWS * C]: ,
type Output = MatrixSxS<T, ROWS, { COLUMNS + C }>
sourcefn add_columns(self, columns: MatrixSxS<T, ROWS, C>) -> Self::Output
fn add_columns(self, columns: MatrixSxS<T, ROWS, C>) -> Self::Output
This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more
sourceimpl<T: Clone, const ROWS: usize, const COLUMNS: usize> AddRows<MatrixDxS<T, COLUMNS>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: Clone, const ROWS: usize, const COLUMNS: usize> AddRows<MatrixDxS<T, COLUMNS>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: Clone + Debug, const ROWS: usize, const COLUMNS: usize> AddRows<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS>
impl<T: Clone + Debug, const ROWS: usize, const COLUMNS: usize> AddRows<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS>
sourceimpl<T: Clone + Debug, const ROWS: usize, const COLUMNS: usize> AddRows<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS>
impl<T: Clone + Debug, const ROWS: usize, const COLUMNS: usize> AddRows<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS>
sourceimpl<T: Clone + Default + Copy, const ROWS: usize, const COLUMNS: usize> AddRows<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: Clone + Default + Copy, const ROWS: usize, const COLUMNS: usize> AddRows<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: Div<Output = T> + Copy, const COLUMNS: usize> Div<MatrixDxS<T, COLUMNS>> for MatrixDxD<T>
impl<T: Div<Output = T> + Copy, const COLUMNS: usize> Div<MatrixDxS<T, COLUMNS>> for MatrixDxD<T>
sourceimpl<T: DivAssign + Copy, const COLUMNS: usize> Div<MatrixDxS<T, COLUMNS>> for MatrixDxS<T, COLUMNS>
impl<T: DivAssign + Copy, const COLUMNS: usize> Div<MatrixDxS<T, COLUMNS>> for MatrixDxS<T, COLUMNS>
sourceimpl<T: Div<Output = T> + Copy + Default, const ROWS: usize, const COLUMNS: usize> Div<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS> where
[(); ROWS * COLUMNS]: ,
impl<T: Div<Output = T> + Copy + Default, const ROWS: usize, const COLUMNS: usize> Div<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: DivAssign + Copy, const ROWS: usize, const COLUMNS: usize> Div<MatrixDxS<T, COLUMNS>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: DivAssign + Copy, const ROWS: usize, const COLUMNS: usize> Div<MatrixDxS<T, COLUMNS>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: Div<Output = T> + Copy + Default, const ROWS: usize, const COLUMNS: usize> Div<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: Div<Output = T> + Copy + Default, const ROWS: usize, const COLUMNS: usize> Div<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: Div<Output = T> + Copy, const ROWS: usize, const COLUMNS: usize> Div<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: Div<Output = T> + Copy, const ROWS: usize, const COLUMNS: usize> Div<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: DivAssign + Copy, const COLUMNS: usize> DivAssign<MatrixDxD<T>> for MatrixDxS<T, COLUMNS>
impl<T: DivAssign + Copy, const COLUMNS: usize> DivAssign<MatrixDxD<T>> for MatrixDxS<T, COLUMNS>
sourcefn div_assign(&mut self, other: MatrixDxD<T>)
fn div_assign(&mut self, other: MatrixDxD<T>)
Performs the /= operation. Read more
sourceimpl<T: DivAssign + Copy, const COLUMNS: usize> DivAssign<MatrixDxS<T, COLUMNS>> for MatrixDxD<T>
impl<T: DivAssign + Copy, const COLUMNS: usize> DivAssign<MatrixDxS<T, COLUMNS>> for MatrixDxD<T>
sourcefn div_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
fn div_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
Performs the /= operation. Read more
sourceimpl<T: DivAssign + Copy, const COLUMNS: usize> DivAssign<MatrixDxS<T, COLUMNS>> for MatrixDxS<T, COLUMNS>
impl<T: DivAssign + Copy, const COLUMNS: usize> DivAssign<MatrixDxS<T, COLUMNS>> for MatrixDxS<T, COLUMNS>
sourcefn div_assign(&mut self, other: Self)
fn div_assign(&mut self, other: Self)
Performs the /= operation. Read more
sourceimpl<T: DivAssign + Copy, const ROWS: usize, const COLUMNS: usize> DivAssign<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS>
impl<T: DivAssign + Copy, const ROWS: usize, const COLUMNS: usize> DivAssign<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS>
sourcefn div_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
fn div_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
Performs the /= operation. Read more
sourceimpl<T: DivAssign + Copy, const ROWS: usize, const COLUMNS: usize> DivAssign<MatrixDxS<T, COLUMNS>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: DivAssign + Copy, const ROWS: usize, const COLUMNS: usize> DivAssign<MatrixDxS<T, COLUMNS>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourcefn div_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
fn div_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
Performs the /= operation. Read more
sourceimpl<T: DivAssign + Copy, const ROWS: usize, const COLUMNS: usize> DivAssign<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS>
impl<T: DivAssign + Copy, const ROWS: usize, const COLUMNS: usize> DivAssign<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS>
sourcefn div_assign(&mut self, other: MatrixSxD<T, ROWS>)
fn div_assign(&mut self, other: MatrixSxD<T, ROWS>)
Performs the /= operation. Read more
sourceimpl<T: DivAssign + Copy + Default, const ROWS: usize, const COLUMNS: usize> DivAssign<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: DivAssign + Copy + Default, const ROWS: usize, const COLUMNS: usize> DivAssign<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourcefn div_assign(&mut self, other: MatrixSxS<T, ROWS, COLUMNS>)
fn div_assign(&mut self, other: MatrixSxS<T, ROWS, COLUMNS>)
Performs the /= operation. Read more
sourceimpl<T, const COLUMNS: usize> From<Vec<[T; COLUMNS], Global>> for MatrixDxS<T, COLUMNS>
impl<T, const COLUMNS: usize> From<Vec<[T; COLUMNS], Global>> for MatrixDxS<T, COLUMNS>
sourcefn from(data: Vec<[T; COLUMNS]>) -> Self
fn from(data: Vec<[T; COLUMNS]>) -> Self
Performs the conversion.
sourceimpl<T: Debug + Default + Copy + AddAssign + Mul<Output = T> + Debug, const M: usize> Matmul<MatrixDxD<T>> for MatrixDxS<T, M>
impl<T: Debug + Default + Copy + AddAssign + Mul<Output = T> + Debug, const M: usize> Matmul<MatrixDxD<T>> for MatrixDxS<T, M>
sourceimpl<T: Debug + Default + Copy + AddAssign + Mul<Output = T>, const N: usize> Matmul<MatrixDxS<T, N>> for MatrixDxD<T>
impl<T: Debug + Default + Copy + AddAssign + Mul<Output = T>, const N: usize> Matmul<MatrixDxS<T, N>> for MatrixDxD<T>
sourceimpl<T: Debug + Default + Copy + AddAssign + Mul<Output = T>, const M: usize, const N: usize> Matmul<MatrixDxS<T, N>> for MatrixDxS<T, M>
impl<T: Debug + Default + Copy + AddAssign + Mul<Output = T>, const M: usize, const N: usize> Matmul<MatrixDxS<T, N>> for MatrixDxS<T, M>
sourceimpl<T: Debug + Default + Copy + AddAssign + Mul<Output = T>, const L: usize, const N: usize> Matmul<MatrixDxS<T, N>> for MatrixSxD<T, L> where
[(); L * N]: ,
impl<T: Debug + Default + Copy + AddAssign + Mul<Output = T>, const L: usize, const N: usize> Matmul<MatrixDxS<T, N>> for MatrixSxD<T, L> where
[(); L * N]: ,
sourceimpl<T: Debug + Default + Copy + AddAssign + Mul<Output = T>, const L: usize, const M: usize, const N: usize> Matmul<MatrixDxS<T, N>> for MatrixSxS<T, L, M> where
[(); L * M]: ,
[(); L * N]: ,
impl<T: Debug + Default + Copy + AddAssign + Mul<Output = T>, const L: usize, const M: usize, const N: usize> Matmul<MatrixDxS<T, N>> for MatrixSxS<T, L, M> where
[(); L * M]: ,
[(); L * N]: ,
sourceimpl<T: Debug + Default + Copy + AddAssign + Mul<Output = T> + Debug, const M: usize> Matmul<MatrixSxD<T, M>> for MatrixDxS<T, M>
impl<T: Debug + Default + Copy + AddAssign + Mul<Output = T> + Debug, const M: usize> Matmul<MatrixSxD<T, M>> for MatrixDxS<T, M>
sourceimpl<T: Debug + Default + Copy + AddAssign + Mul<Output = T>, const M: usize, const N: usize> Matmul<MatrixSxS<T, M, N>> for MatrixDxS<T, M> where
[(); M * N]: ,
impl<T: Debug + Default + Copy + AddAssign + Mul<Output = T>, const M: usize, const N: usize> Matmul<MatrixSxS<T, M, N>> for MatrixDxS<T, M> where
[(); M * N]: ,
sourceimpl<T: MulAssign + Copy, const COLUMNS: usize> Mul<MatrixDxS<T, COLUMNS>> for MatrixDxS<T, COLUMNS>
impl<T: MulAssign + Copy, const COLUMNS: usize> Mul<MatrixDxS<T, COLUMNS>> for MatrixDxS<T, COLUMNS>
sourceimpl<T: Mul<Output = T> + Copy + Default, const ROWS: usize, const COLUMNS: usize> Mul<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS> where
[(); ROWS * COLUMNS]: ,
impl<T: Mul<Output = T> + Copy + Default, const ROWS: usize, const COLUMNS: usize> Mul<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: MulAssign + Copy, const ROWS: usize, const COLUMNS: usize> Mul<MatrixDxS<T, COLUMNS>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: MulAssign + Copy, const ROWS: usize, const COLUMNS: usize> Mul<MatrixDxS<T, COLUMNS>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: Mul<Output = T> + Copy + Default, const ROWS: usize, const COLUMNS: usize> Mul<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: Mul<Output = T> + Copy + Default, const ROWS: usize, const COLUMNS: usize> Mul<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: MulAssign + Copy, const ROWS: usize, const COLUMNS: usize> Mul<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: MulAssign + Copy, const ROWS: usize, const COLUMNS: usize> Mul<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: MulAssign + Copy, const COLUMNS: usize> MulAssign<MatrixDxD<T>> for MatrixDxS<T, COLUMNS>
impl<T: MulAssign + Copy, const COLUMNS: usize> MulAssign<MatrixDxD<T>> for MatrixDxS<T, COLUMNS>
sourcefn mul_assign(&mut self, other: MatrixDxD<T>)
fn mul_assign(&mut self, other: MatrixDxD<T>)
Performs the *= operation. Read more
sourceimpl<T: MulAssign + Copy, const COLUMNS: usize> MulAssign<MatrixDxS<T, COLUMNS>> for MatrixDxD<T>
impl<T: MulAssign + Copy, const COLUMNS: usize> MulAssign<MatrixDxS<T, COLUMNS>> for MatrixDxD<T>
sourcefn mul_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
fn mul_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
Performs the *= operation. Read more
sourceimpl<T: MulAssign + Copy, const COLUMNS: usize> MulAssign<MatrixDxS<T, COLUMNS>> for MatrixDxS<T, COLUMNS>
impl<T: MulAssign + Copy, const COLUMNS: usize> MulAssign<MatrixDxS<T, COLUMNS>> for MatrixDxS<T, COLUMNS>
sourcefn mul_assign(&mut self, other: Self)
fn mul_assign(&mut self, other: Self)
Performs the *= operation. Read more
sourceimpl<T: MulAssign + Copy, const ROWS: usize, const COLUMNS: usize> MulAssign<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS>
impl<T: MulAssign + Copy, const ROWS: usize, const COLUMNS: usize> MulAssign<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS>
sourcefn mul_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
fn mul_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
Performs the *= operation. Read more
sourceimpl<T: MulAssign + Copy, const ROWS: usize, const COLUMNS: usize> MulAssign<MatrixDxS<T, COLUMNS>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: MulAssign + Copy, const ROWS: usize, const COLUMNS: usize> MulAssign<MatrixDxS<T, COLUMNS>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourcefn mul_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
fn mul_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
Performs the *= operation. Read more
sourceimpl<T: MulAssign + Copy, const ROWS: usize, const COLUMNS: usize> MulAssign<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS>
impl<T: MulAssign + Copy, const ROWS: usize, const COLUMNS: usize> MulAssign<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS>
sourcefn mul_assign(&mut self, other: MatrixSxD<T, ROWS>)
fn mul_assign(&mut self, other: MatrixSxD<T, ROWS>)
Performs the *= operation. Read more
sourceimpl<T: MulAssign + Copy + Default, const ROWS: usize, const COLUMNS: usize> MulAssign<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: MulAssign + Copy + Default, const ROWS: usize, const COLUMNS: usize> MulAssign<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourcefn mul_assign(&mut self, other: MatrixSxS<T, ROWS, COLUMNS>)
fn mul_assign(&mut self, other: MatrixSxS<T, ROWS, COLUMNS>)
Performs the *= operation. Read more
sourceimpl<T: PartialEq, const ROWS: usize, const COLUMNS: usize> PartialEq<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS>
impl<T: PartialEq, const ROWS: usize, const COLUMNS: usize> PartialEq<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS>
sourceimpl<T: PartialEq, const ROWS: usize, const COLUMNS: usize> PartialEq<MatrixDxS<T, COLUMNS>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: PartialEq, const ROWS: usize, const COLUMNS: usize> PartialEq<MatrixDxS<T, COLUMNS>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: PartialEq, const COLUMNS: usize> PartialEq<MatrixDxS<T, COLUMNS>> for MatrixDxS<T, COLUMNS>
impl<T: PartialEq, const COLUMNS: usize> PartialEq<MatrixDxS<T, COLUMNS>> for MatrixDxS<T, COLUMNS>
sourceimpl<T: PartialEq, const ROWS: usize, const COLUMNS: usize> PartialEq<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS>
impl<T: PartialEq, const ROWS: usize, const COLUMNS: usize> PartialEq<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS>
sourceimpl<T: PartialEq, const ROWS: usize, const COLUMNS: usize> PartialEq<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: PartialEq, const ROWS: usize, const COLUMNS: usize> PartialEq<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: Debug, const C: usize> SliceSxS<T> for MatrixDxS<T, C>
impl<T: Debug, const C: usize> SliceSxS<T> for MatrixDxS<T, C>
sourceimpl<T: Sub<Output = T> + Copy, const COLUMNS: usize> Sub<MatrixDxS<T, COLUMNS>> for MatrixDxD<T>
impl<T: Sub<Output = T> + Copy, const COLUMNS: usize> Sub<MatrixDxS<T, COLUMNS>> for MatrixDxD<T>
sourceimpl<T: SubAssign + Copy, const COLUMNS: usize> Sub<MatrixDxS<T, COLUMNS>> for MatrixDxS<T, COLUMNS>
impl<T: SubAssign + Copy, const COLUMNS: usize> Sub<MatrixDxS<T, COLUMNS>> for MatrixDxS<T, COLUMNS>
sourceimpl<T: Sub<Output = T> + Copy + Default, const ROWS: usize, const COLUMNS: usize> Sub<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS> where
[(); ROWS * COLUMNS]: ,
impl<T: Sub<Output = T> + Copy + Default, const ROWS: usize, const COLUMNS: usize> Sub<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: SubAssign + Copy, const ROWS: usize, const COLUMNS: usize> Sub<MatrixDxS<T, COLUMNS>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: SubAssign + Copy, const ROWS: usize, const COLUMNS: usize> Sub<MatrixDxS<T, COLUMNS>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: Sub<Output = T> + Copy + Default, const ROWS: usize, const COLUMNS: usize> Sub<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: Sub<Output = T> + Copy + Default, const ROWS: usize, const COLUMNS: usize> Sub<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: Sub<Output = T> + Copy, const ROWS: usize, const COLUMNS: usize> Sub<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: Sub<Output = T> + Copy, const ROWS: usize, const COLUMNS: usize> Sub<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: SubAssign + Copy, const COLUMNS: usize> SubAssign<MatrixDxD<T>> for MatrixDxS<T, COLUMNS>
impl<T: SubAssign + Copy, const COLUMNS: usize> SubAssign<MatrixDxD<T>> for MatrixDxS<T, COLUMNS>
sourcefn sub_assign(&mut self, other: MatrixDxD<T>)
fn sub_assign(&mut self, other: MatrixDxD<T>)
Performs the -= operation. Read more
sourceimpl<T: SubAssign + Copy, const COLUMNS: usize> SubAssign<MatrixDxS<T, COLUMNS>> for MatrixDxD<T>
impl<T: SubAssign + Copy, const COLUMNS: usize> SubAssign<MatrixDxS<T, COLUMNS>> for MatrixDxD<T>
sourcefn sub_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
fn sub_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
Performs the -= operation. Read more
sourceimpl<T: SubAssign + Copy, const COLUMNS: usize> SubAssign<MatrixDxS<T, COLUMNS>> for MatrixDxS<T, COLUMNS>
impl<T: SubAssign + Copy, const COLUMNS: usize> SubAssign<MatrixDxS<T, COLUMNS>> for MatrixDxS<T, COLUMNS>
sourcefn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
Performs the -= operation. Read more
sourceimpl<T: SubAssign + Copy, const ROWS: usize, const COLUMNS: usize> SubAssign<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS>
impl<T: SubAssign + Copy, const ROWS: usize, const COLUMNS: usize> SubAssign<MatrixDxS<T, COLUMNS>> for MatrixSxD<T, ROWS>
sourcefn sub_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
fn sub_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
Performs the -= operation. Read more
sourceimpl<T: SubAssign + Copy, const ROWS: usize, const COLUMNS: usize> SubAssign<MatrixDxS<T, COLUMNS>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: SubAssign + Copy, const ROWS: usize, const COLUMNS: usize> SubAssign<MatrixDxS<T, COLUMNS>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourcefn sub_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
fn sub_assign(&mut self, other: MatrixDxS<T, COLUMNS>)
Performs the -= operation. Read more
sourceimpl<T: SubAssign + Copy, const ROWS: usize, const COLUMNS: usize> SubAssign<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS>
impl<T: SubAssign + Copy, const ROWS: usize, const COLUMNS: usize> SubAssign<MatrixSxD<T, ROWS>> for MatrixDxS<T, COLUMNS>
sourcefn sub_assign(&mut self, other: MatrixSxD<T, ROWS>)
fn sub_assign(&mut self, other: MatrixSxD<T, ROWS>)
Performs the -= operation. Read more
sourceimpl<T: SubAssign + Copy + Default, const ROWS: usize, const COLUMNS: usize> SubAssign<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: SubAssign + Copy + Default, const ROWS: usize, const COLUMNS: usize> SubAssign<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxS<T, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourcefn sub_assign(&mut self, other: MatrixSxS<T, ROWS, COLUMNS>)
fn sub_assign(&mut self, other: MatrixSxS<T, ROWS, COLUMNS>)
Performs the -= operation. Read more
impl<T: Eq, const COLUMNS: usize> Eq for MatrixDxS<T, COLUMNS>
impl<T, const COLUMNS: usize> StructuralEq for MatrixDxS<T, COLUMNS>
impl<T, const COLUMNS: usize> StructuralPartialEq for MatrixDxS<T, COLUMNS>
Auto Trait Implementations
impl<T, const COLUMNS: usize> RefUnwindSafe for MatrixDxS<T, COLUMNS> where
T: RefUnwindSafe,
impl<T, const COLUMNS: usize> Send for MatrixDxS<T, COLUMNS> where
T: Send,
impl<T, const COLUMNS: usize> Sync for MatrixDxS<T, COLUMNS> where
T: Sync,
impl<T, const COLUMNS: usize> Unpin for MatrixDxS<T, COLUMNS> where
T: Unpin,
impl<T, const COLUMNS: usize> UnwindSafe for MatrixDxS<T, COLUMNS> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more