nxt.combinations

Members

Functions

pairwise
auto pairwise(R r)

All Unordered Element Pairs (2-Element Subsets) of a Range.

Structs

Combinations
struct Combinations(T, bool copy = true, bool useArray = true)

Given non-negative integers m and n, generate all size m combinations of the integers from 0 to n-1 in sorted order (each combination is sorted and the entire table is sorted).

Meta