commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] [Created] (RNG-43) Base class for Log-normal samplers
Date Wed, 10 Jan 2018 14:49:00 GMT
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)

Mime
View raw message