Math::Polynomial::Solve, version 2.50, 7 Mar 2009.
----------------------------------------------------------------
Copyright (c) 2009 John M. Gamble. All rights reserved. This program is
free software; you can redistribute it and/or modify it under the same
terms as Perl itself.
This package provides a set of functions that find the roots of
polynomials up to degree 4 using the classical methods, and a function
for solving polynomials of any degree with an implementation by an
implementation of the QR Hessenberg algorithm.
The cubic is solved by the method described by R. W. D. Nickalls, "A New
Approach to solving the cubic: Cardan's solution revealed," The
Mathematical Gazette, 77, 354-359, 1993. Dr. Nickalls has made his paper
available at .
The solution for the quartic is based on Ferrari's method, as described
in the web page Karl's Calculus Tutor,
.
Version 1.01 of this package worked with perl version 5.004_04. The
current version may work with that version of perl as well, but I had
no way to test this. Consequently, the requirement is set for version
5.6 of perl.
Installation:
----------------------------------------------------------------
The usual way. Unpack the archive:
gzip -d Math-Polynomial-Solve-2.50.tar.gz
tar xvf Math-Polynomial-Solve-2.50.tar
This package now makes use of Module::Build, and the Build.PL script,
but you can still use Makefile.PL, which is provided:
Go into the resulting directory, and type:
perl Makefile.PL
make
Run the tests:
make test
Install the module:
make install
Alternatively, you can use Build.PL:
perl Build.PL
Build
Run the tests:
Build test
Install the module:
Build install
See the documentation for Module::Build for more information.