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

Log-normal samplers

    XMLWordPrintableJSON

Details

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

    Description

      In relation to RNG-41, I propose to create a LogNormalSampler base class:

      class LogNormalSampler {
          protected LogNormalSampler(NormalizedGaussianSampler gaussian,
                                     double scale,
                                     double shape) {
              // ...
          }
      }
      

      Derived (public) classes will differ by the algorithm used to generate normalized Gaussian deviates.

      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: