Re: To apply a function to a List
- To: mathgroup at smc.vnet.net
- Subject: [mg65628] Re: To apply a function to a List
- From: "feinberger" <jfei05 at esc.cam.ac.uk>
- Date: Tue, 11 Apr 2006 04:04:44 -0400 (EDT)
- References: <e1cusv$enp$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
This might work. l = Table[x, {x, 1, 10}]; f[i_] := i + 1; (*Or whatever your function is...*) f[l] Francisco Javier wrote: > Dear all, > > Let f, l be a function and a list respectively. How can we do > > Table[f[list[[n]]],{n,1, Length[list]}] > > in another way? > > Thanks. > > -- > ---- > Francisco Javier García Capitán > http://garciacapitan.auna.com