Click or drag to resize

MT19937GeneratorNextBytes Method

Fills the elements of a specified array of bytes with random numbers.

Namespace: Altaxo.Calc.Probability
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public override void NextBytes(
	byte[] buffer
)

Parameters

buffer  Byte
An array of bytes to contain random numbers.
Exceptions
ExceptionCondition
ArgumentNullExceptionbuffer is a null reference ( in Visual Basic).
Remarks
Each element of the array of bytes is set to a random number greater than or equal to 0, and less than or equal to MaxValue.
See Also