Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-347

Brent solver shouldn't need strict ordering of min, max and initial

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      The "solve(final UnivariateRealFunction f, final double min, final double max, final double initial)" function calls verifySequence() which enforces a strict ordering of min, max and initial parameters. I can't see why that is necessary - the rest of solve() seems to be able to handle "initial == min" and "initial == min" cases just fine. In fact, the JavaDoc suggests setting initial to min when not known but that is not possible at the moment.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              aktasv Volkan Aktas
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: