Dear SAGE community,

I would like to do some symbolic computation using SAGE, namely, to 
compute the extended GCD of two polynomials, one of them having symbolic 
coefficients.

Here is a short example:
  sage: R.<a,b>=PolynomialRing(RationalField(),2);
  sage: S.<x>=PolynomialRing(R);
  sage: xgcd(x^2,a+x*b)

As an answer, I would expect:
  (b^2/a^2, 1, -x/a+b/a^2)

However, this raises the error:
  <type 'exceptions.TypeError'>: cannot coerce nonconstant polynomial

Am I missing a way of actually doing the computation in SAGE or is this 
just not implemented yet?

Thanks for your help,
  --Gaetan Bisson

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to