Class IntPoisson

    • Constructor Detail

      • IntPoisson

        public IntPoisson()
      • IntPoisson

        public IntPoisson​(double mean)
    • Method Detail

      • setDistribution

        protected void setDistribution​(org.apache.commons.math3.distribution.IntegerDistribution distribution)
        Description copied from class: IntDistribution
        Sets the discrete distribution to use.
        Overrides:
        setDistribution in class IntDistribution
      • getMean

        public double getMean()
      • setMean

        public void setMean​(double mean)
                     throws org.apache.commons.math3.exception.NotPositiveException
        The mean of the Poisson distribution.
        Parameters:
        mean - The value to use.
        Throws:
        org.apache.commons.math3.exception.NotPositiveException - If mean was <=0.