UniversalSegmentFunctions2(R, S)ΒΆ

seg.spad line 421 [edit on github]

This package provides operations for mapping functions onto segments.

map: (R -> S, UniversalSegment R) -> Stream S if R has OrderedRing

map(f, s) expands the segment s, applying f to each value.

map: (R -> S, UniversalSegment R) -> UniversalSegment S

map(f, seg) returns the new segment obtained by applying f to the endpoints of seg.