Constructs an array of uniformly distributed random numbers whose values lie between the given minimum and maximum values.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public double[] ArrayOfRandomNumbers(
	int length,
	double min,
	double max
)
Visual Basic (Declaration)
Public Function ArrayOfRandomNumbers ( _
	length As Integer, _
	min As Double, _
	max As Double _
) As Double()
Visual C++
public:
array<double>^ ArrayOfRandomNumbers(
	int length, 
	double min, 
	double max
)

Parameters

length
Type: System..::.Int32
Length of the array of random deviants.
min
Type: System..::.Double
Minimum value for the generated random deviates.
max
Type: System..::.Double
Maximum value for the generated random deviates.

Return Value

Array of uniform random deviates.

See Also