chickadee » sparse-vectors » vector->sparse-vector

vector->sparse-vector VECTOR #!optional START DEFAULT BITSprocedure

Returns a sparse-vector with consecutive elements, beginning with START, from those of the VECTOR.

START
integer ; starting spare-vector index, defaults to 0.
DEFAULT ; * ; value for indices whose elements have not been set, default #f.
BITS ; fixnum ; node length power of 2, default 8.