Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*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 2005

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

Search the Archive

Re: Applying a list of functions to a list of arguments

  • To: mathgroup at smc.vnet.net
  • Subject: [mg57350] Re: Applying a list of functions to a list of arguments
  • From: "Kezhao Zhang" <kezhao.zhang at gmail.com>
  • Date: Wed, 25 May 2005 06:02:58 -0400 (EDT)
  • References: <d6usl9$j41$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Use MapThread:

MapThread[#1[#2]&, { {f1,f2,f3}, {a1,a2,a3}}]
 {f1[a1],f2[a2],f3[a3]} 

Hope this helps.

K. Zhang


  • Prev by Date: Re: Solve or Reduce on a monstrosity of an expresssion (and a prize!)
  • Next by Date: Re: Log function
  • Previous by thread: Re: Applying a list of functions to a list of arguments
  • Next by thread: Re: Applying a list of functions to a list of arguments