Click or drag to resize

NMathFunctionsArrayOfRandomNumbers Method (Int32, Double, Double, Int32)

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: 7.4
Syntax
public double[] ArrayOfRandomNumbers(
	int length,
	double min,
	double max,
	int seed
)

Parameters

length
Type: SystemInt32
Length of the array of random deviants.
min
Type: SystemDouble
Minimum value for the generated random deviates.
max
Type: SystemDouble
Maximum value for the generated random deviates.
seed
Type: SystemInt32
Seed for the random number generator.

Return Value

Type: Double
Array of uniform random deviates.
See Also