 | 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
Syntaxpublic double[] ArrayOfRandomNumbers(
int length,
double min,
double max,
int seed
)
Public Function ArrayOfRandomNumbers (
length As Integer,
min As Double,
max As Double,
seed As Integer
) As Double()
public:
array<double>^ ArrayOfRandomNumbers(
int length,
double min,
double max,
int seed
)
member ArrayOfRandomNumbers :
length : int *
min : float *
max : float *
seed : int -> float[]
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:
DoubleArray of uniform random deviates.
See Also