CvRNG Class OpenCvSharp Class Library
Random number generator
Inheritance Hierarchy

SystemObject
  OpenCvSharpCvRNG

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

[SerializableAttribute]
public class CvRNG

The CvRNG type exposes the following members.

Constructors

  NameDescription
Public methodCvRNG
Initializes with seed=-1
Public methodCvRNG(DateTime)
Initializes with specified time data
Public methodCvRNG(Int64)
Initializes with specified seed value
Public methodCvRNG(UInt64)
Initializes with specified seed value
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 methodRandArr
Fills array with random numbers and updates the RNG state
Public methodRandInt
Returns 32-bit unsigned integer and updates RNG
Public methodRandInt(UInt32)
Returns 32-bit unsigned integer and updates RNG
Public methodRandInt(UInt32, UInt32)
Returns 32-bit unsigned integer and updates RNG
Public methodRandReal
Returns floating-point random number and updates RNG
Public methodToString (Inherited from Object.)
Top
Operators

  NameDescription
Public operatorStatic member(UInt64 to CvRNG)
explicit cast to CvRNG
Public operatorStatic member(CvRNG to UInt64)
explicit cast to ulong
Top
Fields

  NameDescription
Public fieldSeed
64-bit seed value
Top
See Also

Reference