Multiplies each vector component by the input number.