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: [mg30213] Re: Applying List of Functions To List Of Arguments
  • From: adam_jurhs at xontech.com (atjurhs)
  • Date: Thu, 2 Aug 2001 03:16:07 -0400 (EDT)
  • References: <9k88rv$55o$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Try 

{Map[f1,{{a,b},{c,d}},{2}],Map[f2,{{a,b},{c,d}},{2}],
  Map[f3,{{a,b},{c,d}},{2}]}

And you can be rather clever about how you pass various fs into the
Map function by using Do loops.


rml27 at cornell.edu (Ronnen Levinson) wrote in message news:<9k88rv$55o$1 at smc.vnet.net>...
> Hi.
> 
> 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]}.
> 
> Yours truly,
> 
> Ronnen.


  • Prev by Date: Re:"serie"
  • Next by Date: Re: Applying List of Functions To List Of Arguments
  • Previous by thread: Re: Applying List of Functions To List Of Arguments
  • Next by thread: Re: Applying List of Functions To List Of Arguments