RNG Methods OpenCvSharp Class Library

The RNG type exposes the following members.

Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Public methodFill
Protected methodFinalize (Inherited from Object.)
Public methodGaussian
returns Gaussian random variate with mean zero.
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 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