Skip to content

Commit

Permalink
Fix typo in power representation
Browse files Browse the repository at this point in the history
  • Loading branch information
mhostetter committed Aug 20, 2022
1 parent 6beb19b commit 60e2eb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/basic-usage/element-representation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ The power display mode represents the elements as powers of the finite field's p
For large fields (or fields using :ref:`explicit calculation <explicit-calculation>`), this process can take a while. However, when
using :ref:`lookup tables <lookup-tables>` this display mode is just as fast as the others.

In prime fields, the elements are displayed as :math:`\{0, \alpha, \alpha^2, \dots, \alpha^{p-2}\}`.
In prime fields, the elements are displayed as :math:`\{0, 1, \alpha, \alpha^2, \dots, \alpha^{p-2}\}`.

.. ipython:: python
Expand All @@ -143,7 +143,7 @@ In prime fields, the elements are displayed as :math:`\{0, \alpha, \alpha^2, \do
α = GF.primitive_element; α
α**23
In extension fields, the elements are displayed as :math:`\{0, \alpha, \alpha^2, \dots, \alpha^{p^m-2}\}`.
In extension fields, the elements are displayed as :math:`\{0, 1, \alpha, \alpha^2, \dots, \alpha^{p^m-2}\}`.

.. ipython:: python
Expand Down

0 comments on commit 60e2eb3

Please sign in to comment.