org.bouncycastle.math
Class SturmSolver
java.lang.Object
|
+--org.bouncycastle.math.SturmSolver
- All Implemented Interfaces:
- Solver
- Direct Known Subclasses:
- QuarticSturmSolver
- public class SturmSolver
- extends java.lang.Object
- implements Solver
Field Summary |
protected boolean[] |
repeated
|
Method Summary |
int |
changesAtX(double x)
calculate the sign changes in the sturm sequence in at value
x |
boolean |
findRoot(double min,
double max,
double[] roots)
|
int |
findRoots(double min,
double max,
double[] roots)
|
void |
init(double[] coefs)
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
repeated
protected boolean[] repeated
SturmSolver
public SturmSolver()
changesAtX
public int changesAtX(double x)
- calculate the sign changes in the sturm sequence in at value
x
init
public void init(double[] coefs)
- Specified by:
init
in interface Solver
findRoot
public boolean findRoot(double min,
double max,
double[] roots)
- Specified by:
findRoot
in interface Solver
findRoots
public int findRoots(double min,
double max,
double[] roots)
main
public static void main(java.lang.String[] args)