Base class for random number generators that produce
random data in chunks of 32-bit words.
Namespace: Extreme.Statistics.Random
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public MustInherit Class RandomWordGenerator _ Inherits ExtendedRandom |
| C# |
|---|
public abstract class RandomWordGenerator : ExtendedRandom |
| C++ |
|---|
public ref class RandomWordGenerator abstract : public ExtendedRandom |
Methods
| Icon | Type | Description |
|---|---|---|
| Equals(Object) | ||
| Fill(Double[]()) |
Fills a Double array with random numbers.
| |
| Fill(Vector) |
Fills a Vector with random numbers.
| |
| Fill(Double[](), Int32, Int32) |
Fills a Double array with random numbers.
| |
| Fill(Double[](), ContinuousDistribution) |
Fills a Double array with random samples from the specified distribution.
| |
| Fill(Vector, ContinuousDistribution) |
Fills a Vector with random samples from the specified distribution.
| |
| Fill(Double[](), Int32, Int32, ContinuousDistribution) |
Fills a Double array with random samples from the specified distribution.
| |
| Fill(Int32[]()) |
Fills an Int32 array with random numbers.
| |
| Fill(Int32[](), Int32, Int32) |
Fills an Int32 array with random numbers.
| |
| Fill(Int32[](), DiscreteDistribution) |
Fills an Int32 array with random samples from the specified distribution.
| |
| Fill(Vector, DiscreteDistribution) |
Fills a Vector with random samples from the specified distribution.
| |
| Fill(Int32[](), Int32, Int32, DiscreteDistribution) |
Fills an Int32 array with random samples from the specified distribution.
| |
| Finalize() | ||
| GenerateNextWord() |
Advances the sequence of random numbers by one and
updates the CurrentValue of the
random number generator.
| |
| GetHashCode() | Serves as a hash function for a particular type. | |
| GetType() | Gets the Type of the current instance. | |
| MemberwiseClone() | Creates a shallow copy of the current Object. | |
| Next() |
Returns a nonnegative random number.
| |
| Next(DiscreteDistribution) |
Returns a sample from the specified distribution.
| |
| Next(Int32, Int32) | Returns a random number within a specified range. | |
| Next(Int32) | Returns a nonnegative random number less than the specified maximum. | |
| NextBytes(Byte[]()) |
Fills the elements of a specified array of bytes with random numbers.
| |
| NextDouble() |
Returns a random number between 0 and 1.
| |
| NextDouble(ContinuousDistribution) |
Returns a sample from the specified distribution.
| |
| Sample() |
Returns a random number between 0 and 1.
| |
| ToString() |
Constructors
| Icon | Type | Description |
|---|---|---|
| RandomWordGeneratorNew() |
Properties
| Icon | Type | Description |
|---|---|---|
| CurrentValue |
Gets or sets the current random 32-bit word.
|
Remarks
Use RandomWordGenerator as the base class for pseudo-random number generator classes that produce _random data in chunks of 32-bit words. RandomWordGenerator overrides most of Random's members to use the values produced by the derived class.
RandomWordGenerator is an abstract base class that cannot be instantiated.
Notes to inheritors If you inherit from this class, you must override the following member: GenerateNextWord().
Inheritance Hierarchy
System.Object
System.Random
Extreme.Statistics.Random.ExtendedRandom
Extreme.Statistics.Random.RandomWordGenerator
System.Random
Extreme.Statistics.Random.ExtendedRandom
Extreme.Statistics.Random.RandomWordGenerator