UnivariatePolynomialCategoryFunctions2(R, PR, S, PS)ΒΆ
polycat.spad line 1210 [edit on github]
R: Join(SemiRng, AbelianMonoid)
S: Join(SemiRng, AbelianMonoid)
Mapping from polynomials over R
to polynomials over S
given a map from R
to S
assumed to send zero to zero.
- map: (R -> S, PR) -> PS
map(f, p)
takes a functionf
fromR
toS
, and applies it to each (non-zero) coefficient of a polynomialp
overR
, getting a new polynomial overS
. Note: since the map is not applied to zero elements, it may map zero to zero.