Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: To apply a function to a List

  • To: mathgroup at smc.vnet.net
  • Subject: [mg65608] Re: [mg65597] To apply a function to a List
  • From: Sseziwa Mukasa <mukasa at jeol.com>
  • Date: Tue, 11 Apr 2006 04:04:13 -0400 (EDT)
  • References: <200604100631.CAA14845@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On Apr 10, 2006, at 2:31 AM, 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?

f[#]&/@list

Regards,

Sseziwa


  • Prev by Date: Re: To apply a function to a List
  • Next by Date: Help with functions
  • Previous by thread: Re: To apply a function to a List
  • Next by thread: Re: To apply a function to a List