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: [mg65642] Re: [mg65597] To apply a function to a List
  • From: gardyloo <gardyloo at mail.wsu.edu>
  • Date: Tue, 11 Apr 2006 04:04:55 -0400 (EDT)
  • References: <200604100631.CAA14845@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

Possibly the easiest way would be to do something like

 f/@list


    Regards!
    


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.
>
>   

-- 
==========================================================
Curtis Osterhoudt
PGP Key ID: 0x088E6D7A
Please avoid sending me Word or PowerPoint attachments
See http://www.gnu.org/philosophy/no-word-attachments.html
==========================================================


  • Prev by Date: Re: To apply a function to a List
  • 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