Table of Contents

Method Uniform

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Uniform(int, int)

returns uniformly distributed integer random number from [a,b) range

public int Uniform(int a, int b)

Parameters

a int
b int

Returns

int

Uniform(float, float)

returns uniformly distributed floating-point random number from [a,b) range

public float Uniform(float a, float b)

Parameters

a float
b float

Returns

float

Uniform(double, double)

returns uniformly distributed double-precision floating-point random number from [a,b) range

public double Uniform(double a, double b)

Parameters

a double
b double

Returns

double