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

Marker interface for normalized Gaussian sampler

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • None
    • 1.1
    • sampling

    Description

      Given that

      1. an N(0,1) sampler is a building block for several other samplers
      2. there are multiple implementations for sampling from an N(0,1)

      it is proposed to create a NormalizedGaussianSampler interface (that extends ContinuousSampler).

      Then, a new GaussianSampler class can be defined, that will sample from an N(mu,sigma), whose constructor's argument will be

      • NormalizedGaussianSampler
      • mu
      • sigma

      An implementation of NormalizedGaussianSampler will be BoxMullerNormalizedGaussianSampler (and consequently the current BoxMullerGaussianSampler will be deprecated).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: