Addons/stats/base/combinatorial

From J Wiki
Jump to navigation Jump to search
User Guide | Installation | Development | Categories | Git | Build Log

stats/base/combinatorial  - Sample design

comb v combinations of size x from i.y
combrep v combinations of size x from i.y with repetition
combrev v comb in revolving door order
perm v permutations of size y from i.y
permrep v permutations of size x from i.y with repetition
steps v steps from a to b in c steps

comb

comb (v) combinations of size x from i.y

combrep

combrep (v) combinations of size x from i.y with repetition

combrev

combrev (v) comb in revolving door order

combinations in what Knuth calls "revolving door order"
such that any two adjacent combinations differ by a
single element (Gray codes for combinations).

perm

perm (v) permutations of size x from i.y

monadic form gives all perms of size i.y (i@! A. i.)

permrep

permrep (v) permutations of size x from i.y with repetition

steps

steps (v) steps from a to b in c steps

form: steps a,b,c