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

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

Search the Archive

Re: Applying List of Functions To List Of Arguments

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30196] Re: [mg30181] Applying List of Functions To List Of Arguments
  • From: BobHanlon at aol.com
  • Date: Thu, 2 Aug 2001 03:15:52 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

In a message dated 2001/8/1 2:33:51 AM, rml27 at cornell.edu writes:

>What function or operator will let me apply a list of functions to a
>list of arguments? That is, I'd like to apply {f1,f2,f3} to {a,b,c} to
>get {f1[a],f2[b],f3[c]}.
>

Inner[#1[#2]&, {f1, f2, f3}, {a, b, c}, List]

{f1[a], f2[b], f3[c]}


Bob Hanlon
Chantilly, VA  USA


  • Prev by Date: problem with symbol and function declaration
  • Next by Date: How Do I Solve This System of 6 Inequalities?
  • Previous by thread: Re: problem with symbol and function declaration
  • Next by thread: Re: Applying List of Functions To List Of Arguments