pub struct DotK<F, R> { /* private fields */ }Expand description
Calculates a dot product using both product transformation and cascaded accumulators
See also Dot2… Dot9.
§References
Based on Ogita, Rump and Oishi 05
Trait Implementations§
Source§impl<F, R> Add<(F, F)> for DotK<F, R>where
F: TwoProduct,
R: SumAccumulator<F>,
impl<F, R> Add<(F, F)> for DotK<F, R>where
F: TwoProduct,
R: SumAccumulator<F>,
Source§impl<F, R> DotAccumulator<F> for DotK<F, R>
impl<F, R> DotAccumulator<F> for DotK<F, R>
impl<F: Copy, R: Copy> Copy for DotK<F, R>
impl<F, R> Send for DotK<F, R>
Auto Trait Implementations§
impl<F, R> Freeze for DotK<F, R>
impl<F, R> RefUnwindSafe for DotK<F, R>where
F: RefUnwindSafe,
R: RefUnwindSafe,
impl<F, R> Sync for DotK<F, R>
impl<F, R> Unpin for DotK<F, R>
impl<F, R> UnwindSafe for DotK<F, R>where
F: UnwindSafe,
R: 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,
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<Acc, F> ParallelDotAccumulator<F> for Acc
impl<Acc, F> ParallelDotAccumulator<F> for Acc
Source§fn into_consumer(self) -> DotConsumer<Self>
fn into_consumer(self) -> DotConsumer<Self>
Turns an accumulator into a consumer