Liking cljdoc? Tell your friends :D

cljc-shuffle.util


->bigintclj/s

(->bigint obj)

Convert given item to a bigint

Convert given item to a bigint
sourceraw docstring

binarycljs

(binary byt)
source

bits-for-numberclj/s

source

default-randomclj

source

factclj/s

source

permuteclj/s

(permute factoradix-n items)

Consume the index of permutation in factoradic vector representation and a list of items. Returns vector of permuted items.

Consume the index of permutation in factoradic vector representation and a list of items.
Returns vector of permuted items.
sourceraw docstring

random-big-intcljs

(random-big-int bits)
source

random-shuffle-idxclj/s

(random-shuffle-idx items the-random)
source

to-factoradicclj/s

(to-factoradic n)

Convert a number to a vector that is the factoradic representation of that number, where each 'digit' is an int type.

Convert a number to a vector that is the factoradic representation of that number,
where each 'digit' is an int type.
sourceraw docstring

total-shufflesclj/s

(total-shuffles items)

Return the total count of different shuffles.

Parameter is either a number of items or a coll of items.

Return the total count of different shuffles.

Parameter is either a number of items or a coll of items.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close