Click or drag to resize

DoubleRandomUniformDistribution Class

Class DoubleRandomUniformDistribution generates random numbers uniformly distributed over an interval.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreDoubleRandomUniformDistribution

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

The DoubleRandomUniformDistribution type exposes the following members.

Constructors
  NameDescription
Public methodDoubleRandomUniformDistribution
Constructs a random number generator with bounds 0 and 1.
Public methodDoubleRandomUniformDistribution(Double, Double)
Constructs a random number generator with the specified lower and upper bounds.
Public methodDoubleRandomUniformDistribution(Double, Double, DoubleRandomUniformDistributionGenerationMethod)
Constructs a random number generator with the specified lower and upper bounds and generation method.
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(RandomNumberStream, DoubleVector, Int32, Int32)
Uses the given random number stream to fill the given vector of doubles with random values.
Public methodFill(RandomNumberStream, Double, Int32, Int32)
Uses the given random number stream to fill the given array of doubles with random values.
Public methodSetRange
Sets the bound for this distribuion. Uniform deviates will be in the interval [lower, upper].
Top
See Also