Function sequant::bits::subsets_descending

Function Documentation

constexpr auto sequant::bits::subsets_descending(std::unsigned_integral auto mask)

Generates all subsets of the mask in descending numerical order.

Parameters:

mask – The bitmask representing the set.

Returns:

A view of submasks sorted descending.