MathGroup Archive 1999

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

Search the Archive

Re: Partial evaluation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg21136] Re: Partial evaluation
  • From: Bojan Bistrovic <bojanb at physics.odu.edu>
  • Date: Fri, 17 Dec 1999 01:21:36 -0500 (EST)
  • Organization: Old Dominion Universityaruba
  • References: <8320dg$glm@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

I'm not sure what's your problem but this should work for any list:

In[1]:= A={{0,0},{0,0}}
Out[1]= {{0,0},{0,0}}

In[2]:= A[[Sequence@@{1,1}]]=2
Out[2]= 2

In[3]:= A
Out[3]= {{1,0},{0,0}}

Instead of {1,1} you can use any List.


  • Prev by Date: Using True type fonts in graphics
  • Next by Date: double labelled y axis in graphs
  • Previous by thread: Partial evaluation
  • Next by thread: Re: Partial evaluation