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

Allow code to avoid OutOfRangeException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.3
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: