Function fastsim_core::utils::add_from
source · pub fn add_from(xs: &Array1<f64>, i: usize, val: f64) -> Array1<f64>Expand description
Returns a new array with a constant added starting at xs[i] to the end. Values prior to xs[i] are unchanged.