Function vec_sum

Source
pub fn vec_sum<R: RealField + Copy>(vec: &[R]) -> R
Expand description

Compute the sum of elements in a vector.