Class TestPolynomialRoots2

java.lang.Object
org.djutils.polynomialroots.TestPolynomialRoots2

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

    • TestPolynomialRoots2

      public TestPolynomialRoots2()
  • 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.
    • cubicTestDurandKerner

      @Test public void cubicTestDurandKerner()
      Test the cubic solver.
    • quarticTestDurandKerner

      @Test public void quarticTestDurandKerner()
      Test the quartic solver.
    • cubicTestAberthEhrlich

      @Test public void cubicTestAberthEhrlich()
      Test the cubic solver.
    • quarticTestAberthEhrlich

      @Test public void quarticTestAberthEhrlich()
      Test the quartic solver.
    • cubicTestNewtonFactor

      public void cubicTestNewtonFactor()
      Test the cubic solver.
      XXX: Not active yet. Code is in development