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

Allow code to avoid OutOfRangeException

    Details

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

      Description

      Exceptions are generally costlier than a test. In the BicubicSplineInterpolatingFunction, there is no way to determine if a given x is in domain of the interpolator. So, I suggest a function to allow this check.

        Attachments

        1. patch
          1 kB
          Ajo Fod

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ajo.fod Ajo Fod
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: