Click or drag to resize

SubsetSplit(Int32) Method

Splits this subset into the specified number of equally-sized subsets.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public Subset[] Split(
	int n
)

Parameters

n  Int32
The number of subsets into which to split this subset.

Return Value

Subset
An array of n subsets, each containing this.Length / n indices.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if n does not divide this.Length equally.
See Also