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

Class Poisson



  • public class Poissonextends 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(Random rand, double lambda)
      Build a Posson generator
    • Constructor Detail

      • Poisson

        public Poisson(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(String[] args)

SCaVis 2.2 © jWork.ORG

Warning: You see this message because an access to the SCaVis documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To enable the description of all Java classes of SCaVis, please request the full SCaVis membership.

If you are already a full member, please login to the SCaVis member area before visiting this documentation.