This returns the additive opposite of the formal series s.
i1 : R=ZZ[x,y] o1 = R o1 : PolynomialRing |
i2 : s = series(x^2+x+y,2)
2
o2 = FormalSeries{x + x + y, 2}
o2 : FormalSeries
|
i3 : -s
2
o3 = FormalSeries{- x - x - y, 2}
o3 : FormalSeries
|