vector/matrix indexed from zero
- To: mathgroup at smc.vnet.net
- Subject: [mg114678] vector/matrix indexed from zero
- From: "Vasyl'" <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.
- Follow-Ups:
- Re: vector/matrix indexed from zero
- From: Oliver Ruebenkoenig <ruebenko@wolfram.com>
- Re: vector/matrix indexed from zero