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

Class Binomial

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


    public class Binomialextends AbstractDiscreteDistribution
    Binomial distribution; See the math definition and animated definition.

    p(x) = k * p^k * (1-p)^(n-k) with k = n! / (k! * (n-k)!).

    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. Acceptance Rejection/Inversion method. This is a port of RandBinomial used in CLHEP 1.4.0 (C++). CLHEP's implementation is, in turn, based on

    V. Kachitvichyanukul, B.W. Schmeiser (1988): Binomial random variate generation, Communications of the ACM 31, 216-222.

    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.