PDF letter size
PDF legal size

Using zero based arrays and lists in Mathematica

Nasser M. Abbasi

Oct 24, 2010   Compiled on May 14, 2020 at 9:31pm

Sometime there is a need to start the index of an array or a list from zero, as this can be more natural.

One way to do this in Mathematica is to define a notation where the index mapping is made. The example below illustrates this method.

  1. HTML
  2. PDF
  3. Mathematica notebook