<< gf_addition_table Operation tables gf_multiplication_table >>

Galois Fields >> Galois Fields > Operation tables > gf_division_table

gf_division_table

Division table of a prime field

Syntax

T = gf_division_table(F)

Arguments

F

A prime field GF(p) created by gf_create_field with n = 1.

T

The table: T(i, j) = i / j, for i, j = 1 .. p - 1; T is a (p - 1) × (p - 1) matrix (zero is left out).

Description

gf_division_table returns the full table of the operation in GF(p), computed modulo p. Only prime fields (n = 1) are supported; an error is raised for n > 1.

Examples

F = gf_create_field(5, 1);
gf_division_table(F)
// Result:
// 1 3 2 4
// 2 1 4 3
// 3 4 1 2
// 4 2 3 1

See also

History

VersionDescription
2.0.0

Refactoring of the function/toolbox.


Report an issue
<< gf_addition_table Operation tables gf_multiplication_table >>