Click or drag to resize

RNG Class

http://www.emgu.com
Random Number Generator.
Inheritance Hierarchy

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public class RNG : UnmanagedObject

The RNG type exposes the following members.

Constructors
  NameDescription
Public methodRNG
Create a Random Number Generator.
Public methodRNG(UInt64)
Create a Random Number Generator using a seed.
Top
Properties
  NameDescription
Public propertyPtr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Top
Methods
  NameDescription
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
Destructor
(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
Top
Fields
  NameDescription
Protected field_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Top
See Also