Function build_cumsum

Source
fn build_cumsum(trajectory: &[(i64, &[f32])]) -> CumulativeSums