pub enum SubMatrixFull<'a, T> {
Contiguous(MatrixFullSlice<'a, T>),
Detached(MatrixFull<&'a T>),
}
Variants§
Contiguous(MatrixFullSlice<'a, T>)
Detached(MatrixFull<&'a T>)
Implementations§
Trait Implementations§
Source§impl<'a, T: Copy + Clone + Add + AddAssign> Add<MatrixFull<T>> for SubMatrixFull<'a, T>
impl<'a, T: Copy + Clone + Add + AddAssign> Add<MatrixFull<T>> for SubMatrixFull<'a, T>
Source§type Output = MatrixFull<T>
type Output = MatrixFull<T>
The resulting type after applying the
+
operator.Source§fn add(self, other: MatrixFull<T>) -> MatrixFull<T>
fn add(self, other: MatrixFull<T>) -> MatrixFull<T>
Performs the
+
operation. Read moreSource§impl<'a, T: Copy + Clone + Add + AddAssign> Add<SubMatrixFull<'a, T>> for MatrixFull<T>
impl<'a, T: Copy + Clone + Add + AddAssign> Add<SubMatrixFull<'a, T>> for MatrixFull<T>
Source§type Output = MatrixFull<T>
type Output = MatrixFull<T>
The resulting type after applying the
+
operator.Source§fn add(self, other: SubMatrixFull<'_, T>) -> MatrixFull<T>
fn add(self, other: SubMatrixFull<'_, T>) -> MatrixFull<T>
Performs the
+
operation. Read moreSource§impl<'a, T: Copy + Clone + Add + AddAssign> Add<T> for SubMatrixFull<'a, T>
impl<'a, T: Copy + Clone + Add + AddAssign> Add<T> for SubMatrixFull<'a, T>
Source§type Output = MatrixFull<T>
type Output = MatrixFull<T>
The resulting type after applying the
+
operator.Source§fn add(self, factor: T) -> MatrixFull<T>
fn add(self, factor: T) -> MatrixFull<T>
Performs the
+
operation. Read moreSource§impl<'a, T: Copy + Clone + Add + AddAssign> AddAssign<SubMatrixFull<'a, T>> for MatrixFull<T>
impl<'a, T: Copy + Clone + Add + AddAssign> AddAssign<SubMatrixFull<'a, T>> for MatrixFull<T>
Source§fn add_assign(&mut self, other: SubMatrixFull<'_, T>)
fn add_assign(&mut self, other: SubMatrixFull<'_, T>)
Performs the
+=
operation. Read moreSource§impl<'a, T: Copy + Clone + Add + AddAssign> AddAssign<SubMatrixFull<'a, T>> for SubMatrixFullMut<'a, T>
impl<'a, T: Copy + Clone + Add + AddAssign> AddAssign<SubMatrixFull<'a, T>> for SubMatrixFullMut<'a, T>
Source§fn add_assign(&mut self, other: SubMatrixFull<'_, T>)
fn add_assign(&mut self, other: SubMatrixFull<'_, T>)
Performs the
+=
operation. Read moreSource§impl<'a, T: Copy + Clone> BasicMatrix<'a, T> for SubMatrixFull<'a, T>
impl<'a, T: Copy + Clone> BasicMatrix<'a, T> for SubMatrixFull<'a, T>
Source§impl<'a, T> BasicMatrixOpt<'a, T> for SubMatrixFull<'a, T>
impl<'a, T> BasicMatrixOpt<'a, T> for SubMatrixFull<'a, T>
fn to_matrixfull(&self) -> Option<MatrixFull<T>>
Source§impl<'a, T: Copy + Clone + Div + DivAssign> Div<T> for SubMatrixFull<'a, T>
impl<'a, T: Copy + Clone + Div + DivAssign> Div<T> for SubMatrixFull<'a, T>
Source§type Output = MatrixFull<T>
type Output = MatrixFull<T>
The resulting type after applying the
/
operator.Source§fn div(self, f: T) -> MatrixFull<T>
fn div(self, f: T) -> MatrixFull<T>
Performs the
/
operation. Read moreSource§impl<'a, T> MathMatrix<'a, T> for SubMatrixFull<'a, T>
impl<'a, T> MathMatrix<'a, T> for SubMatrixFull<'a, T>
fn add<Q>(&'a self, other: &'a Q) -> Option<MatrixFull<T>>
fn scaled_add<Q>( &'a self, other: &'a Q, scale_factor: T, ) -> Option<MatrixFull<T>>
Source§fn self_scaled_add<Q>(&'a mut self, bm: &'a Q, b: T)
fn self_scaled_add<Q>(&'a mut self, bm: &'a Q, b: T)
For A += c*B where c is a scale factor
Source§fn self_general_add<Q>(&'a mut self, bm: &'a Q, a: T, b: T)
fn self_general_add<Q>(&'a mut self, bm: &'a Q, a: T, b: T)
For aA + bB -> A
Source§fn self_multiple(&mut self, a: T)
fn self_multiple(&mut self, a: T)
For a*A -> A
Source§impl<'a, T: Copy + Clone + Mul + MulAssign> Mul<T> for SubMatrixFull<'a, T>
impl<'a, T: Copy + Clone + Mul + MulAssign> Mul<T> for SubMatrixFull<'a, T>
Source§type Output = MatrixFull<T>
type Output = MatrixFull<T>
The resulting type after applying the
*
operator.Source§fn mul(self, f: T) -> MatrixFull<T>
fn mul(self, f: T) -> MatrixFull<T>
Performs the
*
operation. Read moreSource§impl<'a, T> ParMathMatrix<'a, T> for SubMatrixFull<'a, T>
impl<'a, T> ParMathMatrix<'a, T> for SubMatrixFull<'a, T>
Source§fn par_add<Q>(&'a self, other: &'a Q) -> Option<MatrixFull<T>>
fn par_add<Q>(&'a self, other: &'a Q) -> Option<MatrixFull<T>>
Parallel version for C = A + B,
Source§fn par_scaled_add<Q>(&'a self, other: &'a Q, fac: T) -> Option<MatrixFull<T>>
fn par_scaled_add<Q>(&'a self, other: &'a Q, fac: T) -> Option<MatrixFull<T>>
Parallel version for C = A + c*B,
Source§fn par_self_add<Q>(&mut self, bm: &'a Q)
fn par_self_add<Q>(&mut self, bm: &'a Q)
Parallel version for A + B -> A
Source§fn par_self_scaled_add<Q>(&mut self, bm: &'a Q, b: T)
fn par_self_scaled_add<Q>(&mut self, bm: &'a Q, b: T)
Parallel version for A + b*B -> A
Source§fn par_self_general_add<Q>(&'a mut self, bm: &'a Q, a: T, b: T)
fn par_self_general_add<Q>(&'a mut self, bm: &'a Q, a: T, b: T)
Parallel version for aA + bB -> A
Source§fn par_sub<Q>(&'a self, other: &'a Q) -> Option<MatrixFull<T>>
fn par_sub<Q>(&'a self, other: &'a Q) -> Option<MatrixFull<T>>
Parallel version for A - B -> C
Source§fn par_self_sub<Q>(&mut self, bm: &'a Q)
fn par_self_sub<Q>(&mut self, bm: &'a Q)
Parallel version for A - B -> A
Source§fn par_self_multiple(&mut self, a: T)
fn par_self_multiple(&mut self, a: T)
Parallel version for a*A -> A
Source§impl<'a, T: Copy + Clone + Sub<Output = T> + SubAssign> Sub<MatrixFull<T>> for SubMatrixFull<'a, T>
impl<'a, T: Copy + Clone + Sub<Output = T> + SubAssign> Sub<MatrixFull<T>> for SubMatrixFull<'a, T>
Source§type Output = MatrixFull<T>
type Output = MatrixFull<T>
The resulting type after applying the
-
operator.Source§fn sub(self, other: MatrixFull<T>) -> MatrixFull<T>
fn sub(self, other: MatrixFull<T>) -> MatrixFull<T>
Performs the
-
operation. Read moreSource§impl<'a, T: Copy + Clone + Sub + SubAssign> Sub<SubMatrixFull<'a, T>> for MatrixFull<T>
impl<'a, T: Copy + Clone + Sub + SubAssign> Sub<SubMatrixFull<'a, T>> for MatrixFull<T>
Source§type Output = MatrixFull<T>
type Output = MatrixFull<T>
The resulting type after applying the
-
operator.Source§fn sub(self, other: SubMatrixFull<'_, T>) -> MatrixFull<T>
fn sub(self, other: SubMatrixFull<'_, T>) -> MatrixFull<T>
Performs the
-
operation. Read moreSource§impl<'a, T: Copy + Clone + Sub + SubAssign> Sub<T> for SubMatrixFull<'a, T>
impl<'a, T: Copy + Clone + Sub + SubAssign> Sub<T> for SubMatrixFull<'a, T>
Source§type Output = MatrixFull<T>
type Output = MatrixFull<T>
The resulting type after applying the
-
operator.Source§fn sub(self, f: T) -> MatrixFull<T>
fn sub(self, f: T) -> MatrixFull<T>
Performs the
-
operation. Read moreSource§impl<'a, T: Copy + Clone + Sub + SubAssign> SubAssign<SubMatrixFull<'a, T>> for MatrixFull<T>
impl<'a, T: Copy + Clone + Sub + SubAssign> SubAssign<SubMatrixFull<'a, T>> for MatrixFull<T>
Source§fn sub_assign(&mut self, other: SubMatrixFull<'_, T>)
fn sub_assign(&mut self, other: SubMatrixFull<'_, T>)
Performs the
-=
operation. Read moreSource§impl<'a, T: Copy + Clone + Sub + SubAssign> SubAssign<SubMatrixFull<'a, T>> for SubMatrixFullMut<'a, T>
impl<'a, T: Copy + Clone + Sub + SubAssign> SubAssign<SubMatrixFull<'a, T>> for SubMatrixFullMut<'a, T>
Source§fn sub_assign(&mut self, other: SubMatrixFull<'_, T>)
fn sub_assign(&mut self, other: SubMatrixFull<'_, T>)
Performs the
-=
operation. Read moreAuto Trait Implementations§
impl<'a, T> Freeze for SubMatrixFull<'a, T>
impl<'a, T> RefUnwindSafe for SubMatrixFull<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for SubMatrixFull<'a, T>where
T: Sync,
impl<'a, T> Sync for SubMatrixFull<'a, T>where
T: Sync,
impl<'a, T> Unpin for SubMatrixFull<'a, T>
impl<'a, T> UnwindSafe for SubMatrixFull<'a, T>where
T: RefUnwindSafe,
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.