where C is a prime and C is the power of the prime such that C<<
$order = p ** n >> (the C part is omitted if it is equal to C<1>). For
example:
Math::GF->import_builder(5); # imports GF_5()
Math::GF->import_builder(8); # imports GF_2_3()
You can pass your own C in the C<%args> though:
Math::GF->import_builder(8, name => 'GF8'); # imports GF8()
The imported function is a wrapper around L:
my $one = GF_2_3(1);
my @some = GF_5(1, 3, 4);
Allowed keys in C<%args>:
=over
=item C<< level >>
by default the function is imported in the caller's package. This allows
you to alter which level in the call stack you want to peek for importing
the sub.
=item C<< name >>
the name of the method, see above for the default.
=back
=head2 B<< multiplicative_neutral >>
my $one = $GF->multiplicative_neutral;
the neutral element of the Galois Field with respect to the multiplication
operation. Same as C<< $GF>e(1) >>.
=head2 B<< n >>
my $power = $GF->n;
the L of a Galois Field must be a power of a prime L

, this
method provides the value of the power. E.g. if the I is C<8>, the
prime is C<2> and the power is C<3>.
=head2 B<< order >>
my $order = $GF->order;
the I of the Galois Field. Only powers of a single prime are
allowed.
=head2 B<< order_is_prime >>
my $boolean = $GF->order_is_prime;
the L of a Galois Field can only be a power of a prime, with the
special case in which this power is 1, i.e. the I itself is a prime
number. This method provided a true value in this case, false otherwise.
=head2 B<< p >>
my $prime = $GF->p;
the L of a Galois Field must be a power of a prime, this method
provides the value of the prime number. E.g. if the I is C<8>, the
prime is C<2> and the power is C<3>. See also L