MathGroup Archive 2005

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

Search the Archive

Re: Applying a list of functions to a list of arguments

  • To: mathgroup at smc.vnet.net
  • Subject: [mg57477] Re: Applying a list of functions to a list of arguments
  • From: "Carl K. Woll" <carlw at u.washington.edu>
  • Date: Sun, 29 May 2005 01:03:35 -0400 (EDT)
  • Organization: University of Washington
  • References: <200505260831.EAA18668@smc.vnet.net> <d79e85$l6h$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

"Murray Eisenberg" <murray at math.umass.edu> wrote in message 
news:d79e85$l6h$1 at smc.vnet.net...
> This problem also reminds me of a simpler one:  Given
>
>   f = {f1, f2, f3};
>   a = (* some number *)
>
> what are nice ways of producing the following result?
>
>   {f1[a], f2[a], f3[a]}
>
[snip]

Murray,

This looks like a good candidate for Through:

In[2]:=
Through[f[a]]
Out[2]=
{f1[a], f2[a], f3[a]}

Carl Woll 



  • Prev by Date: Re: Solve question
  • Next by Date: Re: sorting complex number?
  • Previous by thread: Re: Re: Applying a list of functions to a list of arguments
  • Next by thread: Re: Re: Applying a list of functions to a list of arguments