Compare ways of generating vectors.