BSD Ports

math/p5-Math-Polynomial-Solve 2.86 DragonFly

Find the roots of polynomial equations

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
math, perl5
Package size
32.5 KiB, 100.9 KiB installed

Description

This package supplies a set of functions that find the roots of polynomials. Polynomials up to the quartic may be solved directly by numerical formulae. Polynomials of fifth and higher powers will be solved by an iterative method, as there are no general solutions for fifth and higher powers.

The linear, quadratic, cubic, and quartic *_roots() functions all expect to have a non-zero value for the $a term.

If the constant term is zero then the first value returned in the list of answers will always be zero, for all functions.

In the other systems

SystemPortVersion
DragonFlymath/p5-Math-Polynomial-Solve2.86
FreeBSDmath/p5-Math-Polynomial-Solve2.86

Install

Binary package:

pkg install p5-Math-Polynomial-Solve

From DPorts:

cd /usr/dports/math/p5-Math-Polynomial-Solve && make install clean

Dependencies

Run dependencies 2

No port depends on this one.