Uploaded image for project: 'Commons RNG'
  1. Commons RNG
  2. RNG-151

Modified Ziggurat algorithm for normal and exponential sampling

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Implemented
    • 1.3
    • 1.4
    • sampling
    • None

    Description

      The following paper describes a modification of the ziggurat method for sampling normal and exponential deviates:

      McFarland, C.D. (2016)
      "A modified ziggurat algorithm for generating exponentially and normally distributed pseudorandom numbers".
      Journal of Statistical Computation and Simulation 86, 1281-1294.
      

      McFarland (2016) JSCS 86, 1281-294

      Note: This method is the one that has been chosen as the default implementation for the java.util.random.RandomGenerator nextGaussian and nextExponential methods to be added in JDK 17.

      The method should be investigated in comparison to the current ziggurat method of Marsaglia used in ZigguratNormalizedGaussianSampler and ZigguratExponentialSampler.

       

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            aherbert Alex Herbert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h

                Slack

                  Issue deployment