Re: How to extract functions from a list and call them with any argument?
- To: mathgroup at smc.vnet.net
- Subject: [mg65939] Re: How to extract functions from a list and call them with any argument?
- From: "ravi" <rv15i at yahoo.se>
- Date: Mon, 24 Apr 2006 06:01:48 -0400 (EDT)
- References: <e2fkto$bp7$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
You are almost there. Your code needs just a tiny little extra modification. Try: funclist[x_]:= {Sin[x], x^3, Cos[x]^2} Then, funclist[t][[1]] gives, as you desire, Out[5]= Sin[t] /ravi