1 | initial version |
like this
sage: a = [1, 1/2, 1/3, 3/8, 1/5, 1/3, 3/14, 1/4, 1/6, 1/4]
sage: b = 840
sage: b * vector(a)
(840, 420, 280, 315, 168, 280, 180, 210, 140, 210)
sage: [b * n for n in a]
[840, 420, 280, 315, 168, 280, 180, 210, 140, 210]