![]() | 1 | initial version |
The method univariate_polynomial
returns a multivariate polynomial depending on a single variable in the appropriate univariate polynomial ring:
sage: Phi(X=33).univariate_polynomial().parent()
Univariate Polynomial Ring in Y over Finite Field of size 8009
Then:
sage: Phi(X=33).univariate_polynomial().roots()
[(898, 1)]
sage: Phi(X=33).univariate_polynomial().roots(multiplicities=False)
[898]
![]() | 2 | No.2 Revision |
The method univariate_polynomial
returns of a multivariate polynomial object depending on a single variable returns a polynomial in the appropriate univariate polynomial ring:
sage: Phi(X=33).univariate_polynomial().parent()
Univariate Polynomial Ring in Y over Finite Field of size 8009
Then:
sage: Phi(X=33).univariate_polynomial().roots()
[(898, 1)]
sage: Phi(X=33).univariate_polynomial().roots(multiplicities=False)
[898]