Class TestPolynomialRoots

java.lang.Object
org.djutils.polynomialroots.TestPolynomialRoots

public class TestPolynomialRoots extends Object
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 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.