Fills the given array with normally distributed random numbers.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public static void FillArrayWithNormalRandomNumbers(
	int seed,
	double mean,
	double standardDeviation,
	double[] array
)
Visual Basic (Declaration)
Public Shared Sub FillArrayWithNormalRandomNumbers ( _
	seed As Integer, _
	mean As Double, _
	standardDeviation As Double, _
	array As Double() _
)
Visual C++
public:
static void FillArrayWithNormalRandomNumbers(
	int seed, 
	double mean, 
	double standardDeviation, 
	array<double>^ array
)

Parameters

seed
Type: System..::.Int32
Seed for the random number generator.
mean
Type: System..::.Double
>Desired mean of the deviates.
standardDeviation
Type: System..::.Double
Desired standard deviation of the deviates.
array
Type: array< System..::.Double >[]()[]
Random deviants will be placed in this array.

See Also