restricted-tuple 0.1.0

Tuple generator that ensures generated tuple contains at least one element from each given set
Documentation

A restricted n-tuple from m sets here refers to a sequence of n elements from the given m sets, where, unlike a normal tuple, there is required to be at least one element from each set.

A restricted n-tuple counting function is a function which takes n and returns the number of possible restricted n-tuples for the given m sets.