Package edu.jas.commons.math
Class Roots<C extends edu.jas.structure.RingElem<C> & edu.jas.arith.Rational>
- java.lang.Object
-
- edu.jas.commons.math.Roots<C>
-
- Type Parameters:
C
- ring element type
public class Roots<C extends edu.jas.structure.RingElem<C> & edu.jas.arith.Rational> extends java.lang.Object
Algorithms related to polynomial roots. Conversion to commons-math classes and delegation to commons-math algorithms.- Author:
- Heinz Kredel
-
-
Constructor Summary
Constructors Constructor Description Roots()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<edu.jas.poly.Complex<edu.jas.arith.BigDecimal>>
complexRoots(edu.jas.poly.GenPolynomial<C> a)
Complex root approximation using companion matrix.
-
-
-
Constructor Detail
-
Roots
public Roots()
-
-
Method Detail
-
complexRoots
public java.util.List<edu.jas.poly.Complex<edu.jas.arith.BigDecimal>> complexRoots(edu.jas.poly.GenPolynomial<C> a)
Complex root approximation using companion matrix.- Parameters:
a
- squarefree univariate polynomial- Returns:
- list of approximations of complex roots of the polynomial
-
-