1
$\begingroup$

For instance, $f=x^2y^2+1$ is an element of $\mathbb{C}[x,y]$, I want to extract the coefficient of $x^2$, which is $y^2$. However "f.coefficient(x,2)" only works for symbolic expressions, are there similar functions for ring elements?

  • 0
    I don't know anything about Sage, but perhaps you could tell it to find $\dfrac{1}{2}\dfrac{\partial^2 f}{\partial x^2}(0,y)$?2012-06-30
  • 0
    By the way, there http://ask.sagemath.org/ for sage. In case you have more specific questions in the future.2012-06-30

1 Answers 1