Emgu CV Library Documentation
cvRandArr Method (rng, arr, dist_type, param1, param2)
NamespacesEmgu.CVCvInvokecvRandArr(UInt64%, IntPtr, RAND_TYPE, MCvScalar, MCvScalar)

www.emgu.com/wiki
Fills the destination array with uniformly or normally distributed random numbers.
Declaration Syntax
C#Visual BasicVisual C++
public static void cvRandArr(
	ref ulong rng,
	IntPtr arr,
	RAND_TYPE dist_type,
	MCvScalar param1,
	MCvScalar param2
)
Public Shared Sub cvRandArr ( _
	ByRef rng As ULong, _
	arr As IntPtr, _
	dist_type As RAND_TYPE, _
	param1 As MCvScalar, _
	param2 As MCvScalar _
)
public:
static void cvRandArr(
	unsigned long long% rng, 
	IntPtr arr, 
	RAND_TYPE dist_type, 
	MCvScalar param1, 
	MCvScalar param2
)
Parameters
rng ( UInt64 %)
the seed for the random number generator
arr (IntPtr)
The destination array
dist_type (RAND_TYPE)
Distribution type
param1 (MCvScalar)
The first parameter of distribution. In case of uniform distribution it is the inclusive lower boundary of random numbers range. In case of normal distribution it is the mean value of random numbers
param2 (MCvScalar)
The second parameter of distribution. In case of uniform distribution it is the exclusive upper boundary of random numbers range. In case of normal distribution it is the standard deviation of random numbers

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.3.0.0 (1.3.0.0)