L = lyndonWords(d, k)A word $l$ on the alphabet $\{1,\dots, d\}$ is a Lyndon word if it is strictly smaller, in lexicographic order, than all of its rotations.
This method generates a list containing all Lyndon words of length at most $k$ on $d$ letters. The Lyndon words are given as Array in the same convention of wordFormat.
|
|
|
The object lyndonWords is a method function.
The source of this document is in PathSignatures/documentation.m2:918:0.