RNG_MT19937 Class OpenCvSharp Class Library
Mersenne Twister random number generator
Inheritance Hierarchy

SystemObject
  OpenCvSharp.CPlusPlusRNG_MT19937

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
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 (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (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 (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

  NameDescription
Public operatorStatic member(RNG_MT19937 to UInt32)
Public operatorStatic member(RNG_MT19937 to Int32)
Public operatorStatic member(RNG_MT19937 to Single)
Public operatorStatic member(RNG_MT19937 to Double)
Top
Remarks

operations.hpp
See Also

Reference