I've fixed the Geometric distribution in mainline master; the negative sign was indeed wrong, but Ceiling instead of Floor is correct. Note that there are two definitions of the Geometric distribution, one with mode 0 and one with mode 1. The one implemented in Math.NET Numerics has mode 1 (and thus will never generate a 0-sample).
The distribution of samples generated by all continuous and discrete distributions except NegativeBinomial, Poisson and ConwayMaxwellPoisson are now verified in the unit tests. Thanks again for reporting.
Thanks,
Christoph
The distribution of samples generated by all continuous and discrete distributions except NegativeBinomial, Poisson and ConwayMaxwellPoisson are now verified in the unit tests. Thanks again for reporting.
Thanks,
Christoph