The names of the functions in the MPFQ library (tend to)
follow the following pattern:
mpfq_FieldFamily_ObjectClass_Operation()
, where
FieldFamily
is a string (also called
TAG
) that defines the family
of fields for which this function is available. Examples:
2_128
, p_3
, pm_3_5_e
.
ObjectClass
is a string that gives the class of
objects the operation is acting on. It can be
field
, poly
, vec
...
It is omitted if the objects are elements in the base field.
Operation
is a string that identifies the
operation to be performed. Examples: mul
,
init
, print
...
For instance, the function mpfq_2_19_vec_init()
is
for initializing vectors of elements over the field
.
The function mpfq_p_2_mul()
is for multiplying elements
of prime fields, for which the prime p
fits in two machine word and coded in classical representation.