John,
I fear that such a choice would make things really complicate.
If you want to give your code to someone else you had to write
my_list: [foo,bar,baz]$
n: 3$
my_value: my_list[ n - ( 1 - default_for_indexing_the_first_entry ) ];
==> baz
And all code in the share packages written on Maxima level had to be rewritten in that
sense.
Volker van Nek
Am 14 Nov 2007 um 17:41 hat John Ogilvie geschrieben:
> May I suggest that a choice of base 0 or 1 for vectors, also the numbering
> of rows and columns of matrices and arrays, might be left to the user,
> whether mathematician or otherwise? Either 0 or 1 might be the default
> value, with an option by the user to alter this value, just for the
> subsequent session or until reset.
> JFO