Re: How can I do this?

*To*: mathgroup at smc.vnet.net*Subject*: [mg19163] Re: How can I do this?*From*: Bruno Daniel <bruno.daniel at hadiko.de>*Date*: Thu, 5 Aug 1999 23:59:06 -0400*Organization*: University of Karlsruhe*References*: <7obbiv$3rm@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

Hi Bill You could use a[t_]=Table[c[i, t],{i,n}] (1) or, with subscripts: \!\(a[t_] = Table[c\_i[t], {i, n}]\) (2) (you can then avoid the c's and use a for the components as well: \!\(a[t_] = Table[a\_i[t], {i, n}]\) (3) ) Then you would define f[x_] this way: f[x_,t_]:= Sum[a[t][[k]] p[k, x], {k, n}] (all cases) or \!\(f[x_, t_] := \ Sum[c\_k[t]\ p[k, \ x], \ {k, \ n}]\) (case 2) or \!\(f[x_, t_] := \ Sum[a\_k[t]\ p[k, \ x], \ {k, \ n}]\) (case 3) (Paste all these expression into your Notebook. Then they will be formatted by the front end.) Yours sincerely Bruno