Re: [sage-support] monomials of polynomial_zz_pex.Polynomial_ZZ_pEX
Dear Juan, Here is an example, {{{ sage: K = GF(2^128,'t') sage: PR. = PolynomialRing(K,"X") sage: P = PR.random_element() sage: P[0] # constant coeff (in X) ... sage: P[10] # coeff of degree 10 ... }}} But be careful, if the polynomial P has degree less than 10 then the code "P[10]" will raise an exception. 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 sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] monomials of polynomial_zz_pex.Polynomial_ZZ_pEX
Dears members, How I will be able to extract the monomials of univariate polynomial ring "P" of type polynomial_zz_pex.Polynomial_ZZ_pEX? K = GF(2^128,'t') PR. = PolynomialRing(K,"X") P = PR.random_element() -- - MSc. Juan del Carmen Grados Vásquez Laboratório Nacional de Computação Científica Tel: +55 21 97633 3228 (http://www.lncc.br/) http://juaninf.blogspot.com - -- 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 sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.