Package org.djutils.polynomialroots
Class TestPolynomialRoots
java.lang.Object
org.djutils.polynomialroots.TestPolynomialRoots
TestPolynomialRoots.java.
Copyright (c) 2020-2024 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test the cubic solver.void
Test the solver for quadratic (and simpler) cases and ensure that the cubic solver falls back to the quadratic solver when appropriate.void
Test the quartic solver.
-
Constructor Details
-
TestPolynomialRoots
public TestPolynomialRoots()
-
-
Method Details
-
quadraticTest
@Test 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
@Test public void cubicTest()Test the cubic solver. -
quarticTest
@Test public void quarticTest()Test the quartic solver.
-