Click or drag to resize

RNG Methods

The RNG type exposes the following members.

Public methodDispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
Protected methodDisposeObject
Release the unmanaged resources
(Overrides DisposableObjectDisposeObject.)
Public methodEquals (Inherited from Object.)
Public methodFill(IInputOutputArray, RNGDistType, IInputArray, IInputArray, Boolean)
Fills arrays with random numbers.
Public methodFill(IInputOutputArray, RNGDistType, MCvScalar, MCvScalar, Boolean)
Fills arrays with random numbers.
Protected methodFinalize
(Inherited from DisposableObject.)
Public methodGaussian
Returns the next random number sampled from the Gaussian distribution.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodNext
The method updates the state using the MWC algorithm and returns the next 32-bit random number.
Protected methodReleaseManagedResources
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.)
Public methodToString (Inherited from Object.)
Public methodUniform(Double, Double)
Returns uniformly distributed random double number from [a,b) range
Public methodUniform(Int32, Int32)
Returns uniformly distributed integer random number from [a,b) range
Public methodUniform(Single, Single)
Returns uniformly distributed random float number from [a,b) range
See Also