Blyx Nest Blyx language
Registry / Library
library · v0.1.1

Dot Kahan

Accumulate a dot product with compensated summation for bounded finite inputs. Mismatched arrays return zero.

Source repository · Package JSON

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

VersionPackageSource commitSHA-256
0.1.1Download ZIP · Browse files3fa9517a2d336581e2e82e95604f05ea5ae56a08d9b83d52c29727532469b906048341ee73
0.1.0Download ZIP · Browse files6349f237842888e148af7681a300a94c80d9fbdcdfda7d9aed562cf00c7a761ba6492edc2a