[go: up one dir, main page]

Dot5

Type Alias Dot5 

Source
pub type Dot5<F> = DotK<F, Sum4<F>>;
Expand description

DotK with five cascaded accumulators

§Examples

use accurate::traits::*;
use accurate::dot::Dot5;

let d = Dot5::zero() + (1.0, 1.0) + (2.0, 2.0) + (3.0, 3.0);
assert_eq!(14.0f64, d.dot());

§References

Based on Ogita, Rump and Oishi 05

Aliased Type§

pub struct Dot5<F> { /* private fields */ }