Click or drag to resize
DigitalRuneInt32UniformDistribution Class
Represents a uniform distribution that returns random Int32 values for a given interval [MinValue, MaxValue].
Inheritance Hierarchy
SystemObject
  DigitalRune.Mathematics.StatisticsDistributionInt32
    DigitalRune.Mathematics.StatisticsInt32UniformDistribution

Namespace: DigitalRune.Mathematics.Statistics
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public class Int32UniformDistribution : Distribution<int>

The Int32UniformDistribution type exposes the following members.

Constructors
  NameDescription
Public methodInt32UniformDistribution
Initializes a new instance of the Int32UniformDistribution class.
Public methodInt32UniformDistribution(Int32, Int32)
Initializes a new instance of the Int32UniformDistribution class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNext
Gets a new random value for the underlying probability distribution.
(Overrides DistributionTNext(Random).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
Remarks
Every time Next(Random) is called, a new random value from the interval [MinValue, MaxValue] is returned. All values in this interval have the same chance to be chosen.
See Also