MathGroup Archive 2006

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

Search the Archive

Re: Table command strange output when 'i' over 16

  • To: mathgroup at smc.vnet.net
  • Subject: [mg69813] Re: [mg69779] Table command strange output when 'i' over 16
  • From: Christopher Arthur <caa0012 at unt.edu>
  • Date: Sat, 23 Sep 2006 23:45:07 -0400 (EDT)
  • References: <200609230843.EAA22420@smc.vnet.net>

Why bother? using the same index twice is wrong on so many levels that 
it shouldn't work at all.  Quoting Nasser Abbasi <nma at 12000.org>:

> hello;
>
> Mathematica 5.2, on XP.
>
> When I type the command
>
> Table[0,{i,1,2},{i,1,2}]
> Table[0,{i,1,3},{i,1,3}]
> Table[0,{i,1,4},{i,1,4}]
>
> etc... all the way to
>
> Table[0,{i,1,15},{i,1,15}]
>
> I always get a 2D square  Matrix filled with zeros as I expected.
>
> But when I type
>
> Table[0,{i,1,16},{i,1,16}]
>
> Now the matrix returned no longer filled with zero.
> Any idea why this is? and any other value of over 16 will also have this
> problem.
>
> Notice that when I change the second index counter from 'i' to 'j' it works:
> Table[0,{i,1,16},{j,1,16}]
>
> it works ok, and I get a matrix filled with zero.
>
> any thoughts?
>
> Here is a screen shot:
> http://12000.org/tmp/092106/table_bug.htm
>
> Nasser
>
>



  • Prev by Date: Re: Table command strange output when 'i' over 16
  • Next by Date: Re: Re: Extracting terms from an equation
  • Previous by thread: Re: Table command strange output when 'i' over 16
  • Next by thread: RE: Table command strange output when 'i' over 16