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

Alex Herbert resolved RNG-203.
------------------------------
    Fix Version/s: 1.8
       Resolution: Implemented

Note that the rejection algorithm only supports sampling the zeta distribution 
when the exponent s <= 54. Above this exponent the CDF of the distribution is 
effectively 1 in double precision at x=1.

The implementation notes this in the javadoc and the sampler always returns x=1 
when the exponent is above 54.

 

Added in commit:

05b4f3661349b0de1559a79d822cefef460d3252

 

> Add a zeta distribution sampler
> -------------------------------
>
>                 Key: RNG-203
>                 URL: https://issues.apache.org/jira/browse/RNG-203
>             Project: Commons RNG
>          Issue Type: New Feature
>          Components: sampling
>            Reporter: Alex Herbert
>            Priority: Minor
>             Fix For: 1.8
>
>
> Add a sampler for the zeta distribution.
> Move the sampler from Commons Statistics ZetaDistribution to Commons RNG.
> See STATISTICS-101.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to