Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yes - it's returned by .ord() method:

R.<x> = QQ[]
f = 7*x+x^2+7*x^4+x^5
print( f.ord() )

Yes - it's returned by .ord() method:

R.<x> = QQ[]
f = 7*x+x^2+7*x^4+x^5
print( f.ord() (7*x+x^2+7*x^4+x^5).ord() )