Click or drag to resize

FloatRandomUniformDistribution Class

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

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

The FloatRandomUniformDistribution type exposes the following members.

Constructors
  NameDescription
Public methodFloatRandomUniformDistribution
Constructs a random number generator with bounds 0 and 1.
Public methodFloatRandomUniformDistribution(Single, Single)
Constructs a random number generator with the specified lower and upper bounds.
Public methodFloatRandomUniformDistribution(Single, Single, FloatRandomUniformDistributionGenerationMethod)
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, FloatVector, Int32, Int32)
Uses the given random number stream to fill the given vector of floats with random values.
Public methodFill(RandomNumberStream, Single, Int32, Int32)
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