List of function-heads
- To: mathgroup at smc.vnet.net
- Subject: [mg17068] List of function-heads
- From: phbrf at t-online.de (Peter Breitfeld)
- Date: Wed, 14 Apr 1999 02:12:10 -0400
- Sender: owner-wri-mathgroup at wolfram.com
I want to create a List of function-heads like this:
{a[1][x_],a[2][x_],...,a[n][x_]}
(to keep this message short I'll use n=2 in the following) to assign
these to a list of Functions, e.g
{a[1][x_],a[2][x_]}={x^2,x-1}
I can do that with the following command:
In[1]:=fl=Table[a[i][x_],{i,2}]
Out[1]={{a[1][x_],a[2][x_]}
But then I can't write:
ll={x^2,x-1}
because now the a[i] are overwritten and not assosiated with the
elements of the rhs.
Is there a way to get it working? I tried Thread, MapThread and some
more but didn't find a solution.
TIA
Es gruesst Peter
--
=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=
Peter Breitfeld, Saulgau, Germany PGP public key: 08548045
- Follow-Ups:
- Re: List of function-heads
- From: "Wolf, Hartmut" <hwolf@debis.com>
- Re: List of function-heads