Click or drag to resize

RNG Class

Random Number Generator. The class implements RNG using Multiply-with-Carry algorithm.
Inheritance Hierarchy
SystemObject
  OpenCvSharpRNG

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

The RNG type exposes the following members.

Constructors
  NameDescription
Public methodRNG
Initializes a new instance of the RNG class
Public methodRNG(UInt64)
Initializes a new instance of the RNG class
Top
Properties
  NameDescription
Public propertyState
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFill
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 methodGaussian
returns Gaussian random variate with mean zero.
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 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