Re: Howto vonvert a list of functions in a list valued function
- To: mathgroup at smc.vnet.net
- Subject: [mg28277] Re: Howto vonvert a list of functions in a list valued function
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Sat, 7 Apr 2001 03:44:35 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <9ajn4k$sc9@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
funlist = {f1, f2, f3}
f[x_] := Through[funlist[x]]
Regards
Jens
Thomas Neff wrote:
>
> I have a list of functions, say
>
> funlist = {f1, f2, f3, ..., fn}
>
> I want to construct a function f, so that
>
> f[x] gives the list {f1[x], f2[x], f3[x], ... fn[x]}
>
> f[x_] = funlist[x] doesn't work ;-(
>
> Is there an elegant way to do this in Mathematica ?
>
> Thanks
>
> Thomas