First time here? Check out the FAQ!
answered 2011-12-14 04:18:24 +0100
Your W is not a vector but a list. If you want a vector you have to do the following :
sage: v=vector([1,2]) sage: v (1, 2) sage: 3*v (3, 6) sage: sage: v.column() [1] [2]
Laurent