Function cumsum

Source
pub fn cumsum(v: &[i64]) -> Vec<i64>