RNG_MT19937 Structure |
Namespace: OpenCvSharp
The RNG_MT19937 type exposes the following members.
| Name | Description | |
|---|---|---|
| RNG_MT19937 |
Constructor
|
| Name | Description | |
|---|---|---|
| Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
| GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Next |
updates the state and returns the next 32-bit unsigned integer random number
| |
| Run | ||
| Run(UInt32) |
returns a random integer sampled uniformly from [0, N).
| |
| Seed | ||
| ToDouble | ||
| ToInt32 | ||
| ToSingle | ||
| ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) | |
| ToUInt32 | ||
| Uniform(Double, Double) |
returns uniformly distributed double-precision floating-point random number from [a,b) range
| |
| Uniform(Int32, Int32) |
returns uniformly distributed integer random number from [a,b) range
| |
| Uniform(Single, Single) |
returns uniformly distributed floating-point random number from [a,b) range
|
| Name | Description | |
|---|---|---|
| (RNG_MT19937 to UInt32) | ||
| (RNG_MT19937 to Int32) | ||
| (RNG_MT19937 to Single) | ||
| (RNG_MT19937 to Double) |