pub fn checksum<I: IntoIterator<Item = f64>>(v: I) -> f64Expand description
fp64 index-weighted checksum sum(v[i] * (i + 1)), the generator’s ck. Summed
sequentially here; torch reduces in a different order, so compare with a relative tolerance.