comp.lang.ada
 help / color / mirror / Atom feed
From: Martin <martin@thedowies.com>
Subject: Re: Can Ada iterate over Nd array?
Date: Mon, 30 Apr 2012 00:20:10 -0700 (PDT)
Date: 2012-04-30T00:20:10-07:00	[thread overview]
Message-ID: <30209028.75.1335770410994.JavaMail.geo-discussion-forums@ynjj16> (raw)
In-Reply-To: <jnenef$q9l$1@tornado.tornevall.net>

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



  reply	other threads:[~2012-04-30  7:20 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-26  4:42 Can Ada iterate over Nd array? Okasu
2012-04-26  5:36 ` Jeffrey Carter
2012-04-26  6:02   ` Okasu
2012-04-26  6:05     ` Okasu
2012-04-26 10:57       ` ytomino
2012-04-26  8:01     ` Dmitry A. Kazakov
2012-04-27  0:36       ` Randy Brukardt
2012-04-27  1:58         ` Jerrid Kimball
2012-04-27  7:39           ` Martin
2012-04-27 18:08             ` Jeffrey Carter
2012-04-30  7:20               ` Martin [this message]
2012-04-30 13:21                 ` Robert A Duff
2012-04-30 15:42                   ` Martin
2012-04-27 16:06         ` Shark8
2012-04-26  9:00     ` Georg Bauhaus
2012-04-26 15:48     ` Adam Beneschan
2012-04-26 20:54       ` Okasu
2012-04-27  0:39       ` Randy Brukardt
2012-04-27 13:30         ` Robert A Duff
2012-04-28  8:24           ` Georg Bauhaus
2012-04-28  9:35             ` björn lundin
     [not found]               ` <raadncdcv9V-hgHSnZ2dnUVZ_v2dnZ2d@earthlink.com>
2012-04-28 23:19                 ` björn lundin
2012-04-30 14:48               ` gautier_niouzes
2012-05-01  2:02           ` Randy Brukardt
2012-04-27  4:19       ` Nasser M. Abbasi
2012-04-27 16:23       ` Bill Findlay
2012-04-26  9:40 ` gautier_niouzes
     [not found] ` <26754113.2767.1335431755764.JavaMail.geo-discussion-forums@vbki8>
2012-04-26 18:09   ` Jeffrey Carter
2012-04-27  0:28     ` BrianG
2012-04-27 13:46       ` Robert A Duff
2012-04-27 11:09 ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox