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

Update the UnitBallSampler method to use an exponential deviate

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Implemented
    • 1.4
    • 1.4
    • sampling
    • None

    Description

      Currently the UnitBallSampler uses n+2 normalised Gaussian deviates for sampling in n dimensions. An alternative algorithm is to use n normalised Gaussian deviates and one exponential deviate, see BallPointPicking (wolfram).

      The new ziggurat exponential sampler is as fast as the ziggurat Gaussian sampler. Changing the algorithm should result in faster sampling.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: