Constructs a grouping that represents a collection of
non-overlapping chunks of fixed length.
Namespace: Extreme.DataAnalysisAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17114.0)
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.
Numerical Libraries
Supported in: 6.0
Reference