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

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

commit 72bf01f5fe930717884914220fc57cecb05fb435

> Marker interface for normalized Gaussian sampler
> ------------------------------------------------
>
>                 Key: RNG-35
>                 URL: https://issues.apache.org/jira/browse/RNG-35
>             Project: Commons RNG
>          Issue Type: Wish
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Minor
>              Labels: API, deprecation
>             Fix For: 1.1
>
>
> Given that
> # an N(0,1) sampler is a building block for several other samplers
> # 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).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to