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

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: Copy, C: Copy> Copy for SumK<F, C>
[src]

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter. Read more

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

[src]

The sum of all terms accumulated so far

[src]

Initial value for an accumulator

[src]

Absorb the items of an iterator into the accumulator Read more

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

The resulting type after applying the + operator.

[src]

Performs the + operation.

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

[src]

Performs the conversion.

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

The resulting type after applying the + operator.

[src]

Performs the + operation.

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

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

[src]

Performs the += operation.

Auto Trait Implementations

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