pub struct MulAssign1DRV<T, MatA, MatB, IxVec> {
pub source: Ref<MatB>,
pub ixes: Ref<IxVec>,
pub sink: Ref<MatA>,
pub _marker: PhantomData<T>,
}Fields§
§source: Ref<MatB>§ixes: Ref<IxVec>§sink: Ref<MatA>§_marker: PhantomData<T>Trait Implementations§
Source§impl<T, MatA, MatB, IxVec> Debug for MulAssign1DRV<T, MatA, MatB, IxVec>
impl<T, MatA, MatB, IxVec> Debug for MulAssign1DRV<T, MatA, MatB, IxVec>
Source§impl<T, R1, C1, S1, R2, C2, S2, IxVec> MechFunctionCompiler for MulAssign1DRV<T, Matrix<T, R1, C1, S1>, Matrix<T, R2, C2, S2>, IxVec>where
T: CompileConst + ConstElem + AsValueKind,
IxVec: CompileConst + ConstElem + AsNaKind,
Matrix<T, R1, C1, S1>: CompileConst + ConstElem + AsNaKind,
Matrix<T, R2, C2, S2>: CompileConst + ConstElem + AsNaKind,
Available on crate feature compiler only.
impl<T, R1, C1, S1, R2, C2, S2, IxVec> MechFunctionCompiler for MulAssign1DRV<T, Matrix<T, R1, C1, S1>, Matrix<T, R2, C2, S2>, IxVec>where
T: CompileConst + ConstElem + AsValueKind,
IxVec: CompileConst + ConstElem + AsNaKind,
Matrix<T, R1, C1, S1>: CompileConst + ConstElem + AsNaKind,
Matrix<T, R2, C2, S2>: CompileConst + ConstElem + AsNaKind,
Available on crate feature
compiler only.fn compile(&self, ctx: &mut CompileCtx) -> Result<u32, MechError2>
Source§impl<T, R1, C1, S1, R2, C2, S2, IxVec> MechFunctionFactory for MulAssign1DRV<T, Matrix<T, R1, C1, S1>, Matrix<T, R2, C2, S2>, IxVec>where
R1: 'static + Dim,
C1: 'static + Dim,
S1: 'static + StorageMut<T, R1, C1> + Clone + Debug,
R2: 'static + Dim,
C2: 'static + Dim,
S2: 'static + Storage<T, R2, C2> + Clone + Debug,
IxVec: 'static + CompileConst + ConstElem + AsNaKind + Debug + AsRef<[usize]>,
Ref<Matrix<T, R1, C1, S1>>: ToValue,
Ref<Matrix<T, R2, C2, S2>>: ToValue,
T: Copy + Debug + Clone + Sync + Send + 'static + Div<Output = T> + DivAssign + Add<Output = T> + AddAssign + Sub<Output = T> + SubAssign + Mul<Output = T> + MulAssign + Zero + One + PartialEq + PartialOrd + CompileConst + ConstElem + AsValueKind,
Matrix<T, R1, C1, S1>: CompileConst + ConstElem + Debug + AsNaKind,
Matrix<T, R2, C2, S2>: CompileConst + ConstElem + Debug + AsNaKind,
impl<T, R1, C1, S1, R2, C2, S2, IxVec> MechFunctionFactory for MulAssign1DRV<T, Matrix<T, R1, C1, S1>, Matrix<T, R2, C2, S2>, IxVec>where
R1: 'static + Dim,
C1: 'static + Dim,
S1: 'static + StorageMut<T, R1, C1> + Clone + Debug,
R2: 'static + Dim,
C2: 'static + Dim,
S2: 'static + Storage<T, R2, C2> + Clone + Debug,
IxVec: 'static + CompileConst + ConstElem + AsNaKind + Debug + AsRef<[usize]>,
Ref<Matrix<T, R1, C1, S1>>: ToValue,
Ref<Matrix<T, R2, C2, S2>>: ToValue,
T: Copy + Debug + Clone + Sync + Send + 'static + Div<Output = T> + DivAssign + Add<Output = T> + AddAssign + Sub<Output = T> + SubAssign + Mul<Output = T> + MulAssign + Zero + One + PartialEq + PartialOrd + CompileConst + ConstElem + AsValueKind,
Matrix<T, R1, C1, S1>: CompileConst + ConstElem + Debug + AsNaKind,
Matrix<T, R2, C2, S2>: CompileConst + ConstElem + Debug + AsNaKind,
fn new(args: FunctionArgs) -> Result<Box<dyn MechFunction>, MechError2>
Source§impl<T, R1, C1, S1, R2, C2, S2, IxVec> MechFunctionImpl for MulAssign1DRV<T, Matrix<T, R1, C1, S1>, Matrix<T, R2, C2, S2>, IxVec>where
Ref<Matrix<T, R1, C1, S1>>: ToValue,
T: Copy + Debug + Clone + Sync + Send + 'static + Div<Output = T> + DivAssign + Add<Output = T> + AddAssign + Sub<Output = T> + SubAssign + Mul<Output = T> + MulAssign + Zero + One + PartialEq + PartialOrd,
IxVec: AsRef<[usize]> + Debug,
R1: Dim,
C1: Dim,
S1: StorageMut<T, R1, C1> + Clone + Debug,
R2: Dim,
C2: Dim,
S2: Storage<T, R2, C2> + Clone + Debug,
impl<T, R1, C1, S1, R2, C2, S2, IxVec> MechFunctionImpl for MulAssign1DRV<T, Matrix<T, R1, C1, S1>, Matrix<T, R2, C2, S2>, IxVec>where
Ref<Matrix<T, R1, C1, S1>>: ToValue,
T: Copy + Debug + Clone + Sync + Send + 'static + Div<Output = T> + DivAssign + Add<Output = T> + AddAssign + Sub<Output = T> + SubAssign + Mul<Output = T> + MulAssign + Zero + One + PartialEq + PartialOrd,
IxVec: AsRef<[usize]> + Debug,
R1: Dim,
C1: Dim,
S1: StorageMut<T, R1, C1> + Clone + Debug,
R2: Dim,
C2: Dim,
S2: Storage<T, R2, C2> + Clone + Debug,
Auto Trait Implementations§
impl<T, MatA, MatB, IxVec> Freeze for MulAssign1DRV<T, MatA, MatB, IxVec>
impl<T, MatA, MatB, IxVec> !RefUnwindSafe for MulAssign1DRV<T, MatA, MatB, IxVec>
impl<T, MatA, MatB, IxVec> !Send for MulAssign1DRV<T, MatA, MatB, IxVec>
impl<T, MatA, MatB, IxVec> !Sync for MulAssign1DRV<T, MatA, MatB, IxVec>
impl<T, MatA, MatB, IxVec> Unpin for MulAssign1DRV<T, MatA, MatB, IxVec>where
T: Unpin,
impl<T, MatA, MatB, IxVec> !UnwindSafe for MulAssign1DRV<T, MatA, MatB, IxVec>
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<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.