API documentation of the 'jhplot.math.Poisson' Java class
Poisson
jhplot.math

Class Poisson

Poisson
jhplot.math

Class Poisson



  • public class Poissonextends java.lang.Object
    Build a Poisson distribution
    • Constructor Summary

      Constructors 
      Constructor and Description
      Poisson(double lambda)
      Build a Poisson random numbers with a given lambda
      Poisson(long seed, double lambda)
      Build a Posson random numbers
      Poisson(java.util.Random rand, double lambda)
      Build a Posson generator
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static voidmain(java.lang.String[] args) 
      intnext()
      Get next Poisson random number with the lambda given in constructor
      intnext(double lambda)
      Get next Poisson random number with a new lambda (overwrides the default)
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Poisson

        public Poisson(java.util.Random rand,               double lambda)
        Build a Posson generator
        Parameters:
        rand - input Random generator
        lambda - lambda
      • Poisson

        public Poisson(double lambda)
        Build a Poisson random numbers with a given lambda
        Parameters:
        lambda - Lambda
      • Poisson

        public Poisson(long seed,               double lambda)
        Build a Posson random numbers
        Parameters:
        seed - seed to reseed the generator
        lambda - lambda
    • Method Detail

      • next

        public int next()
        Get next Poisson random number with the lambda given in constructor
        Returns:
      • next

        public int next(double lambda)
        Get next Poisson random number with a new lambda (overwrides the default)
        Parameters:
        lambda - new lambda
        Returns:
      • main

        public static final void main(java.lang.String[] args)

DMelt 2.1 © DataMelt by jWork.ORG