Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

vector/matrix indexed from zero

  • To: mathgroup at smc.vnet.net
  • Subject: [mg114678] vector/matrix indexed from zero
  • From: "Vasyl&#39;" <vvavrychuk at gmail.com>
  • Date: Sun, 12 Dec 2010 05:47:21 -0500 (EST)

How to create vector in Mathematica index of which will start from
zero.

Now for x = {0, 1}, x[[1]] gives 0 and x[[2]] gives 1.

I want x[[0]] = 0, x[[1]] = 1.


  • Prev by Date: Silly Problem/Resolution
  • Next by Date: Re: Replacement Rule with Sqrt in denominator
  • Previous by thread: Re: Silly Problem/Resolution
  • Next by thread: Re: vector/matrix indexed from zero