scalar multiplication of vectors