CvRandState Class OpenCvSharp Class Library
CvRandState
Inheritance Hierarchy

SystemObject
  OpenCvSharpCvRandState

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

[SerializableAttribute]
public class CvRandState

The CvRandState type exposes the following members.

Constructors

  NameDescription
Public methodCvRandState
Initializes a new instance of the CvRandState class
Public methodCvRandState(IntPtr)
Initializes from pointer
Public methodCvRandState(Double, Double, Int32)
Initializes a new instance of the CvRandState class
Public methodCvRandState(Double, Double, Int32, DistributionType)
Initializes a new instance of the CvRandState class
Top
Properties

  NameDescription
Public propertyDistType
distribution type
Public propertyParam
parameters of RNG
Public propertyState
RNG _state (the current seed and carry)
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 methodRand
Fills array with random numbers
Public methodRandInit(Double, Double, Int32)
Initialize CvRandState structure
Public methodRandInit(Double, Double, Int32, DistributionType)
Initialize CvRandState structure
Public methodRandSetRange(Double, Double)
Changes RNG range while preserving RNG _state
Public methodRandSetRange(Double, Double, Int32)
Changes RNG range while preserving RNG _state
Public methodToString (Inherited from Object.)
Top
Remarks

typedef struct CvRandState { CvRNG _state; /* RNG state (the current seed and carry)*/ int _disttype; /* distribution type */ CvScalar _param[2]; /* parameters of RNG */ } CvRandState;
See Also

Reference