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

Refactor the package "o.a.c.m.random"

Rank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.0
    • None

    Description

      It is proposed to refactor the whole package in order to fix the various problems mentioned in recent issues and discussions
      concerning the random number generators.

      For background, please refer to the separate reports on the issue tracking system, and on the "dev" ML.

      The main goals are:

      1. Make it clear that implementations do not generate an arbitrary number of bits (at the request of the user); but rather as fixed size chunks (i.e. 32 bits, a.k.a. Java "int" type).
      2. Allow implementations that generate 64 bits chunks (a.k.a. Java "long" type).
      3. Separate the generation of sequences (for all Java primitive types) that are uniformly distributed (in the range of the corresponding type) from all further processing (e.g. required to match other distributions).

      Attachments

        Issue Links

        Activity

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

          People

            erans Gilles Sadowski
            erans Gilles Sadowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment