Re: To apply a function to a List
- To: mathgroup at smc.vnet.net
- Subject: [mg65619] Re: To apply a function to a List
- From: albert <awnl at arcor.de>
- Date: Tue, 11 Apr 2006 04:04:31 -0400 (EDT)
- References: <e1cusv$enp$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
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]}] Map[f,list] or using the shortcut for Map: f/@list hth albert