subscripted function arguments
- To: mathgroup at smc.vnet.net
- Subject: [mg84863] subscripted function arguments
- From: Yaroslav Bulatov <yaroslavvb at gmail.com>
- Date: Wed, 16 Jan 2008 23:08:51 -0500 (EST)
If I use Symbolize to treat all subscripted variables as symbols, how can I generate those symbols programmatically? Suppose x_1,x_2 are a symbolized subscripted variables. I'd like to do something like Symbolize[TagBox[SubscriptBox.... expr=x_1+x_2 vars=Table[Subscript[x,i],{i,2}] f=Function@@{{vars},expr} then f[1,1] should evaluate to 2