MathGroup Archive 2001

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

Search the Archive

Re: Applying List of Functions To List Of Arguments


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