Click or drag to resize

RNG Methods

http://www.emgu.com

The RNG type exposes the following members.

Methods
  NameDescription
Public methodDispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
Protected methodDisposeObject
Release the unmanaged resources
(Overrides DisposableObjectDisposeObject.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(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
Destructor
(Inherited from DisposableObject.)
Public methodGaussian
Returns the next random number sampled from the Gaussian distribution.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(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
Returns a string that represents the current object.
(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
Top
See Also