|
Re: IDL arrays having more than 8 dimensions [message #79445 is a reply to message #79435] |
Mon, 27 February 2012 07:32  |
Russell[1]
Messages: 101 Registered: August 2011
|
Senior Member |
|
|
On Feb 27, 7:36 am, Giovanni Natale <giovanni.natal...@googlemail.com>
wrote:
> Hi everybody!
> I often work with functions depending on many variables and I would
> like to store all the values within one IDL array. However, IDL does
> not allow to create arrays with dimension higher than 8.
> Does anybody know a possible solution for this problem or where I can
> find more information about it?
>
> Thank you,
> Giovanni
It's not pretty, but it would work....
IDL, like all other programming languages, actually stores the data
(even if a multi-dimensional array) in a 1-d array. To my knowledge
the only upper limit on the length of a 1-d array is due to the bit-i-
ness of your computer. A 32-bit system has a limitation of around 2
Gb (I think) and a 64-bit is much higher --- I don't think I've even
come close to the limit. Of course, once you've got all the data into
this 1-d array, you'll need some scheme of encoding which element goes
where.
Russell
|
|
|