Package org.djutils.polynomialroots
Class TestPolynomialRoots2
- java.lang.Object
-
- org.djutils.polynomialroots.TestPolynomialRoots2
-
public class TestPolynomialRoots2 extends Object
TestPolynomialRoots2.java.Copyright (c) 2020-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUTILS License.- Author:
- Alexander Verbraeck, Peter Knoppers
-
-
Constructor Summary
Constructors Constructor Description TestPolynomialRoots2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cubicTestAberthEhrlich()
Test the cubic solver.void
cubicTestDurandKerner()
Test the cubic solver.void
cubicTestNewtonFactor()
Test the cubic solver.
XXX: Not active yet.void
quadraticTest()
Test the solver for quadratic (and simpler) cases and ensure that the cubic solver falls back to the quadratic solver when appropriate.void
quarticTestAberthEhrlich()
Test the quartic solver.void
quarticTestDurandKerner()
Test the quartic solver.
-
-
-
Method Detail
-
quadraticTest
public void quadraticTest()
Test the solver for quadratic (and simpler) cases and ensure that the cubic solver falls back to the quadratic solver when appropriate.
-
cubicTestDurandKerner
public void cubicTestDurandKerner()
Test the cubic solver.
-
quarticTestDurandKerner
public void quarticTestDurandKerner()
Test the quartic solver.
-
cubicTestAberthEhrlich
public void cubicTestAberthEhrlich()
Test the cubic solver.
-
quarticTestAberthEhrlich
public void quarticTestAberthEhrlich()
Test the quartic solver.
-
cubicTestNewtonFactor
public void cubicTestNewtonFactor()
Test the cubic solver.
XXX: Not active yet. Code is in development
-
-