[Numpy-discussion] weird indexing
Fri Jan 4 04:36:17 CST 2008
Mathew Yeates 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?
The best way would depend on what you want to do with it. Why do you need this?
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Numpy-discussion