pub fn vector_scale(v: &[f32], scalar: f32) -> Vec<f32>
Scalar multiplication of a vector
v
scalar
Vector with all elements multiplied by scalar