Refine by Content Type

Refine by Product

Refine by Time Frame

image thumbnail

updated 3 months ago

Combinatorial numbering rank and unrank by Brian Butler

Translate between standard numbering and combinatorial numbering of n choose k. (combinatorics, nchoosek, combinations)

kSubsetLexRank( set, k , n )

kSubsetLexSuccessor( curset, k , n )

kSubsetLexUnrank( r, k , n )

image thumbnail

updated 9 months ago

permn(V, N, K) by Jos (10584)

Jos (10584) (view profile)

Permutations with repetition, all or a subset (matrices, combination, permutation)

permn(V, N, K)

image thumbnail

updated 1 year ago

Choosenk.m by Faryad

Faryad (view profile)

number of ways of choosing k objects from n objects (nchoosek)

Choosenk(n,k)

image thumbnail

updated 2 years ago

A fast NCHOOSEK alternative for engineers who like fast NCHOOSEK alternatives by Jose

Jose (view profile)

This code recursively generates K-subsets of an N-set. (nchoosek)

GetNextCombination(N, K, A, m, h, iteration)

image thumbnail

updated almost 3 years ago

NCHOOSECRIT (V1.0 feb 2013) by Jos (10584)

Jos (10584) (view profile)

returns those subsets (= combinations of elements of a set) that fulfill a specific criterion (combinations, sets, subsets)

nchoosecrit(S, FUN)

image thumbnail

updated 3 years ago

N_PERMUTE_K by Matt Fig

Matt Fig (view profile)

All possible permutations of the elements of set N, taken K at a time, with repetition. (permutations, combinations, multisets)

npermutek(N,K)

image thumbnail

updated 5 years ago

ChooseK by Bruno Luong

Bruno Luong (view profile)

All pairs intersecting on k-1 tuples from all possible k-tuples of n objects (combination, nchoosek, tuples)

choosek(n, k)

image thumbnail

updated 5 years ago

COMBINATOR -combinations AND permutations by Matt Fig

Matt Fig (view profile)

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

nsumk by Peter Cotton

Returns the number and listing of n-tuples of non-negative integers adding up to k. (nchoosek, polynomial, moments)

nsumk(n,k)

image thumbnail

updated almost 6 years ago

NCHOOSE (v2.1 mar 2010) by Jos (10584)

Jos (10584) (view profile)

return all combinations of the elements of a set (matrices, matrix, nchoosek)

nchoose(S)

image thumbnail

updated 6 years ago

VChooseKO by Jan Simon

Jan Simon (view profile)

Choose K elements from a vector without repetitions and with order [MEX] (choose, combinations, nchoosek)

TestVChooseKO(doSpeed)

VChooseKO.m

image thumbnail

updated 6 years ago

VChooseKR by Jan Simon

Jan Simon (view profile)

Choose K elements from a vector with repetitions and without order [MEX] (choose, combinations, nchoosek)

TestVChooseKR(doSpeed)

VChooseKR.m

image thumbnail

updated 6 years ago

VChooseKRO by Jan Simon

Jan Simon (view profile)

Choose K elements from a vector with repetitions and order [MEX] (choose, combinations, nchoosek)

TestVChooseKRO(doSpeed)

VChooseKRO.m

image thumbnail

updated 6 years ago

VChooseK by Jan Simon

Jan Simon (view profile)

Choose K elements from a vector - MEX: 100 times faster than NCHOOSEK (nchoosek, choose, pick)

TestVChooseK(doSpeed)

VChooseK(X, K)

image thumbnail

updated 6 years ago

NextVector toolbox by Ben Petschel

Ben Petschel (view profile)

files for iterating over permutations, combinations, subsets and vectorized for/while loops (next, next vector, perms)

nextchoose(v,w)

nextfor(v,lo,hi,dx)

nextperm(v)

image thumbnail

updated 6 years ago

Next Combination/Permutation by Matt Fig

Matt Fig (view profile)

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 6 years ago

choose.m by Phillip M. Feldman

compute number of ways of choosing m objects from n distinct objects (choose, combinatorics, nchoosek)

choose(n, m)

image thumbnail

updated 7 years ago

NCHOOSE2 (v2.1 - jun 2008) by Jos (10584)

Jos (10584) (view profile)

all combinations of two elements (matrices, nchoosek, combinations)

nchoose2(X)

image thumbnail

updated 7 years ago

nCtwo by Simone Scaringi

All combinations of N elements taken two at the time. (matrices, nchoosek, nchoose2)

nCtwo(dat)

image thumbnail

updated 10 years ago

NMULTICHOOSEK by Peter (PB) Bodin

Fast unordered samples with or without repetition. (binomial, combinations, nchoosek)

nmultichoosek(n,k,type)

Contact us