HOME

PDF letter size

Using zero based arrays and lists in Mathematica

Nasser M. Abbasi

Oct 24, 2010   Compiled on January 30, 2024 at 4:36am

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