You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is excellent. A great speed up, and it gives the right answer!
I would suggest adding the doctest
sage: K.<a, b> = NumberField([x^2 + x + 1, x^2 - 3])
sage: z = (a - 1)*b/3
sage: z.multiplicative_order()
12
because sage-3.4 says the order is +infinity.
sagetrac-fwclarkemannequin
changed the title
Improve efficiency of multiplcative_order() for number field elements
Improve efficiency of multiplicative_order() for number field elements
Mar 17, 2009
The attached patch vastly improves the efficiency of the multiplicative_order() function for number field elements. Before, this example:
would have required raising a to the power 2**40 (I'm serious). Now it just works (fast).
Component: number theory
Keywords: number field multiplicative order
Issue created by migration from https://trac.sagemath.org/ticket/5518
The text was updated successfully, but these errors were encountered: