comp.lang.ada
 help / color / mirror / Atom feed
* Generic_Roots
@ 2008-11-01 17:47 John B. Matthews
  2008-11-07  1:20 ` Generic_Roots Randy Brukardt
  0 siblings, 1 reply; 4+ messages in thread
From: John B. Matthews @ 2008-11-01 17:47 UTC (permalink / raw)


Although they never became standard, I've written implementations of

AI-356: Ada.Numerics.Generic_Real_Arrays.Generic_Roots
AI-356: Ada.Numerics.Generic_Complex_Arrays.Generic_Roots

The updated numerics packages and some test code are available here

<http://home.roadrunner.com/~jbmatthews/misc/groots.html>

The implementation uses the Durand-Kerner-Weierstrass method:

<http://en.wikipedia.org/wiki/Durand-Kerner_method>

I'd be grateful for any comments you might have.

-- 
John B. Matthews
trashgod at gmail dot com
http://home.roadrunner.com/~jbmatthews/



^ permalink raw reply	[flat|nested] 4+ messages in thread
* Generic_Roots
@ 2010-08-11 14:44 John B. Matthews
  0 siblings, 0 replies; 4+ messages in thread
From: John B. Matthews @ 2010-08-11 14:44 UTC (permalink / raw)


Inspired by <http://sourceforge.net/projects/gnat-math-extn/> and as 
suggested by a correspondent, I've updated my experimental 
implementations of these two generic procedures:

AI95-0346: Ada.Numerics.Generic_Real_Arrays.Generic_Roots
AI95-0346: Ada.Numerics.Generic_Complex_Arrays.Generic_Roots 

<http://home.roadrunner.com/~jbmatthews/misc/groots.html>

The implementation is unchanged, but I've fixed a few style warnings and 
obviated the need to update the run-time library. I've tested it with 
GNAT 4.3.4 (Mac OS X 10.5) and GNAT 4.4 (Ubuntu 10.04). I'd welcome any 
reports of anomalies or regressions.

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-11 14:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-01 17:47 Generic_Roots John B. Matthews
2008-11-07  1:20 ` Generic_Roots Randy Brukardt
2008-11-07 13:36   ` Generic_Roots John B. Matthews
  -- strict thread matches above, loose matches on Subject: below --
2010-08-11 14:44 Generic_Roots John B. Matthews

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