Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 3 years ago

Max Alekseyev gravatar image

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

R.<x> = QQ[]
f = 7*x+x^2+7*x^4+x^5
print( f.ord() )
click to hide/show revision 2
No.2 Revision

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() )