Class TestPolynomialRoots2


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

      • TestPolynomialRoots2

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

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

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

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

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

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