Objectmix
Tags Register Mark Forums Read

Generic_Roots : ADA

This is a discussion on Generic_Roots within the ADA forums in Programming Languages category; 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/...


Object Mix > Programming Languages > ADA > Generic_Roots

ADA ADA programming language

Reply

 

LinkBack Thread Tools
  #1  
Old 11-01-2008, 12:47 PM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default Generic_Roots

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/
  #2  
Old 11-06-2008, 08:20 PM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default Re: Generic_Roots

Umm, AI95-0356 is "Support for Preemption Level Locking Policy".

You mean AI95-0346 "Roots of polynomials".

You might want to pass this implementation past John Barnes, as he was the
original proposer of that AI.

Randy.

"John B. Matthews" <nospam@nospam.invalid> wrote in message
news:nospam-5E13A8.13471601112008@news.motzarella.org...
> 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/



  #3  
Old 11-07-2008, 08:36 AM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default Re: Generic_Roots

In article <gf0562$pr2$1@jacob-sparre.dk>,
"Randy Brukardt" <randy@rrsoftware.com> wrote:

> "John B. Matthews" <nospam@nospam.invalid> wrote

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

[...]

> Umm, AI95-0356 is "Support for Preemption Level Locking Policy".
>
> You mean AI95-0346 "Roots of polynomials".


Yes, thank you! I've corrected the reference and added links to the CVS.

> You might want to pass this implementation past John Barnes, as he was the
> original proposer of that AI.


Ah, I see now that he was the initial author. In the implementation
advice, he suggested "using established techniques such as Laguerre's
method." My implementation is definitely experimental, but it's a
convenient alternative. My test cases are limited, so I'd be interested
to hear of any anomalies. Of course, I expect most users are using BLAS.

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

Thread Tools



All times are GMT -5. The time now is 12:48 AM.

Managed by Infnx Pvt Ltd.