Re: how come ?
- To: mathgroup at smc.vnet.net
- Subject: [mg41263] Re: how come ?
- From: Bill Rowe <listuser at earthlink.net>
- Date: Sat, 10 May 2003 04:04:33 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
On 5/9/03 at 3:20 AM, RazroRog at hotmail.com (RazroRog) wrote:
>* A nested list of lists *
>In[1]:= t = {{a,b,c},{d,e,f}}; t
>Out[2]= {{a,b,c},{d,e,f}}
>* Replace b with 3 and e with 4 *
>In[3]:= t[[1,2]] = 3; t[[2,2]] = 4;
>t
>Out[5]= {{a,3,c},{d,4,f}}
I don't see an issue here. You start with a list structure, tell Mathematica to replace a couple of specific elements with new values then check and see Mathematica did just that. What is the issue?