RE: Applying List of Functions To List Of Arguments
- To: mathgroup at smc.vnet.net
- Subject: [mg30207] RE: [mg30181] Applying List of Functions To List Of Arguments
- From: "David Park" <djmp at earthlink.net>
- Date: Thu, 2 Aug 2001 03:16:01 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Ronnen,
MapThread[#1[#2] &, {{f1, f2, f3}, {a, b, c}}]
{f1[a], f2[b], f3[c]}
David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/
> From: Ronnen Levinson [mailto:rml27 at cornell.edu]
To: mathgroup 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.
>