diff --git a/README.md b/README.md index efb20a0..eedcc25 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,28 @@ # Polynomial-Factorization -Command line program for polynomial factorization mod p^n \ No newline at end of file +**Command line program for polynomial factorization mod p^n** + +--- +## :clipboard: Usage Manual + +- The user selects an option from the menu: 2 = factorization, 1 = helper, 0 = exit +- After selecting the factorization, the user is prompted to enter any prime number and then a positive integer greater than 1 (this positive number determines the extension of the finite field *GF(p^n)*). +- In the next step, it is necessary to enter the mononic polynomial, which we will factorize. +- The screen displays an evaluation of whether the entered polynomial is reducible or irreducible. +- In the case of a reducible polynomial, the user is provided with a list of factors in a readable form as well as in a format provided by the [NTL](https://libntl.org/) library. + +

+App usage +

+ +### Help +- If the user selects a help option from the main menu, examples of the polynomial format used by the application are displayed. +- As we can see, the coefficients belonging to *x^0* to *x^n* are written in square brackets in this order. + +

+Help +

+ +--- +## :running: Running Polynomial-Factorization +