Constructs a grouping that represents a collection of
non-overlapping chunks of fixed length.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Grouping<int> Partition(
int length,
int size
)
Public Shared Function Partition (
length As Integer,
size As Integer
) As Grouping(Of Integer)
public:
static Grouping<int>^ Partition(
int length,
int size
)
static member Partition :
length : int *
size : int -> Grouping<int>
Parameters
- length
- Type: SystemInt32
The total length of all groups. - size
- Type: SystemInt32
The size of each group.
Return Value
Type:
GroupingInt32A grouping object that represents the chunking.
Reference