Click or drag to resize

RNG_MT19937 Structure

Mersenne Twister random number generator

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public struct RNG_MT19937

The RNG_MT19937 type exposes the following members.

Constructors
  NameDescription
Public methodRNG_MT19937
Constructor
Top
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(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 methodToDouble
Public methodToInt32
Public methodToSingle
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Public methodToUInt32
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