1 | initial version |
Recently there was a question about this on sage-devel, which led to the following nice suggestion:
sage: a = vector([1,2,3])
sage: b = vector([4,5])
sage: from itertools import chain
sage: c = vector(chain(a,b)); c
(1, 2, 3, 4, 5)