Struct feanor_math::matrix::submatrix::SubmatrixMut
source · pub struct SubmatrixMut<'a, V, T>where
V: 'a + AsPointerToSlice<T>,{ /* private fields */ }Implementations§
source§impl<'a, V, T> SubmatrixMut<'a, V, T>where
V: 'a + AsPointerToSlice<T>,
impl<'a, V, T> SubmatrixMut<'a, V, T>where
V: 'a + AsPointerToSlice<T>,
pub fn submatrix(self, rows: Range<usize>, cols: Range<usize>) -> Self
pub fn restrict_rows(self, rows: Range<usize>) -> Self
pub fn restrict_cols(self, cols: Range<usize>) -> Self
pub fn split_rows( self, fst_rows: Range<usize>, snd_rows: Range<usize> ) -> (Self, Self)
pub fn split_cols( self, fst_cols: Range<usize>, snd_cols: Range<usize> ) -> (Self, Self)
pub fn row_iter(self) -> impl 'a + ExactSizeIterator<Item = &'a mut [T]>
pub fn col_iter(self) -> impl 'a + ExactSizeIterator<Item = ColumnMut<'a, V, T>>
pub fn at<'b>(&'b mut self, i: usize, j: usize) -> &'b mut T
pub fn row_at<'b>(&'b mut self, i: usize) -> &'b mut [T]
pub fn col_at<'b>(&'b mut self, j: usize) -> ColumnMut<'b, V, T>
pub fn reborrow<'b>(&'b mut self) -> SubmatrixMut<'b, V, T>
pub fn as_const<'b>(&'b self) -> Submatrix<'b, V, T>
pub fn col_count(&self) -> usize
pub fn row_count(&self) -> usize
source§impl<'a, V, T> SubmatrixMut<'a, V, T>
impl<'a, V, T> SubmatrixMut<'a, V, T>
pub fn concurrent_row_iter( self ) -> impl 'a + ExactSizeIterator<Item = &'a mut [T]>
pub fn concurrent_col_iter( self ) -> impl 'a + ExactSizeIterator<Item = ColumnMut<'a, V, T>>
source§impl<'a, T> SubmatrixMut<'a, AsFirstElement<T>, T>
impl<'a, T> SubmatrixMut<'a, AsFirstElement<T>, T>
Trait Implementations§
source§impl<'a, V, R> Matrix<R> for SubmatrixMut<'a, V, R::Element>
impl<'a, V, R> Matrix<R> for SubmatrixMut<'a, V, R::Element>
fn entry_at(&self, i: usize, j: usize) -> &<R as RingBase>::Element
fn col_count(&self) -> usize
fn row_count(&self) -> usize
fn format<'a, S>(&'a self, ring: &'a S) -> MatrixDisplayWrapper<'a, R, Self>where
S: RingStore<Type = R>,
fn matrix_eq<M, S>(&self, other: &M, ring: S) -> bool
Auto Trait Implementations§
impl<'a, V, T> Freeze for SubmatrixMut<'a, V, T>
impl<'a, V, T> RefUnwindSafe for SubmatrixMut<'a, V, T>where
T: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, V, T> Send for SubmatrixMut<'a, V, T>
impl<'a, V, T> Sync for SubmatrixMut<'a, V, T>
impl<'a, V, T> Unpin for SubmatrixMut<'a, V, T>
impl<'a, V, T> !UnwindSafe for SubmatrixMut<'a, V, T>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more