Enumerate the Combinations of the Elements of a Vector
semdiag.combinations(n, r)
n
Size of the source vector
r
Size of the target vectors