RandomExtensions.<G>$5AB4ABAAFA3359CDE65D50F3C2439F05.FillWithoutReplacement Method

Populates the specified span with numbers chosen at random between 0 and the provided count without replacement.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
C#
public void FillWithoutReplacement(
	int count,
	Span<int> destination
)

Parameters

count  Int32
The number of items.
destination  Span<Int32>
The span to be filled with items.

Exceptions

ArgumentNullException

random is null.

See Also