multpoly.spad line 38 [edit on github]
This package takes a mapping between coefficient rings, and lifts it to a mapping between polynomials over those rings.
map(f, p) produces a new polynomial as a result of applying the function f to every coefficient of the polynomial p.