Math::Polynomial::SolveMath::Polynomial::Solve is a Perl module to find the roots of polynomial equations. | |
Download |
Math::Polynomial::Solve Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- John M. Gamble
- Publisher web site:
- http://search.cpan.org/~jgamble/Games-Maze-1.03/lib/Games/Maze.pm
Math::Polynomial::Solve Tags
Math::Polynomial::Solve Description
Math::Polynomial::Solve is a Perl module to find the roots of polynomial equations. Math::Polynomial::Solve is a Perl module to find the roots of polynomial equations.SYNOPSIS use Math::Complex; # The roots may be complex numbers. use Math::Polynomial::Solve qw(poly_roots); my @x = poly_roots(@coefficients);or use Math::Complex; # The roots may be complex numbers. use Math::Polynomial::Solve qw(poly_roots get_hessenberg set_hessenberg); # # Force the use of the matrix method. # set_hessenberg(1); my @x = poly_roots(@coefficients);or use Math::Complex; # The roots may be complex numbers. use Math::Polynomial::Solve qw(linear_roots quadratic_roots cubic_roots quartic_roots); # Find the roots of ax + b my @x1 = linear_roots($a, $b); # Find the roots of ax**2 + bx +c my @x2 = quadratic_roots($a, $b, $c); # Find the roots of ax**3 + bx**2 +cx + d my @x3 = cubic_roots($a, $b, $c, $d); # Find the roots of ax**4 + bx**3 +cx**2 + dx + e my @x4 = quartic_roots($a, $b, $c, $d, $e);Requirements:· Perl Requirements: · Perl
Math::Polynomial::Solve Related Software