Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Indexing from 0?

10 views
Skip to first unread message

RGVi...@shaw.ca

unread,
Apr 6, 2013, 7:33:52 PM4/6/13
to
Is there any convenient and automatic way to allow Maple to index from zero, so one can have arrays, sequences, etc, of the form x[0], x[1], x[2],... ? Of course there are workarounds (such as having a separate x0, etc), but they are often annoying and inefficient.

Nasser M. Abbasi

unread,
Apr 6, 2013, 9:41:38 PM4/6/13
to
may be use Array?

a:=Array(0..4);
a[0]:=1;

etc...

--Nasser

0 new messages