gov.nist.microanalysis.Utility
Class PoissonDeviate

java.lang.Object
  extended by gov.nist.microanalysis.Utility.PoissonDeviate

public class PoissonDeviate
extends java.lang.Object

Calculates a random deviate from the Poisson distribution with a specified mean.

Copyright: Pursuant to title 17 Section 105 of the United States Code this software is not subject to copyright protection and is in the public domain

Company: National Institute of Standards and Technology

Version:
1.0
Author:
Nicholas W. M. Ritchie

Constructor Summary
PoissonDeviate(long seed)
          PoissonDeviate - Create a new instance of the PoissonDeviate class.
 
Method Summary
 double randomDeviate(double mean)
          randomDeviate - Calculate a random deviate taken from the Poisson distribution with the specified mean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoissonDeviate

public PoissonDeviate(long seed)
PoissonDeviate - Create a new instance of the PoissonDeviate class. Each instance includes its own separate random number generator stream.

Method Detail

randomDeviate

public double randomDeviate(double mean)
randomDeviate - Calculate a random deviate taken from the Poisson distribution with the specified mean.

Parameters:
mean - double
Returns:
double