Click or drag to resize

IntRandomBernoulliDistribution Class

Class IntRandomBernoulliDistribution generates random numbers from a discrete binomial distribution.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreIntRandomBernoulliDistribution

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

The IntRandomBernoulliDistribution type exposes the following members.

Constructors
  NameDescription
Public methodIntRandomBernoulliDistribution
Constructs a random number generator for a discrete binomial distribution using the default 0.50 probability of success on each trial.
Public methodIntRandomBernoulliDistribution(Double)
Constructs a random number generator for a discrete binomial distribution using the specified probability of success on each trial.
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
See Also