Click or drag to resize

PoissonDistribution Class

Generates Poisson distributed random numbers.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.Probability.OldProbabilityDistribution
    Altaxo.Calc.Probability.OldPoissonDistribution

Namespace: Altaxo.Calc.Probability.Old
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class PoissonDistribution : ProbabilityDistribution

The PoissonDistribution type exposes the following members.

Constructors
 NameDescription
Public methodPoissonDistribution(Double)Initializes a new instance of the PoissonDistribution class.
Public methodPoissonDistribution(Double, RandomGenerator)Initializes a new instance of the PoissonDistribution class.
Top
Properties
 NameDescription
Public propertyGeneratorReturns the random generator used by the distribution to generate the random values.
(Inherited from ProbabilityDistribution)
Top
Methods
 NameDescription
Public methodCDF(Double) Gives the cumulative probability at x.
(Overrides ProbabilityDistributionCDF(Double))
Public methodStatic memberCDF(Double, Double) Returns the cumulative distribution function for the specified value and mean.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodInitializeInitializes the parameters for the Poisson distribution.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodNextDouble Generates a random value distributed according to the distribution.
(Overrides ProbabilityDistributionNextDouble)
Public methodPDF(Double) Gives the probability density at x.
(Overrides ProbabilityDistributionPDF(Double))
Public methodStatic memberPDF(Double, Double) Returns the probability density function for the specified value and mean.
Public methodQuantile Gives the pth quantile of the distribution.
(Overrides ProbabilityDistributionQuantile(Double))
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected fieldalm Cached coefficients used by the Poisson distribution implementation.
Protected fieldg Cached coefficients used by the Poisson distribution implementation.
Protected fieldgeneratorPointer to generator.
(Inherited from ProbabilityDistribution)
Protected fieldm Cached coefficients used by the Poisson distribution implementation.
Protected fieldscale Cached coefficients used by the Poisson distribution implementation.
Protected fieldscalepi Cached coefficients used by the Poisson distribution implementation.
Protected fieldsq Cached coefficients used by the Poisson distribution implementation.
Top
Remarks
Returns a Poisson distributed deviate (integer returned in a double) from a distribution of mean m. The Poisson distribution gives the probability of a certain integer number m of unit rate Poisson random events occurring in a given interval of time x. j -x j+eps x e integral p (m) dm = ------- j-eps x j ! References: The method follows the outlines of: W. H. Press, B. P. Flannery, S. A. Teukolsky, W. T. Vetterling, Numerical Recipes in C, Cambridge Univ. Press, 1988.
See Also