comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: Larger matrices
Date: Fri, 08 Aug 2008 13:35:04 +0200
Date: 2008-08-08T13:35:05+02:00	[thread overview]
Message-ID: <489c2f68$0$1060$9b4e6d93@newsspool3.arcor-online.net> (raw)
In-Reply-To: <13426f2d-0060-47f0-8139-09506383f648@e53g2000hsa.googlegroups.com>

amado.alves@gmail.com schrieb:
>>> And Ada got in the way: slicing restricted to one-dimensional arrays!
>> Compared to other languages that have no slicing at all?
> 
> There are languages better than Ada at array indexing, including
> slicing. If there aren't, there should be!

Ada is a systems programming language.  As such, it is
targetting digital computers. In cases where Ada can be used
for some mathematical tasks, it is still a systems programming
language.

You could just ask for a type system that allows
assignment to diagonals of matrices, upper triangles,
switch from row order to column order right in the
type system and so on. (And, I guess, per DK, have these
type based mechanisms be construction facilities for
the programmer, with default implementations only).

Ada is about computers that have word/byte adressable
storage cells that happen to be able to store
bit combinations. Ada is not about cells of mathematical
abstractions.  Overlap is accidental.


If you do already have some theory for your graphs,
and presuming you need a working program for large
matrices, I'd suggest that you seriously consider prototyping
your algorithms using one of the fine PLs that do have the
required mathematical stuff built in.   (The various APLs, some
of which are specializing or certain large data sets, come
to mind; Mathematica, and so on.)  You can always concentrate
on an specially efficient Ada implementation later.

Ada is a systems programming language for digital computer
systems performing close-to-the-hardware tasks, not
mathematics.


--
Georg Bauhaus
Y A Time Drain  http://www.9toX.de



  parent reply	other threads:[~2008-08-08 11:35 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-06 13:32 Larger matrices amado.alves
2008-08-06 14:29 ` Georg Bauhaus
2008-08-06 15:01   ` amado.alves
2008-08-06 17:29     ` amado.alves
2008-08-06 17:58       ` Dmitry A. Kazakov
2008-08-06 18:40         ` amado.alves
2008-08-07  7:44           ` Dmitry A. Kazakov
2008-08-06 18:44       ` Jeffrey R. Carter
2008-08-06 19:12         ` amado.alves
2008-08-06 23:33           ` amado.alves
2008-08-07  3:02             ` Randy Brukardt
2008-08-07  6:30             ` Georg Bauhaus
2008-08-07  8:01               ` amado.alves
2008-08-07  8:55                 ` Egil Høvik
2008-08-07 19:13                 ` Jeffrey R. Carter
2008-08-08  9:59                   ` amado.alves
2008-08-08 10:38                     ` Dmitry A. Kazakov
2008-08-08 11:29                     ` Jean-Pierre Rosen
2008-08-08 13:15                       ` Jeffrey Creem
2008-08-08 13:32                         ` Dmitry A. Kazakov
2008-08-08 11:35                     ` Georg Bauhaus [this message]
2008-08-08 12:11                       ` Dmitry A. Kazakov
2008-08-08 14:11                         ` Georg Bauhaus
2008-08-08 14:36                           ` Dmitry A. Kazakov
2008-08-08 15:40                             ` Georg Bauhaus
2008-08-08 16:37                               ` Dmitry A. Kazakov
2008-08-08 17:37                                 ` Georg Bauhaus
2008-08-08 17:42                                   ` Georg Bauhaus
2008-08-08 19:51                                   ` Dmitry A. Kazakov
2008-08-09  7:44                                     ` Georg Bauhaus
2008-08-09 10:33                                       ` Dmitry A. Kazakov
2008-08-11 11:51                                         ` amado.alves
2008-08-11 13:51                                           ` Peter C. Chapin
2008-08-11 15:37                                             ` amado.alves
2008-08-13 14:03                                           ` John B. Matthews
2008-08-07 11:28             ` johnscpg
2008-08-07 12:35 ` Alex R. Mosteo
2008-08-07 13:40   ` amado.alves
2008-08-07 15:12     ` Alex R. Mosteo
2008-08-07 16:25       ` amado.alves
2008-08-07 18:21         ` amado.alves
replies disabled

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