field_inverse function
The inverse of an element of a finite field.
How to write it
field_inverse(field, a)
- field
- A finite field, such as finite_field(5). Takes an expression.
- a
- A nonzero element. Takes a whole number.
Examples
field_inverse(finite_field(5), 2)In the solver,
Open in the solverfield_inverse(finite_field(5), 2)gives3.
Related functions
- field_add
Sum of two elements of a finite field.
- permutation_inverse
The inverse of a permutation.
- group_elements
The elements of a group, as permutations in cycle notation.
- group_order
How many elements a group has.
- quaternion_norm
The norm of a quaternion.
- is_irreducible
Test whether a polynomial cannot be factored, over the rationals or modulo a prime.