[ 
https://issues.apache.org/jira/browse/MATH-1285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14999300#comment-14999300
 ] 

Otmar Ertl commented on MATH-1285:
----------------------------------

Added definition of distribution to javadoc.
3.6: 29dfd9bb660cbcfb76aabc80458f9452c991bd35
4.0: 396610625b41f07085c1f43cd6e5e97d69097ba1

> Description API ZipfDistribution
> --------------------------------
>
>                 Key: MATH-1285
>                 URL: https://issues.apache.org/jira/browse/MATH-1285
>             Project: Commons Math
>          Issue Type: Improvement
>         Environment: All
>            Reporter: Pim van der Hoorn
>            Priority: Minor
>              Labels: easyfix
>             Fix For: 4.0, 3.6
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The description of the constructors for the ZipfDistribution class specifies 
> an argument of type doule, called exponent. The documentation refers to a 
> MathWorld page where the distribution is defined. However, here the exponent 
> p, is the exponent of the cdf, not of the pdf (which is then p + 1). After 
> running some test I found that the exponent in the constructor is the one for 
> the pdf. This can create confusion among users. Therefore I recommend 
> specifying in the documentation which exponent is meant.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to