Registry / Library

library · v0.1.1
Dot Kahan
Accumulate a dot product with compensated summation for bounded finite inputs. Mismatched arrays return zero.
Use Dot Kahan
use vendor::dot_kahan::dot_kahan;
Run the example
nest demo dot_kahan@0.1.1
blyxc native-run dot_kahan-demo/main.blyx
Example source and expected output
use vendor::dot_kahan::dot_kahan;
fn main() {
println!(dot_kahan([1,2,3],[4,5,6]));
}
Expected output
32
Published versions
| Version | Package | Source commit | SHA-256 |
|---|---|---|---|
| 0.1.1 | Download ZIP · Browse files | 3fa9517a2d | 336581e2e82e95604f05ea5ae56a08d9b83d52c29727532469b906048341ee73 |
| 0.1.0 | Download ZIP · Browse files | 6349f23784 | 2888e148af7681a300a94c80d9fbdcdfda7d9aed562cf00c7a761ba6492edc2a |