Re: To apply a function to a List
- To: mathgroup at smc.vnet.net
 - Subject: [mg65635] Re: [mg65597] To apply a function to a List
 - From: ggroup at sarj.ca
 - Date: Tue, 11 Apr 2006 04:04:50 -0400 (EDT)
 - References: <200604100631.CAA14845@smc.vnet.net>
 - Sender: owner-wri-mathgroup at wolfram.com
 
Use Map:
Map[f, list]
or 
f/@list
On Mon, 10 Apr 2006 02:31:17 -0400 (EDT), 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
- References:
- To apply a function to a List
- From: Francisco Javier <pacoga@ctv.es>
 
 
 - To apply a function to a List