[−][src]Trait competitive_hpp::prelude::ItertoolsNum
Extension trait for iterators: extra adaptors and methods for numerical iterators
Provided methods
fn cumsum<S>(self) -> Cumsum<Self, S> where
S: Add<Self::Item, Output = S> + Zero,
S: Add<Self::Item, Output = S> + Zero,
Return an iterator that produces the sequence of cumulative sums
of the base iterator. The type of the sum is S
.