Refine by Content Type

Refine by Product

Refine by Time Frame

image thumbnail

updated 5 months ago

Choosenk.m by Faryad

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

C=Choosenk(n,k)

image thumbnail

updated 10 months ago

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

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

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

image thumbnail

updated almost 2 years ago

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

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

nchoosecrit(S, FUN)

image thumbnail

updated 2 years ago

N_PERMUTE_K by Matt Fig

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

ICHOOSE by Jonas Lundgren

Choose K indices from the set 1:N. (choose, combinations, mathematics)

ichoose(n,k)

image thumbnail

updated almost 4 years ago

ChooseK by Bruno Luong

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

choosek(n, k)

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

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

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

nchoose(S)

image thumbnail

updated almost 5 years ago

VChooseKO by Jan Simon

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

TestVChooseKO(doSpeed)

VChooseKO.m

image thumbnail

updated almost 5 years ago

VChooseKR by Jan Simon

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

TestVChooseKR(doSpeed)

VChooseKR.m

image thumbnail

updated almost 5 years ago

VChooseKRO by Jan Simon

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

TestVChooseKRO(doSpeed)

VChooseKRO.m

image thumbnail

updated almost 5 years ago

VChooseK by Jan Simon

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

TestVChooseK(doSpeed)

VChooseK(X, K)

image thumbnail

updated 5 years ago

NextVector toolbox by Ben Petschel

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

vout=nextchoose(v,w)

vout=nextfor(v,lo,hi,dx)

vout=nextperm(v)

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

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

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

nchoose2(X)

image thumbnail

updated 6 years ago

nCtwo by Simone Scaringi

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

vec=nCtwo(dat)

image thumbnail

updated 9 years ago

NMULTICHOOSEK by Peter (PB) Bodin

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

N=nmultichoosek(n,k,type)

Contact us