pub struct MatrixDxD<T> { /* private fields */ }Expand description
A dynamic x dynamic matrix where neither dimension is known at compile time.
use std::convert::TryFrom;
let _ = static_la::MatrixDxD::try_from(vec![vec![1, 2, 3], vec![4, 5, 6]]).unwrap();Implementations
sourceimpl<'a, T> MatrixDxD<T>
impl<'a, T> MatrixDxD<T>
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 = RowVectorD<&'a T>>
pub fn rows_iter(&'a self) -> impl Iterator<Item = RowVectorD<&'a T>>
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> + Clone> MatrixDxD<T>
impl<T: Sum<T> + Clone> MatrixDxD<T>
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) -> RowVectorD<T>
pub fn column_sum(&self) -> RowVectorD<T>
Gets the sum of each column.
Trait Implementations
sourceimpl<T: AddAssign + Copy, const ROWS: usize, const COLUMNS: usize> Add<MatrixDxD<T>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: AddAssign + Copy, const ROWS: usize, const COLUMNS: usize> Add<MatrixDxD<T>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: AddAssign + Copy, const ROWS: usize, const COLUMNS: usize> Add<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> where
[(); ROWS * COLUMNS]: ,
impl<T: AddAssign + Copy, const ROWS: usize, const COLUMNS: usize> Add<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: AddAssign + Copy> AddAssign<MatrixDxD<T>> for MatrixDxD<T>
impl<T: AddAssign + Copy> AddAssign<MatrixDxD<T>> for MatrixDxD<T>
sourcefn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the += operation. Read more
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 ROWS: usize> AddAssign<MatrixDxD<T>> for MatrixSxD<T, ROWS>
impl<T: AddAssign + Copy, const ROWS: usize> AddAssign<MatrixDxD<T>> for MatrixSxD<T, ROWS>
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 ROWS: usize, const COLUMNS: usize> AddAssign<MatrixDxD<T>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: AddAssign + Copy, const ROWS: usize, const COLUMNS: usize> AddAssign<MatrixDxD<T>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * 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 ROWS: usize> AddAssign<MatrixSxD<T, ROWS>> for MatrixDxD<T>
impl<T: AddAssign + Copy, const ROWS: usize> AddAssign<MatrixSxD<T, ROWS>> for MatrixDxD<T>
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, const ROWS: usize, const COLUMNS: usize> AddAssign<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> where
[(); ROWS * COLUMNS]: ,
impl<T: AddAssign + Copy, const ROWS: usize, const COLUMNS: usize> AddAssign<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> 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 ROWS: usize, const COLUMNS: usize> AddColumns<MatrixDxD<T>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: Clone + Default + Debug, const ROWS: usize, const COLUMNS: usize> AddColumns<MatrixDxD<T>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
type Output = MatrixSxD<T, ROWS>
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 + Debug, const ROWS: usize> AddColumns<MatrixDxD<T>> for MatrixSxD<T, ROWS>
impl<T: Clone + Default + Debug, const ROWS: usize> AddColumns<MatrixDxD<T>> for MatrixSxD<T, ROWS>
type Output = MatrixSxD<T, ROWS>
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 + 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 + Debug> AddColumns<MatrixDxD<T>> for MatrixDxD<T>
impl<T: Clone + Default + Debug> AddColumns<MatrixDxD<T>> for MatrixDxD<T>
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 + 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> AddColumns<MatrixSxD<T, ROWS>> for MatrixDxD<T>
impl<T: Clone + Default + Copy + Debug, const ROWS: usize> AddColumns<MatrixSxD<T, ROWS>> for MatrixDxD<T>
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> AddColumns<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> where
[(); ROWS * COLUMNS]: ,
impl<T: Clone + Default + Copy + Debug, const ROWS: usize, const COLUMNS: usize> AddColumns<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> where
[(); ROWS * COLUMNS]: ,
type Output = MatrixSxD<T, ROWS>
sourcefn add_columns(self, columns: MatrixSxS<T, ROWS, COLUMNS>) -> Self::Output
fn add_columns(self, columns: MatrixSxS<T, ROWS, COLUMNS>) -> Self::Output
This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push. Read more
sourceimpl<T: Clone + Debug, const ROWS: usize, const COLUMNS: usize> AddRows<MatrixDxD<T>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: Clone + Debug, const ROWS: usize, const COLUMNS: usize> AddRows<MatrixDxD<T>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: Clone + Debug, const ROWS: usize, const COLUMNS: usize> AddRows<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> where
[(); ROWS * COLUMNS]: ,
impl<T: Clone + Debug, const ROWS: usize, const COLUMNS: usize> AddRows<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: DivAssign + Copy, const ROWS: usize, const COLUMNS: usize> Div<MatrixDxD<T>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: DivAssign + Copy, const ROWS: usize, const COLUMNS: usize> Div<MatrixDxD<T>> for MatrixSxS<T, ROWS, 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: Div<Output = T> + Copy, const ROWS: usize, const COLUMNS: usize> Div<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> where
[(); ROWS * COLUMNS]: ,
impl<T: Div<Output = T> + Copy, const ROWS: usize, const COLUMNS: usize> Div<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: DivAssign + Copy> DivAssign<MatrixDxD<T>> for MatrixDxD<T>
impl<T: DivAssign + Copy> DivAssign<MatrixDxD<T>> for MatrixDxD<T>
sourcefn div_assign(&mut self, other: Self)
fn div_assign(&mut self, other: Self)
Performs the /= operation. Read more
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 ROWS: usize> DivAssign<MatrixDxD<T>> for MatrixSxD<T, ROWS>
impl<T: DivAssign + Copy, const ROWS: usize> DivAssign<MatrixDxD<T>> for MatrixSxD<T, ROWS>
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 ROWS: usize, const COLUMNS: usize> DivAssign<MatrixDxD<T>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: DivAssign + Copy, const ROWS: usize, const COLUMNS: usize> DivAssign<MatrixDxD<T>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * 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 ROWS: usize> DivAssign<MatrixSxD<T, ROWS>> for MatrixDxD<T>
impl<T: DivAssign + Copy, const ROWS: usize> DivAssign<MatrixSxD<T, ROWS>> for MatrixDxD<T>
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, const ROWS: usize, const COLUMNS: usize> DivAssign<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> where
[(); ROWS * COLUMNS]: ,
impl<T: DivAssign + Copy, const ROWS: usize, const COLUMNS: usize> DivAssign<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> 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: Debug + Default + Copy + AddAssign + Mul<Output = T> + Debug> Matmul<MatrixDxD<T>> for MatrixDxD<T>
impl<T: Debug + Default + Copy + AddAssign + Mul<Output = T> + Debug> Matmul<MatrixDxD<T>> for MatrixDxD<T>
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> + Debug, const L: usize> Matmul<MatrixDxD<T>> for MatrixSxD<T, L>
impl<T: Debug + Default + Copy + AddAssign + Mul<Output = T> + Debug, const L: usize> Matmul<MatrixDxD<T>> for MatrixSxD<T, L>
sourceimpl<T: Debug + Default + Copy + AddAssign + Mul<Output = T> + Debug, const L: usize, const M: usize> Matmul<MatrixDxD<T>> for MatrixSxS<T, L, M> where
[(); L * M]: ,
impl<T: Debug + Default + Copy + AddAssign + Mul<Output = T> + Debug, const L: usize, const M: usize> Matmul<MatrixDxD<T>> for MatrixSxS<T, L, M> where
[(); L * 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> + Debug, const M: usize> Matmul<MatrixSxD<T, M>> for MatrixDxD<T>
impl<T: Debug + Default + Copy + AddAssign + Mul<Output = T> + Debug, const M: usize> Matmul<MatrixSxD<T, M>> for MatrixDxD<T>
sourceimpl<T: Debug + Default + Copy + AddAssign + Mul<Output = T>, const M: usize, const N: usize> Matmul<MatrixSxS<T, M, N>> for MatrixDxD<T> where
[(); M * N]: ,
impl<T: Debug + Default + Copy + AddAssign + Mul<Output = T>, const M: usize, const N: usize> Matmul<MatrixSxS<T, M, N>> for MatrixDxD<T> where
[(); M * N]: ,
sourceimpl<T: MulAssign + Copy, const ROWS: usize, const COLUMNS: usize> Mul<MatrixDxD<T>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: MulAssign + Copy, const ROWS: usize, const COLUMNS: usize> Mul<MatrixDxD<T>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: MulAssign + Copy, const ROWS: usize, const COLUMNS: usize> Mul<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> where
[(); ROWS * COLUMNS]: ,
impl<T: MulAssign + Copy, const ROWS: usize, const COLUMNS: usize> Mul<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: MulAssign + Copy> MulAssign<MatrixDxD<T>> for MatrixDxD<T>
impl<T: MulAssign + Copy> MulAssign<MatrixDxD<T>> for MatrixDxD<T>
sourcefn mul_assign(&mut self, other: Self)
fn mul_assign(&mut self, other: Self)
Performs the *= operation. Read more
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 ROWS: usize> MulAssign<MatrixDxD<T>> for MatrixSxD<T, ROWS>
impl<T: MulAssign + Copy, const ROWS: usize> MulAssign<MatrixDxD<T>> for MatrixSxD<T, ROWS>
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 ROWS: usize, const COLUMNS: usize> MulAssign<MatrixDxD<T>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: MulAssign + Copy, const ROWS: usize, const COLUMNS: usize> MulAssign<MatrixDxD<T>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * 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 ROWS: usize> MulAssign<MatrixSxD<T, ROWS>> for MatrixDxD<T>
impl<T: MulAssign + Copy, const ROWS: usize> MulAssign<MatrixSxD<T, ROWS>> for MatrixDxD<T>
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, const ROWS: usize, const COLUMNS: usize> MulAssign<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> where
[(); ROWS * COLUMNS]: ,
impl<T: MulAssign + Copy, const ROWS: usize, const COLUMNS: usize> MulAssign<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> 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<MatrixDxD<T>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: PartialEq, const ROWS: usize, const COLUMNS: usize> PartialEq<MatrixDxD<T>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: PartialEq, const ROWS: usize, const COLUMNS: usize> PartialEq<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> where
[(); ROWS * COLUMNS]: ,
impl<T: PartialEq, const ROWS: usize, const COLUMNS: usize> PartialEq<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: Debug> SliceSxS<T> for MatrixDxD<T>
impl<T: Debug> SliceSxS<T> for MatrixDxD<T>
sourceimpl<T: SubAssign + Copy, const ROWS: usize, const COLUMNS: usize> Sub<MatrixDxD<T>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: SubAssign + Copy, const ROWS: usize, const COLUMNS: usize> Sub<MatrixDxD<T>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
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: Sub<Output = T> + Copy, const ROWS: usize, const COLUMNS: usize> Sub<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> where
[(); ROWS * COLUMNS]: ,
impl<T: Sub<Output = T> + Copy, const ROWS: usize, const COLUMNS: usize> Sub<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> where
[(); ROWS * COLUMNS]: ,
sourceimpl<T: SubAssign + Copy> SubAssign<MatrixDxD<T>> for MatrixDxD<T>
impl<T: SubAssign + Copy> SubAssign<MatrixDxD<T>> for MatrixDxD<T>
sourcefn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
Performs the -= operation. Read more
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 ROWS: usize> SubAssign<MatrixDxD<T>> for MatrixSxD<T, ROWS>
impl<T: SubAssign + Copy, const ROWS: usize> SubAssign<MatrixDxD<T>> for MatrixSxD<T, ROWS>
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 ROWS: usize, const COLUMNS: usize> SubAssign<MatrixDxD<T>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * COLUMNS]: ,
impl<T: SubAssign + Copy, const ROWS: usize, const COLUMNS: usize> SubAssign<MatrixDxD<T>> for MatrixSxS<T, ROWS, COLUMNS> where
[(); ROWS * 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 ROWS: usize> SubAssign<MatrixSxD<T, ROWS>> for MatrixDxD<T>
impl<T: SubAssign + Copy, const ROWS: usize> SubAssign<MatrixSxD<T, ROWS>> for MatrixDxD<T>
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, const ROWS: usize, const COLUMNS: usize> SubAssign<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> where
[(); ROWS * COLUMNS]: ,
impl<T: SubAssign + Copy, const ROWS: usize, const COLUMNS: usize> SubAssign<MatrixSxS<T, ROWS, COLUMNS>> for MatrixDxD<T> 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> Eq for MatrixDxD<T>
impl<T> StructuralEq for MatrixDxD<T>
impl<T> StructuralPartialEq for MatrixDxD<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for MatrixDxD<T> where
T: RefUnwindSafe,
impl<T> Send for MatrixDxD<T> where
T: Send,
impl<T> Sync for MatrixDxD<T> where
T: Sync,
impl<T> Unpin for MatrixDxD<T> where
T: Unpin,
impl<T> UnwindSafe for MatrixDxD<T> 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