1 2 3 4 5
use crate::rotta_rs_module::arrayy::*; pub fn sum_arr(arr: &Arrayy) -> f64 { arr.value.iter().sum::<f64>() }