pub struct TransformCols<'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 right, i.e. applied to the cols of the matrix.
TODO: at next breaking release, remove the reference to the ring
Tuple Fields§
§0: SubmatrixMut<'a, V, R::Element>
§1: &'a R
Trait Implementations§
Source§impl<'a, V, R> TransformTarget<R> for TransformCols<'a, V, R>
impl<'a, V, R> TransformTarget<R> for TransformCols<'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 TransformCols<'a, V, R>where
R: ?Sized,
impl<'a, V, R> RefUnwindSafe for TransformCols<'a, V, R>
impl<'a, V, R> Send for TransformCols<'a, V, R>
impl<'a, V, R> Sync for TransformCols<'a, V, R>
impl<'a, V, R> Unpin for TransformCols<'a, V, R>where
R: ?Sized,
impl<'a, V, R> !UnwindSafe for TransformCols<'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