Re: Howto vonvert a list of functions in a list valued function
- To: mathgroup at smc.vnet.net
- Subject: [mg28284] Re: [mg28253] Howto vonvert a list of functions in a list valued function
- From: BobHanlon at aol.com
- Date: Sat, 7 Apr 2001 03:44:42 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
f[x_] = #[x]& /@ funlist;
Bob Hanlon
In a message dated 2001/4/6 2:11:07 AM, t.neff at gsi.de writes:
>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 ?
>