RandomExtensions.<G>$5AB4ABAAFA3359CDE65D50F3C2439F05.FillNormal Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0

Overload List

FillNormal(IList<Double>) Fills a list with normal random numbers with zero mean and unit standard deviation.
FillNormal(IList<Double>, Int32, Int32) Fills a list with normal random numbers with zero mean and unit standard deviation.

FillNormal(IList<Double>)

Fills a list with normal random numbers with zero mean and unit standard deviation.
C#
public void FillNormal(
	IList<double> samples
)

Parameters

samples  IList<Double>
A Double array.

Exceptions

ArgumentNullException

samples is null.

FillNormal(IList<Double>, Int32, Int32)

Fills a list with normal random numbers with zero mean and unit standard deviation.
C#
public void FillNormal(
	IList<double> samples,
	int startIndex,
	int length
)

Parameters

samples  IList<Double>
A Double array.
startIndex  Int32
The zero-based index at which to begin filling the samples array.
length  Int32
The number of samples to provide.

Exceptions

ArgumentNullException

samples is null.

ArgumentOutOfRangeException

startIndex is less than zero.

-or-

length is less than zero.

ArgumentException

length is greater than the number of elements from startIndex to the end of samples.

See Also