math.combinatorics.private vocabulary
Factor handbook > Vocabulary index


Summary
math.combinatorics.private vocabulary

Words

Generic words
WordStack effect
nths-unsafe( indices seq -- seq' )


Ordinary words
WordStack effect
(>permutation)( seq n index -- seq )
(next-permutation)( seq -- seq )
(nths-unsafe)( indices seq -- seq' )
(selections)( seq n -- selections )
>permutation( factoradic -- permutation )
bump-indices( seq n -- )
combination-indices( x! p n -- seq )
combinations-quot( seq k quot -- seq quot' )
cut-point( seq -- n )
factoradic( n -- factoradic )
find-max-index( seq n -- i )
greater-from-last( n seq -- i )
increment-last( seq -- )
increment-rest( i seq -- )
next-combination( seq n -- seq )
permutation-indices( n seq -- permutation )
permutation-iota( seq -- iota )
permutations-quot( seq quot -- seq quot' )
possible?( n m -- ? )
reverse-tail!( n seq -- seq )
twiddle( n k -- n k )