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/...
| ADA ADA programming language |
![]() |
| | LinkBack | Thread Tools |
|
#1
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| 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/ |


