seg.spad line 176 [edit on github]
This package provides operations for mapping functions onto segments.
map(f, s) expands the segment s, applying f to each value. For example, if s = l..h by k, then the list [f(l), f(l+k), ..., f(lN)] is computed, where lN <= h < lN+k.
map(f, l..h) returns a new segment f(l)..f(h).