You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles (JIRA)" <ji...@apache.org> on 2018/01/10 14:49:00 UTC

[jira] [Created] (RNG-43) Base class for Log-normal samplers

Gilles created RNG-43:
-------------------------

             Summary: Base class for Log-normal samplers
                 Key: RNG-43
                 URL: https://issues.apache.org/jira/browse/RNG-43
             Project: Commons RNG
          Issue Type: Improvement
            Reporter: Gilles
            Assignee: Gilles
            Priority: Trivial
             Fix For: 1.1


In relation to RNG-41, I propose to create a {{LogNormalSampler}} base class:
{noformat}
class LogNormalSampler {
    protected LogNormalSampler(NormalizedGaussianSampler gaussian,
                               double scale,
                               double shape) {
        // ...
    }
}
{noformat}
Derived (public) classes will differ by the algorithm used to generate normalized Gaussian deviates.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)