image thumbnail

updated 4 years ago

COMBINATOR -combinations AND permutations by Matt Fig

Returns 1 of 4 different samplings on the set 1:N, taken K at a time. (combinatorics, permutations, combinations)

combinator(N,K,s1,s2)

cumsumall.m

image thumbnail

updated 5 years ago

Next Combination/Permutation by Matt Fig

Produces one comb/perm at a time. Both with/without repetition. (combinations, permutations, combinatorics)

nextchoose(N,K)

nextmultichoose(N,K)

nextperm(N,K)

image thumbnail

updated 8 years ago

Picking elements from a set by Stefan Stoll

Gives all possibilities of picking k elements from a set of N with/without order/repetition. (matrices, permutation, combination)

Contact us