Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

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: [mg69814] Re: [mg69779] Table command strange output when 'i' over 16
  • From: Stern <nycstern at gmail.com>
  • Date: Sat, 23 Sep 2006 23:45:10 -0400 (EDT)
  • References: <200609230843.EAA22420@smc.vnet.net>

The more obvious notation for what you want is

Table[0, {25}, {25}] // MatrixForm

which works just fine on my machine.

On 9/23/06, Nasser Abbasi <nma at 12000.org> wrote:
> 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: Copying cell contents?
  • Next by Date: Re: Table command strange output when 'i' over 16
  • Previous by thread: Table command strange output when 'i' over 16
  • Next by thread: Re: Table command strange output when 'i' over 16