SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.analysis.function.polynomial.root.jenkinstraub
Class JenkinsTraubReal

java.lang.Object
  extended by com.numericalmethod.suanshu.analysis.function.polynomial.root.jenkinstraub.JenkinsTraubReal
All Implemented Interfaces:
Solver

public class JenkinsTraubReal
extends java.lang.Object
implements Solver

An implementation of Jenkins-Traub algorithm for solving real polynomial equations of any degree.

See Also:

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.numericalmethod.suanshu.analysis.function.polynomial.root.Solver
Solver.RootFindingException, Solver.Type
 
Constructor Summary
JenkinsTraubReal()
          Create an instance of Jenkins-Traub algorithm for solving polynomial equations.
 
Method Summary
 NumberList solve(Polynomial polynomial)
          Compute the roots for a polynomial.
 Solver.Type type()
          Get the type of the solver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JenkinsTraubReal

public JenkinsTraubReal()
Create an instance of Jenkins-Traub algorithm for solving polynomial equations.

Method Detail

type

public Solver.Type type()
Description copied from interface: Solver
Get the type of the solver.

Specified by:
type in interface Solver
Returns:
the solver type

solve

public NumberList solve(Polynomial polynomial)
Compute the roots for a polynomial.

Specified by:
solve in interface Solver
Parameters:
polynomial - the polynomial to be solved
Returns:
a list of roots

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.