[
https://issues.apache.org/jira/browse/RNG-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17376091#comment-17376091
]
Alex Herbert commented on RNG-151:
----------------------------------
Using the name Modified does make it clear that it is using the modified
ziggurat method as opposed to the original ziggurat method. It makes a
distinction to the current ZigguratNomalizedGaussianSampler. I don't mind
either way. I already took the liberty to drop the Normalized name from the
Gaussian inner class.
> Modified Ziggurat algorithm for normal and exponential sampling
> ---------------------------------------------------------------
>
> Key: RNG-151
> URL: https://issues.apache.org/jira/browse/RNG-151
> Project: Commons RNG
> Issue Type: Improvement
> Components: sampling
> Affects Versions: 1.3
> Reporter: Alex Herbert
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The following paper describes a modification of the ziggurat method for
> sampling normal and exponential deviates:
> {noformat}
> 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.
> {noformat}
> [McFarland (2016) JSCS 86,
> 1281-294|https://www.tandfonline.com/doi/abs/10.1080/00949655.2015.1060234]
> 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.
> Â
--
This message was sent by Atlassian Jira
(v8.3.4#803005)