Click or drag to resize

RNG_MT19937 Class

Mersenne Twister random number generator
Inheritance Hierarchy
SystemObject
  OpenCvSharpRNG_MT19937

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public class RNG_MT19937

The RNG_MT19937 type exposes the following members.

Constructors
  NameDescription
Public methodRNG_MT19937
Initializes a new instance of the RNG_MT19937 class
Public methodRNG_MT19937(UInt32)
Initializes a new instance of the RNG_MT19937 class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(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
updates the state and returns the next 32-bit unsigned integer random number
Public methodRun
Public methodRun(UInt32)
returns a random integer sampled uniformly from [0, N).
Public methodSeed
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUniform(Double, Double)
returns uniformly distributed double-precision floating-point random 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 floating-point random number from [a,b) range
Top
Operators
Remarks
operations.hpp
See Also