For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > February 2005 > Numerical Computation in Perl









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Numerical Computation in Perl
Spencer Ogden

2005-02-12, 3:55 pm

Recently I needed an implementation of a root finding algorithm for
arbitrary functions, i.e. what is the root of f(x) = 2x + 1. There are
several algortihms for finding an approximation of this value. However
I was suprised not to find any implementations in CPAN. So my question
is twofold:

1) Have I missed something, are there really no libraries of num comp
functions out there? (Things like the Bisection method of root finding
etc.)

2) If they aren't out there, what are recomendations for releasing my
implementation. I am thinking either Algorithm::Roots or Math::Roots
(possibly RootFind would be better). Either would be a library of
functions that could be imported and used.

Any suggestions would be helpful. I have a good understanding of the
technicalities of publishing on CPAN, but this would be my first. Many
Perl modules revolve around OO, any specific suggestions when releasing
a function library?

Regards,

Spencer Ogden

Jim Keenan

2005-02-12, 3:55 pm

Spencer Ogden wrote:
>
> 2) If they aren't out there, what are recomendations for releasing my
> implementation. I am thinking either Algorithm::Roots or Math::Roots
> (possibly RootFind would be better). Either would be a library of
> functions that could be imported and used.
>

The perl.module-authors list (aka module-authors@perl.org) is the place
where most of these module-naming issues are hashed out these days.
Once you've gotten a Synopsis worked up, post it there and request comments.


> Any suggestions would be helpful. I have a good understanding of the
> technicalities of publishing on CPAN, but this would be my first. Many
> Perl modules revolve around OO, any specific suggestions when releasing
> a function library?
>

None right now except the obvious: @EXPORT_OK or %EXPORT_TAGS rather
than @EXPORT.

jimk
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com