comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDL arrays having more than 8 dimensions
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: IDL arrays having more than 8 dimensions [message #79435] Tue, 28 February 2012 02:34
Giovanni Natale is currently offline  Giovanni Natale
Messages: 2
Registered: February 2012
Junior Member
OK, thanks Russell. I'll try to implement that.

Giovanni
Re: IDL arrays having more than 8 dimensions [message #79445 is a reply to message #79435] Mon, 27 February 2012 07:32 Go to previous message
Russell[1] is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: SHIFT Function
Next Topic: idl_idlbridge weirdness on unix systems

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:34:25 PDT 2025

Total time taken to generate the page: 0.00855 seconds