pub fn array_scale_inplace<T>( array: &mut Array1<T>, scalar: T, ) -> UtilsResult<()>where T: Float + Clone,
Scale array by constant in-place