Documentation API of the 'cern.jet.random.Poisson' Java class
Poisson
cern.jet.random

Class Poisson

  • All Implemented Interfaces:
    DoubleFunction, IntFunction, Serializable, Cloneable


    public class Poissonextends AbstractDiscreteDistribution
    Poisson distribution (quick); See the math definition and animated definition.

    p(k) = (mean^k / k!) * exp(-mean) for k >= 0.

    Valid parameter ranges: mean > 0. Note: if mean <= 0.0 then always returns zero.

    Instance methods operate on a user supplied uniform random number generator; they are unsynchronized.

    Static methods operate on a default uniform random number generator; they are synchronized.

    Implementation: High performance implementation. Patchwork Rejection/Inversion method.

    This is a port of pprsc.c from the C-RAND / WIN-RAND library. C-RAND's implementation, in turn, is based upon

    H. Zechner (1994): Efficient sampling from continuous and discrete unimodal distributions, Doctoral Dissertation, 156 pp., Technical University Graz, Austria.

    Also see

    Stadlober E., H. Zechner (1999), The patchwork rejection method for sampling from unimodal distributions, to appear in ACM Transactions on Modelling and Simulation.

    See Also:
    Serialized Form

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.