[Numpy-discussion] weird indexing
Fri Jan 4 04:31:31 CST 2008
On Jan 4, 2008 1:16 AM, Mathew Yeates <firstname.lastname@example.org> wrote:
> Okay, here's a weird one. In Fortran you can specify the upper/lower
> bounds of an array
> e.g. REAL A(3:7)
> What would be the best way to translate this to a Numpy array? I would
> like to do something like
> and have the expression A actually return A.
> Or something. Any thoughts?
As far as I know, numpy only supports the lower boundary to be 0 --
just like C.
(I didn't even know that Fortran supported this ;-) )
More information about the Numpy-discussion