First time here? Check out the FAQ!
answered 2011-12-12 03:29:10 +0100
Alternatively you can use the comprehension list syntax :
f(x) = x*exp(x) L = [1,2,3,4,19] M = [f(x) for x in L]
As far as I know, this is a syntactic sugar for the map function proposed by benjaminfjones