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

Frequency: new method: merge(Frequency)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: