MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Simplify/FullSimplify Infinite Loop
  • Next by Date: What is the algorithm Mathematica uses to detrmine the automatic range for plotting?
  • Previous by thread: Simplify/FullSimplify Infinite Loop
  • Next by thread: Re: subscripted function arguments