fixed bug #1318. extended RNG::fill with the optional saturateRange parameter
This commit is contained in:
@@ -1979,7 +1979,7 @@ public:
|
||||
float uniform(float a, float b);
|
||||
//! returns uniformly distributed double-precision floating-point random number from [a,b) range
|
||||
double uniform(double a, double b);
|
||||
void fill( InputOutputArray mat, int distType, InputArray a, InputArray b );
|
||||
void fill( InputOutputArray mat, int distType, InputArray a, InputArray b, bool saturateRange=false );
|
||||
//! returns Gaussian random variate with mean zero.
|
||||
double gaussian(double sigma);
|
||||
|
||||
|
Reference in New Issue
Block a user