Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to differentiate in the Laurent polynomial ring?

R.<x> = LaurentPolynomialRing(ZZ,1); R
f = x^2 - 2*x^-2
diff(f,x)

Expected: 2*x+4/x^3

TypeError: no canonical coercion from Univariate Laurent Polynomial Ring in x over Integer Ring to Symbolic Ring.