org.ddogleg.solver
Class TestPolynomialSolver
- java.lang.Object
-
- org.ddogleg.solver.TestPolynomialSolver
-
public class TestPolynomialSolver extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field and Description static java.util.Randomrand
-
Constructor Summary
Constructors Constructor and Description TestPolynomialSolver()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static doublecubic(double a, double b, double c, double d, double x)voidcubicRootReal_known()Computed a root using Sage.voidcubicRootReal_random()Create several random polynomials and see if it holds upvoidpolynomialRootsEVD()Provide a simple test case where one of the roots should be real
-
-
-
Method Detail
-
polynomialRootsEVD
public void polynomialRootsEVD()
Provide a simple test case where one of the roots should be real
-
cubicRootReal_known
public void cubicRootReal_known()
Computed a root using Sage. The two other roots are imaginary
-
cubicRootReal_random
public void cubicRootReal_random()
Create several random polynomials and see if it holds up
-
cubic
public static double cubic(double a, double b, double c, double d, double x)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG