Function prepapre_cache_vec

Source
pub fn prepapre_cache_vec<T: Copy>(vec: &mut Vec<T>, len: usize, default: T)
Expand description

Take any f32 vec, set its length and fill it with the default value.