arrays that start from negative numbers?
30 May
2006
30 May
'06
4:30 a.m.
Is it possible to create arrays that run from, say -5:5, rather than 0:11? Analogous to the Fortran "allocate(A(-5:5))" command? I'm translating a F90 code to Python, and it would be easier to do this than to use a python dictionary. Thanks in advance. Rick Muller rmuller@sandia.gov
6512
Age (days ago)
6512
Last active (days ago)
8 comments
5 participants
participants (5)
-
Alan Isaac
-
David Huard
-
Rick Muller
-
Rob Hetland
-
Robert Kern