Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

# Math::Polynomial::Solve 2.11

Date Added: April 19, 2010  |  Visits: 800

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: No special requirements Platforms: Linux Keyword: Ax,  Libraries,  Mathpolynomialsolve,  Module,  Perl Module,  Poly,  Polynomial,  Programming,  Roots Users rating: 0/10