Bouncy Castle Rendering Toolkit 1.0

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
           
 
Constructor Summary
SturmSolver()
           
 
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
 

Field Detail

repeated

protected boolean[] repeated
Constructor Detail

SturmSolver

public SturmSolver()
Method Detail

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)

Bouncy Castle Rendering Toolkit 1.0