Did you know that Sage is shipped with documentation?

On 11/05/15 19:30, Phoenix wrote:
> 
> The polynomial is 1296*x^24 - 20736*x^22 + 129600*x^20 - 393984*x^18 + 
> 584496*x^16 - 362880*x^14 + 62208*x^12  
> 
> - Can SAGE find the gcd of a polynomial and its derivative? 

http://sagemath.org/doc/reference/polynomial_rings/sage/rings/polynomial/polynomial_element.html#sage.rings.polynomial.polynomial_element.Polynomial.gcd

http://sagemath.org/doc/reference/polynomial_rings/sage/rings/polynomial/polynomial_element.html#sage.rings.polynomial.polynomial_element.Polynomial.derivative

>  polygen(QQ)    #What doe this do? What is QQ# ? 
> p = 1296*x^24 - 20736*x^22 + 129600*x^20 - 393984*x^18 + 584496*x^16 - 
> 362880*x^14 + 62208*x 
> for (q,n) in p.squarefree_decomposition(): 
>      print q.degree(), n, gp.polsturm(q) 
> 
> 
> Can someone explain what are these q.degree, n

http://sagemath.org/doc/reference/polynomial_rings/sage/rings/polynomial/polynomial_element.html#sage.rings.polynomial.polynomial_element.Polynomial.squarefree_decomposition
Vincent

> gp.plotsum ?

gp.plotsum does not exists this is gp.polsturm. It is a command from
PARI/GP and its documentation is

http://pari.math.u-bordeaux.fr/dochtml/html.stable/

-> Polynomials and power series
-> polsturm

Vincent

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to