|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.math3.analysis.solvers.LaguerreSolver.ComplexSolver
private class LaguerreSolver.ComplexSolver
Class for searching all (complex) roots.
| Constructor Summary | |
|---|---|
private |
LaguerreSolver.ComplexSolver()
|
| Method Summary | |
|---|---|
boolean |
isRoot(double min,
double max,
Complex z)
Check whether the given complex root is actually a real zero in the given interval, within the solver tolerance level. |
Complex |
solve(Complex[] coefficients,
Complex initial)
Find a complex root for the polynomial with the given coefficients, starting from the given initial value. |
Complex[] |
solveAll(Complex[] coefficients,
Complex initial)
Find all complex roots for the polynomial with the given coefficients, starting from the given initial value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
private LaguerreSolver.ComplexSolver()
| Method Detail |
|---|
public boolean isRoot(double min,
double max,
Complex z)
min - Lower bound for the interval.max - Upper bound for the interval.z - Complex root.
true if z is a real zero.
public Complex[] solveAll(Complex[] coefficients,
Complex initial)
throws NullArgumentException,
NoDataException,
TooManyEvaluationsException
coefficients - Polynomial coefficients.initial - Start value.
TooManyEvaluationsException - if the maximum number of evaluations is exceeded.
NullArgumentException - if the coefficients is
null.
NoDataException - if the coefficients array is empty.
public Complex solve(Complex[] coefficients,
Complex initial)
throws NullArgumentException,
NoDataException,
TooManyEvaluationsException
coefficients - Polynomial coefficients.initial - Start value.
TooManyEvaluationsException - if the maximum number of evaluations is exceeded.
NullArgumentException - if the coefficients is
null.
NoDataException - if the coefficients array is empty.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||