Class Lambda

  • All Implemented Interfaces:
    cern.colt.function.DoubleFunction, cern.colt.function.IntFunction, Serializable, Cloneable

    public class Lambda
    extends DistributionsAdapter
    A simple wrapper around Distributions.nextLambda(double, double, RandomEngine).
    Jerry Vos
    See Also:
    Serialized Form
    • Field Detail

      • l3

        protected double l3
      • l4

        protected double l4
    • Constructor Detail

      • Lambda

        public Lambda​(double l3,
                      double l4,
                      cern.jet.random.engine.RandomEngine engine)
        Constructs this distribution with the specified parameters to pass to the Distributions.nextLambda(double, double, RandomEngine) method.
        l3 - the lambda'a l3 parameter
        l4 - the lambda'a l4 parameter
        engine - the lambda's random engine
    • Method Detail

      • nextDouble

        public double nextDouble()
        Returns the result of Distributions.nextLamdba(l3, l4, engine) where these parameters represent those passed in this distribution's construction.
        nextDouble in class DistributionsAdapter