json_atomic 0.1.1

The Cryptographic Atom — JSON✯Atomic: canonicalization + BLAKE3 content addressing + DV25-Seal (Ed25519) for Signed Facts
Documentation
1
2
3
4
5
6
7
8
use json_atomic::trajectory_confidence;

fn main() {
    let a = [0.1, 0.3, 0.6];
    let b = [0.09, 0.31, 0.6];
    let conf = trajectory_confidence(&a, &b);
    println!("confidence={:.4}", conf);
}