Function vmul

Returns the scalar-vector product.