[go: up one dir, main page]

Struct accurate::dot::DotK [] [src]

pub struct DotK<F, R> { /* fields omitted */ }

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

impl<F: Clone, R: Clone> Clone for DotK<F, R>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<F: Debug, R: Debug> Debug for DotK<F, R>
[src]

[src]

Formats the value using the given formatter. Read more

impl<F, R> DotAccumulator<F> for DotK<F, R> where
    F: Float + TwoProduct + TwoSum,
    R: SumAccumulator<F>, 
[src]

[src]

The dot product 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, R> Add<(F, F)> for DotK<F, R> where
    F: TwoProduct + TwoSum,
    R: SumAccumulator<F>, 
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<F, R> From<F> for DotK<F, R> where
    F: Float,
    R: SumAccumulator<F>, 
[src]

[src]

Performs the conversion.

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

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<F, R> Send for DotK<F, R> where
    F: Send,
    R: Send
[src]

Auto Trait Implementations

impl<F, R> Sync for DotK<F, R> where
    F: Sync,
    R: Sync