field_add function
Sum of two elements of a finite field.
How to write it
field_add(field, a, b)
- field
- A finite field, such as finite_field(5). Takes an expression.
- a
- An element. Takes a whole number.
- b
- An element. Takes a whole number.
Examples
field_add(finite_field(5), 3, 4)In the solver,
Open in the solverfield_add(finite_field(5), 3, 4)gives2.
Related functions
- field_inverse
The inverse of an element of a finite field.
- quaternion_norm
The norm of a quaternion.
- group_elements
The elements of a group, as permutations in cycle notation.
- quaternion_multiply
The product of two quaternions.
- group_order
How many elements a group has.
- quaternion_conjugate
The conjugate of a quaternion.