| 1 | initial version |
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
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.