Documentation ¶
Overview ¶
Package c11shelper contains combinatorics-related functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LenCombinations ¶
LenCombinations returns all combinations with length 'combLen' of the array indexes [0..arrLen-1]. (E.g. for the array with length 4 the following combinations of length 2 are returned: 01 02 03 12 13 23.)
func Permutations ¶
Permutations returns all permutations (http://en.wikipedia.org/wiki/Permutations) of the slice's elements.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.