cossio

Results 152 comments of cossio

Another possibility is complex step differentiation, https://blogs.mathworks.com/cleve/2013/10/14/complex-step-differentiation/

A generic routine doing numerical integration like that is likely to have a lot of issues, for instance if you truncate on the tail of the distribution where the pdf...

Please consider also #911, which I think could also lead to breaking changes.

Regarding 1.0. Is there a decision on what to do about issues like https://github.com/JuliaStats/Distributions.jl/issues/1071? In general, how to allow for different return types of random numbers generated from a distribution?

In general the parameter type doesn't have to match the type of samples. E.g. a Poisson, has a float parameter but the samples are integers. The decision that `eltype(dist)` should...

> I am very unsure if this is the right approach but it is definitely what is done currently (and also what you implement in this PR when you define...

I hope this gets merged soon. :)

> What to do with `LambertW.omega`? I think `SpecialFunctions.omega` is not a good choice. How about using `lambertw(1)` as the public API to access the value of the Omega constant?...