Fills the given array with uniform distributed random numbers whose
values lie between the given minimum and maximum values.
Namespace: CenterSpace.NMath.CoreAssembly: NMathPremium (in NMathPremium.dll) Version: 5.3.0.0
Syntax
| C# |
|---|
public static void FillArrayWithRandomNumbers( int seed, double min, double max, double[] array ) |
| Visual Basic |
|---|
Public Shared Sub FillArrayWithRandomNumbers ( _ seed As Integer, _ min As Double, _ max As Double, _ array As Double() _ ) |
| Visual C++ |
|---|
public: static void FillArrayWithRandomNumbers( int seed, double min, double max, array<double>^ array ) |
Parameters
- seed
- Type: System..::..Int32
Seed for the random number generator.
- min
- Type: System..::..Double
Minimum value for the generated random deviates.
- max
- Type: System..::..Double
Maximum value for the generated random deviates.
- array
- Type: array<System..::..Double>[]()[][]
Random deviants will be placed in this array.