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

Fix and then deprecate isSupportXxxInclusive in RealDistribution interface

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 4.0
    • Labels:
      None

      Description

      The conclusion from [1] was never implemented. We should deprecate these
      properties from the RealDistribution interface, but since removal
      will have to wait until 4.0, we should agree on a precise
      definition and fix the code to match it in the mean time.

      The definition that I propose is that isSupportXxxInclusive means
      that when the density function is applied to the upper or lower
      bound of support returned by getSupportXxxBound, a finite (i.e. not
      infinite), not NaN value is returned.

      [1] http://markmail.org/message/dxuxh7eybl7xejde

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              psteitz Phil Steitz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: