[][src]Function peroxide::structure::vector::reduce

pub fn reduce<F, T>(f: F, init: T, xs: &Vec<T>) -> T where
    F: Fn(T, T) -> T,
    T: Real