Trait ItertoolsNum

Source
pub trait ItertoolsNum: Iterator {
    // Provided method
    fn cumsum<S>(self) -> Cumsum<Self, S> 
       where Self: Sized,
             S: Add<Self::Item, Output = S> + Zero { ... }
}
Expand description

Extension trait for iterators: extra adaptors and methods for numerical iterators

Provided Methods§

Source

fn cumsum<S>(self) -> Cumsum<Self, S>
where Self: Sized, 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.

Implementors§

Source§

impl<I> ItertoolsNum for I
where I: Iterator + ?Sized,

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy