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,
	int seed
)
Visual Basic (Declaration)
Public Function ArrayOfRandomNumbers ( _
	length As Integer, _
	min As Double, _
	max As Double, _
	seed As Integer _
) As Double()
Visual C++
public:
array<double>^ ArrayOfRandomNumbers(
	int length, 
	double min, 
	double max, 
	int seed
)

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.
seed
Type: System..::.Int32
Seed for the random number generator.

Return Value

Array of uniform random deviates.

See Also