RNG Methods |
The RNG type exposes the following members.
Name | Description | |
---|---|---|
![]() | Dispose |
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.) |
![]() | DisposeObject |
Release the unmanaged resources
(Overrides DisposableObjectDisposeObject.) |
![]() | Equals | (Inherited from Object.) |
![]() | Fill(IInputOutputArray, RNGDistType, IInputArray, IInputArray, Boolean) |
Fills arrays with random numbers.
|
![]() | Fill(IInputOutputArray, RNGDistType, MCvScalar, MCvScalar, Boolean) |
Fills arrays with random numbers.
|
![]() | Finalize |
Destructor
(Inherited from DisposableObject.) |
![]() | Gaussian |
Returns the next random number sampled from the Gaussian distribution.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Next |
The method updates the state using the MWC algorithm and returns the next 32-bit random number.
|
![]() | ReleaseManagedResources |
Release the managed resources. This function will be called during the disposal of the current object.
override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Uniform(Double, Double) |
Returns uniformly distributed random double number from [a,b) range
|
![]() | Uniform(Int32, Int32) |
Returns uniformly distributed integer random number from [a,b) range
|
![]() | Uniform(Single, Single) |
Returns uniformly distributed random float number from [a,b) range
|