pub fn scale(seq: &mut [f32], factor: f32)
Multiplies the given sequence element-wise with the given constant factor