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: [mg30186] Re: [mg30181] Applying List of Functions To List Of Arguments
  • From: Andrzej Kozlowski <andrzej at tuins.ac.jp>
  • Date: Thu, 2 Aug 2001 03:15:44 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

For example:

In[1]:=
MapThread[#1[#2]&,{{f1,f2,f3},{a,b,c}}]

Out[1]=
{f1[a],f2[b],f3[c]}


On Wednesday, August 1, 2001, at 03:19  PM, Ronnen Levinson wrote:

> 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.
>
>

Andrzej Kozlowski
Toyama International University
JAPAN
http://platon.c.u-tokyo.ac.jp/andrzej/


  • Prev by Date: Re: How to clear OverBar[p]
  • Next by Date: Re: Any quantum chemists / physicists?
  • Previous by thread: RE: Applying List of Functions To List Of Arguments
  • Next by thread: Re: Applying List of Functions To List Of Arguments