ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 14 Dec 2011 03:25:23 +0100How to multiply vector by numberhttps://ask.sagemath.org/question/8539/how-to-multiply-vector-by-number/I have vector
W = [1, 8, 4, 7, 10, 1, 6, 3]
I need to multiply it by number, but command 2*W gives just concatenated vector by itself
[1, 8, 4, 7, 10, 1, 6, 3, 1, 8, 4, 7, 10, 1, 6, 3]
I dont need it, I need multiply all elements of vector to numberkoteWed, 14 Dec 2011 03:25:23 +0100https://ask.sagemath.org/question/8539/