public class CubicSolver
extends java.lang.Object
Constructor and Description |
---|
CubicSolver() |
Modifier and Type | Method and Description |
---|---|
static double |
cuberoot(double x) |
static int |
getRoots(double[] roots,
double a,
double b,
double c,
double d) |
static int |
getRoots(double[] roots,
double a,
double b,
double c,
double d,
double x0,
double x1) |
static int |
getRootsAlgebraic(double[] roots,
double a,
double b,
double c,
double d) |
static int |
getRootsAlgebraic(double[] roots,
double a,
double b,
double c,
double d,
double x0,
double x1) |
public static int getRoots(double[] roots, double a, double b, double c, double d)
public static int getRoots(double[] roots, double a, double b, double c, double d, double x0, double x1)
public static double cuberoot(double x)
public static int getRootsAlgebraic(double[] roots, double a, double b, double c, double d)
public static int getRootsAlgebraic(double[] roots, double a, double b, double c, double d, double x0, double x1)