Class TestPolynomialRoots


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

      • TestPolynomialRoots

        public TestPolynomialRoots()
    • 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.
      • cubicTest

        public void cubicTest()
        Test the cubic solver.
      • quarticTest

        public void quarticTest()
        Test the quartic solver.