[−][src]Struct accurate::dot::DotK
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
impl<F, R> Add<(F, F)> for DotK<F, R> where
F: TwoProduct + TwoSum,
R: SumAccumulator<F>, [src]
F: TwoProduct + TwoSum,
R: SumAccumulator<F>,
type Output = Self
The resulting type after applying the + operator.
fn add(self, (a, b): (F, F)) -> Self[src]
impl<F, R> Add<DotK<F, R>> for DotK<F, R> where
F: Float + TwoSum,
R: SumAccumulator<F>,
R::Output: Add<R, Output = R>, [src]
F: Float + TwoSum,
R: SumAccumulator<F>,
R::Output: Add<R, Output = R>,
type Output = Self
The resulting type after applying the + operator.
fn add(self, rhs: Self) -> Self::Output[src]
impl<F: Clone, R: Clone> Clone for DotK<F, R>[src]
impl<F: Copy, R: Copy> Copy for DotK<F, R>[src]
impl<F: Debug, R: Debug> Debug for DotK<F, R>[src]
impl<F, R> DotAccumulator<F> for DotK<F, R> where
F: Float + TwoProduct + TwoSum,
R: SumAccumulator<F>, [src]
F: Float + TwoProduct + TwoSum,
R: SumAccumulator<F>,
fn dot(self) -> F[src]
fn zero() -> Self where
F: Zero, [src]
F: Zero,
fn absorb<I>(self, it: I) -> Self where
I: IntoIterator<Item = (F, F)>, [src]
I: IntoIterator<Item = (F, F)>,
impl<F, R> From<F> for DotK<F, R> where
F: Float,
R: SumAccumulator<F>, [src]
F: Float,
R: SumAccumulator<F>,
impl<F, R> Send for DotK<F, R> where
F: Send,
R: Send, [src]
F: Send,
R: Send,
Auto Trait Implementations
impl<F, R> RefUnwindSafe for DotK<F, R> where
F: RefUnwindSafe,
R: RefUnwindSafe,
F: RefUnwindSafe,
R: RefUnwindSafe,
impl<F, R> Sync for DotK<F, R> where
F: Sync,
R: Sync,
F: Sync,
R: Sync,
impl<F, R> Unpin for DotK<F, R> where
F: Unpin,
R: Unpin,
F: Unpin,
R: Unpin,
impl<F, R> UnwindSafe for DotK<F, R> where
F: UnwindSafe,
R: UnwindSafe,
F: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<Acc, F> ParallelDotAccumulator<F> for Acc where
Acc: DotAccumulator<F, Output = Acc> + Add<Acc> + Send, [src]
Acc: DotAccumulator<F, Output = Acc> + Add<Acc> + Send,
fn into_consumer(self) -> DotConsumer<Self>[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,