Package org.djutils.math.polynomialroots
Class TestPolynomialRoots2
java.lang.Object
org.djutils.math.polynomialroots.TestPolynomialRoots2
TestPolynomialRoots2.java.
Copyright (c) 2020-2025 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidTest the cubic solver.voidTest the cubic solver.voidTest the cubic solver.
XXX: Not active yet.voidTest the solver for quadratic (and simpler) cases and ensure that the cubic solver falls back to the quadratic solver when appropriate.voidTest the quartic solver.voidTest the quartic solver.
-
Constructor Details
-
TestPolynomialRoots2
public TestPolynomialRoots2()
-
-
Method Details
-
quadraticTest
Test the solver for quadratic (and simpler) cases and ensure that the cubic solver falls back to the quadratic solver when appropriate. -
cubicTestDurandKerner
Test the cubic solver. -
quarticTestDurandKerner
Test the quartic solver. -
cubicTestAberthEhrlich
Test the cubic solver. -
quarticTestAberthEhrlich
Test the quartic solver. -
cubicTestNewtonFactor
public void cubicTestNewtonFactor()Test the cubic solver.
XXX: Not active yet. Code is in development
-