This program computes the multiplication table for the finite field extension
The nine elements of the field
The program defines a struct F3x2
to represent elements in
-
a
: Coefficient of the constant term. -
b
: Coefficient of the$x$ term.
Multiplication of two elements is implemented in the multiply
function, taking into account the relation
To run the program, ensure you have Rust installed on your machine. (If Rust is not installed, follow the instructions on the official Rust website to install it). Then, use the following commands:
cargo build --release cargo run
The program will display the elements of the field and output the multiplication table in the console.
The multiplication table for
- If you intend to contribute to this project, fork the repository and make a pull request.
- Rust
git clone /~https://github.com/cypriansakwa/Multiplication_Table_for_Field_Extension_F_9.git
cd Multiplication_Table_for_Field_Extension_F_9