[][src]Struct accurate::sum::SumK

pub struct SumK<F, C> { /* fields omitted */ }

Calculates a sum using cascaded accumulators for the remainder terms

See also Sum2... Sum9.

References

Based on Ogita, Rump and Oishi 05

Trait Implementations

impl<F, C> Add<F> for SumK<F, C> where
    SumK<F, C>: AddAssign<F>, 
[src]

type Output = Self

The resulting type after applying the + operator.

impl<F, C> Add<SumK<F, C>> for SumK<F, C> where
    F: Float + TwoSum,
    C: SumAccumulator<F>,
    C::Output: Add<C, Output = C>, 
[src]

type Output = Self

The resulting type after applying the + operator.

impl<F, C> AddAssign<F> for SumK<F, C> where
    F: Float + TwoSum,
    C: SumAccumulator<F>, 
[src]

impl<F: Clone, C: Clone> Clone for SumK<F, C>[src]

impl<F: Copy, C: Copy> Copy for SumK<F, C>[src]

impl<F: Debug, C: Debug> Debug for SumK<F, C>[src]

impl<F, C> From<F> for SumK<F, C> where
    F: Float,
    C: SumAccumulator<F>, 
[src]

impl<F, C> Send for SumK<F, C> where
    F: Send,
    C: Send
[src]

impl<F, C> SumAccumulator<F> for SumK<F, C> where
    F: Float + TwoSum,
    C: SumAccumulator<F>, 
[src]

Auto Trait Implementations

impl<F, C> RefUnwindSafe for SumK<F, C> where
    C: RefUnwindSafe,
    F: RefUnwindSafe

impl<F, C> Sync for SumK<F, C> where
    C: Sync,
    F: Sync

impl<F, C> Unpin for SumK<F, C> where
    C: Unpin,
    F: Unpin

impl<F, C> UnwindSafe for SumK<F, C> where
    C: UnwindSafe,
    F: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<Acc, F> ParallelSumAccumulator<F> for Acc where
    Acc: SumAccumulator<F, Output = Acc> + Add<Acc> + Send
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.