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

Frequency: new method: merge(Frequency)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.1
    • None
    • None

    Description

      I'd like to propose an enhancement to org.apache.commons.math.stat.Frequency. I need to "merge" multiple Frequency objects, and it would be great if Frequency had inherent support for this, such as:

      public void merge(Frequency other);
      public void merge(Collection<Frequency> others);

      I'd be happy to submit a patch if that would help...

      Attachments

        1. MATH-474.patch
          4 kB
          Dan Checkoway

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dcheckoway Dan Checkoway
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: