RandomGenerator Class |
Namespace: FinMath.Statistics
[SerializableAttribute] public class RandomGenerator : ISerializable
The RandomGenerator type exposes the following members.
Name | Description | |
---|---|---|
RandomGenerator |
Initializes a new instance of the RandomGenerator, using
random seed value. By default the SIMD-oriented fast
Mersenne-Twister pseudorandom number generator will be used.
| |
RandomGenerator(Int32) |
Initializes a new instance of the RandomGenerator, using
the specified seed value.
| |
RandomGenerator(RandomGeneratorType) |
Initializes a new instance of the RandomGenerator, using
the specified generator type.
| |
RandomGenerator(Int32, RandomGeneratorType) |
Initializes a new instance of the RandomGenerator, using
the specified seed value and generator type.
| |
RandomGenerator(SerializationInfo, StreamingContext) |
The object deserialization constructor.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetObjectData |
The object optimized serialization method.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Next |
Returns a nonnegative random number.
| |
Next(Int32) |
Returns a nonnegative random number less than the specified maximum.
| |
Next(Int32, Int32) |
Returns a random number within a specified range.
| |
NextDouble |
Returns a random number between 0.0 and 1.0.
| |
NextDouble(Double) |
Returns a nonnegative random number less than the specified maximum.
| |
NextDouble(Double, Double) |
Returns a random number within a specified range.
| |
NextSeries(Double) |
Fills given array with random number between 0.0 and 1.0.
| |
NextSeries(Int32) |
Returns the vector with random number between 0.0 and 1.0.
| |
NextSeries(Int32) |
Fills given array with nonnegative random numbers.
| |
NextSeries(Matrix) |
Fills given matrix with random number between 0.0 and 1.0.
| |
NextSeries(Vector) |
Fills given vector with random number between 0.0 and 1.0.
| |
NextSeries(Double, Double) |
Fills given array with nonnegative random numbers less than the
specified maximum.
| |
NextSeries(Int32, Double) |
Fills given vector with nonnegative random numbers less than the
specified maximum.
| |
NextSeries(Int32, Int32) |
Fills given array with nonnegative random numbers less than the
specified maximum.
| |
NextSeries(Matrix, Double) |
Fills given matrix with nonnegative random numbers less than the
specified maximum.
| |
NextSeries(Vector, Double) |
Fills given vector with nonnegative random numbers less than the
specified maximum.
| |
NextSeries(Double, Double, Double) |
Fills given array with random numbers within a specified range.
| |
NextSeries(Int32, Double, Double) |
Fills given vector with random numbers within a specified range.
| |
NextSeries(Int32, Int32, Int32) |
Fills given array with random numbers within a specified range.
| |
NextSeries(Matrix, Double, Double) |
Fills given matrix with random numbers within a specified range.
| |
NextSeries(Vector, Double, Double) |
Fills given vector with random numbers within a specified range.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |