SegmentFunctions2(R, S)ΒΆ
seg.spad line 176 [edit on github]
This package provides operations for mapping functions onto segments.
- map: (R -> S, Segment R) -> List S if R has OrderedRing
map(f, s)
expands the segments
, applyingf
to each value. For example, ifs = l..h by k
, then the list[f(l), f(l+k), ..., f(lN)]
is computed, wherelN <= h < lN+k
.