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 nc8mr12358991pbc.6.1335770411559; Mon, 30 Apr 2012 00:20:11 -0700 (PDT) Path: r9ni114936pbh.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Martin Newsgroups: comp.lang.ada Subject: Re: Can Ada iterate over Nd array? Date: Mon, 30 Apr 2012 00:20:10 -0700 (PDT) Organization: http://groups.google.com Message-ID: <30209028.75.1335770410994.JavaMail.geo-discussion-forums@ynjj16> References: <18y0zty0yw1m3.1dkfnp5etqdk0$.dlg@40tude.net> <29536085.12.1335512375723.JavaMail.geo-discussion-forums@yndm3> NNTP-Posting-Host: 20.133.0.8 Mime-Version: 1.0 X-Trace: posting.google.com 1335770411 31323 127.0.0.1 (30 Apr 2012 07:20:11 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 30 Apr 2012 07:20:11 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=20.133.0.8; posting-account=g4n69woAAACHKbpceNrvOhHWViIbdQ9G User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-04-30T00:20:10-07:00 List-Id: On Friday, April 27, 2012 7:08:15 PM UTC+1, Jeffrey Carter wrote: > On 04/27/2012 12:39 AM, Martin wrote: > > type A is array (1 .. 3) of Integer; > > type B is array (1 .. 4) of A; > > type C is array (1 .. 2) of B; > > These are all 1-D arrays. > > -- > Jeff Carter > "We'll make Rock Ridge think it's a chicken > that got caught in a tractor's nuts!" > Blazing Saddles > 87 True but a 3-d array can always be re-arranged into 3 * 1-d arrays. Is there an underlying difference between the 2 styles? Can a 'genuine' multi-dimensionsal array be implemented more efficiently? -- Martin