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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Labels:

      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

              People

              • Assignee:
                erans Gilles
                Reporter:
                erans Gilles
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: