From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: matrix package with Ada
Date: Tue, 20 Jul 2010 09:27:26 +0200
Date: 2010-07-20T09:27:26+02:00 [thread overview]
Message-ID: <84wh7j2x1re7$.1l00kxvcht5yw.dlg@40tude.net> (raw)
In-Reply-To: i22jtk$gm$1@munin.nbi.dk
On Mon, 19 Jul 2010 17:34:25 -0500, Randy Brukardt wrote:
> I am no expert on numerics, but I have to wonder what other languages and/or
> packages do in such cases? Perhaps they just don't care (there is precedent
> for that; Ada takes great pains to define the accuracy of most of the
> numerical functions, most other languages say nothing at all). Clearly, this
> problem would need to be solved in some way before a general routine could
> in introduced (of course, the abstract above seems to imply that such a
> solution is impossible).
"Accuracy requirements for the subprograms Solve, Inverse, Determinant,
Eigenvalues and Eigensystem are implementation defined."
-- ARM G.3.1
I agree that it is not good from Ada design point of view. The requirement
should be: the accuracy is the precision of the corresponding Real type (or
else Constraint_Error).
This is an immense problem, especially for generic units, I have no idea
how to approach it using existing language means, not to mention
algorithmic issues.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2010-07-20 7:27 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-10 13:25 matrix package with Ada fitta
2010-07-10 13:46 ` MRE
2010-07-10 15:42 ` fitta
2010-07-10 18:34 ` tmoran
2010-07-10 18:54 ` Simon Wright
2010-07-10 20:23 ` Gautier write-only
2010-07-14 2:02 ` robin
2010-07-10 20:22 ` Gautier write-only
2010-07-12 1:58 ` Jerry
2010-07-12 13:38 ` Ada novice
2010-07-12 15:13 ` jonathan
2010-07-12 19:13 ` Ada novice
2010-07-12 20:13 ` Simon Wright
2010-07-12 21:09 ` jonathan
2010-07-13 7:07 ` Ada novice
2010-07-13 14:27 ` jonathan
[not found] ` <ec73f176-876e-4bcf-ab11-eed852129d34@x21g2000yqa.googlegroups.com>
2010-07-13 17:59 ` Jeffrey R. Carter
2010-07-13 18:00 ` Georg Bauhaus
2010-07-13 18:26 ` Ada novice
2010-07-19 22:34 ` Randy Brukardt
2010-07-20 7:27 ` Dmitry A. Kazakov [this message]
2010-07-25 19:15 ` Ada novice
[not found] ` <5f0082b8-7688-4422-be38-72f1c60be539@d8g2000yqf.googlegroups.com>
2010-07-25 19:39 ` Nasser M. Abbasi
2010-07-13 19:11 ` Simon Wright
2010-07-13 20:43 ` Ada novice
2010-07-14 18:55 ` Simon Wright
2010-07-12 20:59 ` Simon Wright
2010-07-13 16:40 ` Warren
2010-07-27 22:10 ` jonathan
2010-07-27 22:40 ` jonathan
2010-07-28 0:51 ` jonathan
2010-07-12 2:04 ` Jerry
2010-07-12 8:52 ` Ada novice
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox