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/11 11:44:00 UTC

[jira] [Resolved] (RNG-43) Log-normal samplers

     [ https://issues.apache.org/jira/browse/RNG-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilles resolved RNG-43.
-----------------------
    Resolution: Implemented

commit 4d83aacba2a5aa3fd09b9ed3037202a483a16146 (in "master" branch).

> 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)