ntamas / plfit

Fitting power-law distributions to empirical data, according to the method of Clauset, Shalizi and Newman
GNU General Public License v2.0
47 stars 17 forks source link

implement the first (and second) derivative of the Hurwitz zeta function #16

Closed jgmbenoit closed 6 years ago

jgmbenoit commented 6 years ago

in view to fix the underflow issue #13 . The issue remains, unfortunately.

ntamas commented 6 years ago

As mentioned here, I think that having a more accurate form of hzeta_deriv() won't help with the numerical issues because we would need that for the derivative of log(hzeta(x, xmin)) w.r.t. x instead.

jgmbenoit commented 6 years ago

I am on my way to make a second pull request that implements the logarithm of the Hurwitz zeta and the logarithm derivative of the Hurwitxz function (wrt to x). So now I close this very pull.