Random number generator
Inheritance Hierarchy
OpenCvSharpCvRNG
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The CvRNG type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CvRNG |
Initializes with seed=-1
| |
CvRNG(DateTime) |
Initializes with specified time data
| |
CvRNG(Int64) |
Initializes with specified seed value
| |
CvRNG(UInt64) |
Initializes with specified seed value
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
RandArr |
Fills array with random numbers and updates the RNG state
| |
RandInt |
Returns 32-bit unsigned integer and updates RNG
| |
RandInt(UInt32) |
Returns 32-bit unsigned integer and updates RNG
| |
RandInt(UInt32, UInt32) |
Returns 32-bit unsigned integer and updates RNG
| |
RandReal |
Returns floating-point random number and updates RNG
| |
ToString | (Inherited from Object.) |
Operators
Name | Description | |
---|---|---|
(UInt64 to CvRNG) |
explicit cast to CvRNG
| |
(CvRNG to UInt64) |
explicit cast to ulong
|
Fields
Name | Description | |
---|---|---|
Seed |
64-bit seed value
|
See Also