Enum rest_tensors::matrix::submatrixfull::SubMatrixFull
source · 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>
§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>
§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>
§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>where
T: Copy + Clone,
impl<'a, T> BasicMatrixOpt<'a, T> for SubMatrixFull<'a, T>where T: Copy + Clone,
fn to_matrixfull(&self) -> Option<MatrixFull<T>>where T: Copy + Clone,
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>
§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: Copy + Clone + Mul + MulAssign> Mul<T> for SubMatrixFull<'a, T>
impl<'a, T: Copy + Clone + Mul + MulAssign> Mul<T> for SubMatrixFull<'a, T>
§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: 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>
§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>
§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>
§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 moreimpl<'a, T> MathMatrix<'a, T> for SubMatrixFull<'a, T>where T: Copy + Clone,
impl<'a, T> ParMathMatrix<'a, T> for SubMatrixFull<'a, T>where T: Copy + Clone + Send + Sync,
Auto Trait Implementations§
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§
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§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 more§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).§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.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.