From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DATE_IN_PAST_12_24 autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,35edde140291c79e X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.232.42 with SMTP id tl10mr11094485pbc.7.1335590892889; Fri, 27 Apr 2012 22:28:12 -0700 (PDT) Path: r9ni107047pbh.0!nntp.google.com!news1.google.com!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!panix!newsfeed-00.mathworks.com!nntp.TheWorld.com!.POSTED!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Can Ada iterate over Nd array? Date: Fri, 27 Apr 2012 09:30:22 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <393172.2032.1335455290715.JavaMail.geo-discussion-forums@yntt13> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 X-Trace: pcls6.std.com 1335533422 15876 192.74.137.71 (27 Apr 2012 13:30:22 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 27 Apr 2012 13:30:22 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:Eogc1F/B+n0KMPa2cE2Up9fiknU= Content-Type: text/plain; charset=us-ascii Date: 2012-04-27T09:30:22-04:00 List-Id: "Randy Brukardt" writes: > I have (or had) a five dimension array in one of my programs. I'm curious what the purpose was. >...It was quite a > problem to avoid running out of space (the size multiplies in a hurry!) Yeah. Which is why 1000 dimensions is ridiculous -- if the length in each dimension is just 2, you have 2**1000 components. I suppose you could have a 1x1x...x1 array. Or if just one 'Length is 0, the whole thing is empty. But those don't seem terribly useful. - Bob