Click or drag to resize

SubsetSample(Int32, Int32) Method

Returns a random shuffle of 0...n-1

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static Subset Sample(
	int n,
	int randomShuffleSeed
)

Parameters

n  Int32
The number of elements.
randomShuffleSeed  Int32
Seed to the random number generator used to implement the random shuffle.

Return Value

Subset
A subset containing a random shuffle of 0...n-1
See Also