Implement vector*number.