MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: To apply a function to a List


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


  • Prev by Date: Integral problem
  • Next by Date: Re: To apply a function to a List
  • Previous by thread: Re: To apply a function to a List
  • Next by thread: Re: To apply a function to a List