pub struct TransformRows<'a, V, R>(pub SubmatrixMut<'a, V, R::Element>, pub &'a R)
where
V: AsPointerToSlice<R::Element>,
R: ?Sized + RingBase;Expand description
Wraps a SubmatrixMut to get a TransformTarget. Every transform is multiplied to
the wrapped matrix from the left, i.e. applied to the rows of the matrix.
Tuple Fields§
§0: SubmatrixMut<'a, V, R::Element>§1: &'a RTrait Implementations§
Source§impl<'a, V, R> TransformTarget<R> for TransformRows<'a, V, R>
impl<'a, V, R> TransformTarget<R> for TransformRows<'a, V, R>
Source§fn transform<S: Copy + RingStore<Type = R>>(
&mut self,
ring: S,
i: usize,
j: usize,
transform: &[<R as RingBase>::Element; 4],
)
fn transform<S: Copy + RingStore<Type = R>>( &mut self, ring: S, i: usize, j: usize, transform: &[<R as RingBase>::Element; 4], )
Auto Trait Implementations§
impl<'a, V, R> Freeze for TransformRows<'a, V, R>where
R: ?Sized,
impl<'a, V, R> RefUnwindSafe for TransformRows<'a, V, R>
impl<'a, V, R> Send for TransformRows<'a, V, R>
impl<'a, V, R> Sync for TransformRows<'a, V, R>
impl<'a, V, R> Unpin for TransformRows<'a, V, R>where
R: ?Sized,
impl<'a, V, R> !UnwindSafe for TransformRows<'a, V, R>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more