Order
Note
Working with permutations? See Order (perumitations).
Computes the order of an element over a field, that is the times an element needs to be multiplied by itself to achieve the unit element.
Syntax
order(Element)
Description
Given an element of a field, returns its order.