Function numeric_loops::sum::sum
[−]
[src]
pub fn sum<A>(xs: &[A]) -> A where
A: Clone + Add<Output = A> + Zero,
Compute the sum of the values in xs
With "use_nightly"
, this is special cased for f32, f64
.