Handbook
Glossary
>suffix-array ( seq -- suffix-array )
Suffix arrays
Next:
SA{
Vocabulary
suffix-arrays
Inputs
seq
a
sequence
Outputs
suffix-array
an
array
Word description
Creates a suffix array from the input sequence. Suffix arrays are arrays of slices.
Definition
USING:
sequences
sets
sorting
suffix-arrays.private
;
IN:
suffix-arrays
:
>suffix-array
( seq -- suffix-array )
members
[
suffixes
]
map
concat
sort
;