Click or drag to resize

RandomGeneratorNextSeries Method (Int32, Int32)

Fills given array with nonnegative random numbers less than the specified maximum.

Namespace:  FinMath.Statistics
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public virtual void NextSeries(
	int[] array,
	int maxValue
)

Parameters

array
Type: SystemInt32
The destination array. It is filled with 32-bit signed integers greater than or equal to zero, and less than maxValue; that is, the range of values ordinarily includes zero but not maxValue. However, if maxValue equals zero, the array is filled with zeros.
maxValue
Type: SystemInt32
The exclusive upper bound of the random number to be generated. It must be greater than or equal to zero.
See Also