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

Class ChiSquare

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

    public class ChiSquareextends AbstractContinousDistribution
    ChiSquare distribution; See the math definition and animated definition.
    A special case of the Gamma distribution.

    p(x) = (1/g(f/2)) * (x/2)^(f/2-1) * exp(-x/2) with g(a) being the gamma function and f being the degrees of freedom.

    Valid parameter ranges: freedom > 0.

    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.


    Method: Ratio of Uniforms with shift.
    High performance implementation. This is a port of RandChiSquare used in CLHEP 1.4.0 (C++). CLHEP's implementation, in turn, is based on chru.c from the C-RAND / WIN-RAND library. C-RAND's implementation, in turn, is based upon

    J.F. Monahan (1987): An algorithm for generating chi random variables, ACM Trans. Math. Software 13, 168-172.

    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.