| 1 | initial version |
Use python's built-in map function:
f(x) = x*exp(x)
L = [1,2,3,4,19]
M = map(f, L)
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.