Package org.djutils.polynomialroots
Class TestPolynomialRoots
- java.lang.Object
-
- org.djutils.polynomialroots.TestPolynomialRoots
-
public class TestPolynomialRoots extends Object
TestPolynomialRoots.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 TestPolynomialRoots()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cubicTest()
Test the cubic solver.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
quarticTest()
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.
-
cubicTest
public void cubicTest()
Test the cubic solver.
-
quarticTest
public void quarticTest()
Test the quartic solver.
-
-