First time here? Check out the FAQ!
answered 2015-12-19 19:59:27 +0100
You should use vectors
sage: p = vector((3,4)) sage: q = vector((0,-1)) sage: 2*p (6, 8) sage: p + q (3, 3)