RNG_MT19937 Methods OpenCvSharp Class Library

The RNG_MT19937 type exposes the following members.

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
See Also

Reference