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

DescriptiveStatistics methods return NaN for operations on arrays with single items

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.4
    • 4.0, 3.6
    • None
    • None

    Description

      1. Create a DescriptiveStatistics object passing an array with only one value
      2. Call getMean() method
      3. Call getStandardDeviation() method
      4. Both return NaN

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mgaspar Marlon Gaspar Machado
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: