Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • None
    • 1.1
    • descriptive
    • Medium

    Description

      This implementation uses commons-numbers Sum as the underlying implementation.

      This may be further expanded to include various other Sum implementations like Kahan Sum, Neumaier Sum (Two sum method) etc. with the option for the users to choose an implementation. However, before beginning the implementation of various other algorithms it may be worthwhile to discuss and investigate the relative speed of the current Sum implementation compared to DoubleStream.sum through JMH benchmarks.
      When we know the different speeds, it would be more clear if the user should have a choice for this statistic, e.g.

      • When using DoubleStream.sum is too slow and it would be nice to have a simple sum variation.
      • When the sum has a lot of cancellation and DoubleStream.sum suffers from random walk around zero.

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            ani5rudh Anirudh Joshi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment