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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham 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.211.136 with SMTP id nc8mr13067492pbc.6.1335792119029; Mon, 30 Apr 2012 06:21:59 -0700 (PDT) Path: r9ni115878pbh.0!nntp.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.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: Mon, 30 Apr 2012 09:21:58 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <18y0zty0yw1m3.1dkfnp5etqdk0$.dlg@40tude.net> <29536085.12.1335512375723.JavaMail.geo-discussion-forums@yndm3> <30209028.75.1335770410994.JavaMail.geo-discussion-forums@ynjj16> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 X-Trace: pcls6.std.com 1335792118 25191 192.74.137.71 (30 Apr 2012 13:21:58 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Mon, 30 Apr 2012 13:21:58 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:MkSuxfNwonLJBItqDj+B8DbkU4M= X-Received-Bytes: 1582 Content-Type: text/plain; charset=us-ascii Date: 2012-04-30T09:21:58-04:00 List-Id: Martin writes: > True but a 3-d array can always be re-arranged into 3 * 1-d arrays. That's true if the bounds are fixed, or all but the outermost one are fixed. But a two-dimensional array can have "range <>" in both dimensions, which is impossible (in Ada) for an array of array. - Bob