| NMathFunctionsFillArrayWithRandomNumbers(Int32, Double, Double, Double) Method |
Fills the given array with uniform 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 static void FillArrayWithRandomNumbers(
int seed,
double min,
double max,
double[] array
)
Public Shared Sub FillArrayWithRandomNumbers (
seed As Integer,
min As Double,
max As Double,
array As Double()
)
public:
static void FillArrayWithRandomNumbers(
int seed,
double min,
double max,
array<double>^ array
)
static member FillArrayWithRandomNumbers :
seed : int *
min : float *
max : float *
array : float[] -> unit
Parameters
- seed Int32
- Seed for the random number generator.
- min Double
- Minimum value for the generated random deviates.
- max Double
- Maximum value for the generated random deviates.
- array Double
- Random deviants will be placed in this array.
See Also