Click or drag to resize

IntRandomGeometricDistribution Class

Class IntRandomGeometricDistribution generates random numbers from a discrete geometric distribution.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreIntRandomGeometricDistribution

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public class IntRandomGeometricDistribution : IRandomNumberDistribution<int>, 
	ICloneable

The IntRandomGeometricDistribution type exposes the following members.

Constructors
 NameDescription
Public methodIntRandomGeometricDistribution Constructs a random number generator for a discrete geometric distribution using the default 0.50 probability of success on each trial.
Public methodIntRandomGeometricDistribution(Double) Constructs a random number generator for a discrete geometric distribution using the specified distribution parameter.
Top
Properties
 NameDescription
Public propertyProbability Gets the probability of success on each trial.
Top
Methods
 NameDescription
Public methodClone Creates a deep copy of this random number generator.
Public methodFill Uses the given random number stream to fill the given array of integers with random values.
Top
Remarks
A geometrically distributed variate represents the number of independent Bernoulli trials preceding the first success.
See Also