comp.lang.ada
 help / color / mirror / Atom feed
From: "lanceboyle@qwest.net" <lanceboyle@qwest.net>
Subject: Re: ANN: miscellaneous Math routines, GPL'd
Date: Tue, 12 May 2009 14:02:56 -0700 (PDT)
Date: 2009-05-12T14:02:56-07:00	[thread overview]
Message-ID: <7f7fcafe-189e-423e-a24d-5933bfd6f754@n7g2000prc.googlegroups.com> (raw)
In-Reply-To: 9dbcdcd0-3c15-4165-9336-3d5778df2ca3@e20g2000vbc.googlegroups.com

On May 12, 9:38 am, johns...@googlemail.com wrote:
> Dear All,
>
> For those of you who like Ada with their numerics (is there
> anyone who doesn't?!) I have released a collection of math
> routines under the GPL license. Find them at:
>
>  http://web.am.qub.ac.uk/users/j.parker/miscellany
>
> The full set is tarred in the file:
>
>   miscellany.10may09.tar.gz
>
> in the directory given above.
>
> Most are old classics I have found useful over the years
> (SVD, QR, LU, Runge-Kutta, FFT, Arbitrary precision floating point).
> The random number generators are very new; the documentation
> should explain why I recommend them. The random number generators
> and the Arbitrary precision floating point are designed to
> make good use of the new 64-bit CPU's.
>
> Cheers,
> Jonathan
>
> j.parker/at/qub/point/ac/point/uk

Wow--numerical code that I can actually read! This looks awesome.

I suppose that it would not be hard to adapt the code to use the
vector and matrix declarations in the Annex G.3 part of Ada 2005, e.g.

type Real_Vector is array (Integer range <>) of Real'Base;
type Real_Matrix is array (Integer range <>, Integer range <>)
                                                   of Real'Base;

replacing the scattered declarations such as

type Data_Array is array (Array_Index) of Real;
type A_Matrix is array(R_Index, C_Index) of Real;

I really like the "standardized" way of these Ada 2005 declarations.

Jerry



  parent reply	other threads:[~2009-05-12 21:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-12 16:38 ANN: miscellaneous Math routines, GPL'd johnscpg
2009-05-12 18:45 ` John B. Matthews
2009-05-13  9:39   ` johnscpg
2009-05-13 13:40     ` John B. Matthews
2009-05-12 19:03 ` Dmitry A. Kazakov
2009-05-12 21:02 ` lanceboyle [this message]
2009-05-13  9:25   ` johnscpg
2009-05-13 11:52     ` gautier_niouzes
2009-05-13 13:43       ` johnscpg
replies disabled

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