pub struct LaneWideProduct<O, const N: usize>(pub [O; N]);Expand description
One independent deferred wide product per SubU lane of a Divide widening multiply. Lanes
accumulate (Add/Sub/Sum) and reduce independently, mirroring the packing structure, so a
sum of products is reduced only once per lane. N is the lane count.
Tuple Fields§
§0: [O; N]Trait Implementations§
Source§impl<O: Copy + Add<Output = O>, const N: usize> AddAssign for LaneWideProduct<O, N>
impl<O: Copy + Add<Output = O>, const N: usize> AddAssign for LaneWideProduct<O, N>
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl<O: Clone, const N: usize> Clone for LaneWideProduct<O, N>
impl<O: Clone, const N: usize> Clone for LaneWideProduct<O, N>
Source§fn clone(&self) -> LaneWideProduct<O, N>
fn clone(&self) -> LaneWideProduct<O, N>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<O: Copy + Sub<Output = O>, const N: usize> SubAssign for LaneWideProduct<O, N>
impl<O: Copy + Sub<Output = O>, const N: usize> SubAssign for LaneWideProduct<O, N>
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl<O: Copy, const N: usize> Copy for LaneWideProduct<O, N>
Auto Trait Implementations§
impl<O, const N: usize> Freeze for LaneWideProduct<O, N>where
O: Freeze,
impl<O, const N: usize> RefUnwindSafe for LaneWideProduct<O, N>where
O: RefUnwindSafe,
impl<O, const N: usize> Send for LaneWideProduct<O, N>where
O: Send,
impl<O, const N: usize> Sync for LaneWideProduct<O, N>where
O: Sync,
impl<O, const N: usize> Unpin for LaneWideProduct<O, N>where
O: Unpin,
impl<O, const N: usize> UnsafeUnpin for LaneWideProduct<O, N>where
O: UnsafeUnpin,
impl<O, const N: usize> UnwindSafe for LaneWideProduct<O, N>where
O: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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