| NMathFunctionsArrayOfRandomNumbers(Int32, Double, Double, Int32) Method |
Constructs an array of uniformly distributed random numbers whose values
lie between the given minimum and maximum values.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public 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 Int32
- Length of the array of random deviants.
- min Double
- Minimum value for the generated random deviates.
- max Double
- Maximum value for the generated random deviates.
- seed Int32
- Seed for the random number generator.
Return Value
DoubleArray of uniform random deviates.
See Also