Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.port80.graph.dot.impl
Class CubicSolver  view CubicSolver download CubicSolver.java

java.lang.Object
  extended bycom.port80.graph.dot.impl.CubicSolver

public class CubicSolver
extends java.lang.Object


Constructor Summary
CubicSolver()
           
 
Method Summary
private static boolean almost0(double x)
           
private static double cubicRoot(double x)
           
private static int solve1(double[] coeff, double[] roots)
           
private static int solve2(double[] coeff, double[] roots)
           
static int solve3(double[] coeff, double[] roots)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CubicSolver

public CubicSolver()
Method Detail

solve3

public static int solve3(double[] coeff,
                         double[] roots)

solve2

private static int solve2(double[] coeff,
                          double[] roots)

solve1

private static int solve1(double[] coeff,
                          double[] roots)

cubicRoot

private static double cubicRoot(double x)

almost0

private static boolean almost0(double x)