MathGroup Archive 2005

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

Search the Archive

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


"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