Click or drag to resize

IntRandomUniformDistribution Class

Class IntRandomUniformDistribution generates random numbers uniformly distributed over an interval.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreIntRandomUniformDistribution

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

The IntRandomUniformDistribution type exposes the following members.

Constructors
 NameDescription
Public methodIntRandomUniformDistribution Constructs a random number generator with bounds 0 and 100.
Public methodIntRandomUniformDistribution(Int32, Int32) Constructs a random number generator with the specified lower and upper bounds.
Public methodIntRandomUniformDistribution(Int32, Int32, IntRandomUniformDistributionGenerationMethod) Constructs a random number generator with the specified lower and upper bounds.
Top
Properties
 NameDescription
Public propertyLower Gets the lower bound.
Public propertyMethod Gets the generation method.
Public propertyUpper Gets the upper bound.
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.
Public methodSetRange Sets the bound for this distribuion. Uniform deviates will be in the interval [lower, upper].
Top
See Also