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

Frequency: new method: merge(Frequency)

Rank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment